POST api/Carts/Create?idCustomer={idCustomer}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
idCustomer | integer |
Required |
Body Parameters
CartName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
IdCustomer | integer |
None. |
|
CreatedAt | date |
None. |
|
UpdatedAt | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "IdCustomer": 2, "CreatedAt": "2025-06-25T16:50:22.6805963+02:00", "UpdatedAt": "2025-06-25T16:50:22.6805963+02:00" }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>