Delete a cart by ID
DELETE/v1/:id
Delete a cart by ID.
Request
Path Parameters
id stringrequired
Cart ID
Example: 9597879817
Responses
- 400
- 401
- 404
- 5XX
400 - Bad request
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
errors object[]
status floatrequired
detail stringnullablerequired
title stringrequired
{
"errors": [
{
"status": 400,
"detail": "",
"title": "Bad input request"
}
]
}
401 - Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
errors object[]
status floatrequired
detail stringnullablerequired
title stringrequired
{
"errors": [
{
"status": 401,
"detail": "",
"title": "Authentication information is missing or invalid"
}
]
}
404 - Not found
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
errors object[]
status floatrequired
detail stringnullablerequired
title stringrequired
{
"errors": [
{
"status": 404,
"detail": "",
"title": "Not Found"
}
]
}
500 - Unknown error
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
errors object[]
status floatrequired
detail stringnullablerequired
title stringrequired
{
"errors": [
{
"status": 500,
"detail": "",
"title": "Unknown error"
}
]
}
Loading...