Delete Customer Cart Association
DELETE/v2/carts/:cartID/relationships/customers
You can delete an association between a customer and a cart.
Request
Path Parameters
cartID stringrequired
The ID for the cart created by the customer.
Header Parameters
x-moltin-customer-token string
A customer token to access a specific customer's carts.
- application/json
Body
- Array [
- ]
data undefined[]
id string
The ID of the customer.
type string
The type of related object. Ensure that it is customer.
Responses
- 204
- 401
No Content
Response Headers
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
detail string
status string
title string
[
null
]
{
"errors": {
"status": 401,
"title": "Unauthorized"
}
}
Loading...