POST api/Carts/Create?idCustomer={idCustomer}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| idCustomer | integer |
Required |
Body Parameters
Cart| Name | 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": "2026-02-05T05:40:39.6188564+01:00",
"UpdatedAt": "2026-02-05T05:40:39.6188564+01: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>