Authorizations
User token to authorize Cart and Checkout requests.
It is required to associate Cart with the User.
Path Parameters
The token is a unique string used to identify the target resource.
The wished item id
curl --request DELETE \
--url https://demo.spreecommerce.org/api/v2/storefront/wishlists/{token}/remove_item/{item_id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "1",
"type": "wished_item",
"attributes": {
"quantity": 3,
"price": "55.99",
"total": "167.97",
"display_price": "$55.99",
"display_total": "$167.97"
},
"relationships": {
"variant": {
"data": {
"id": "149",
"type": "variant"
}
}
}
}
}Removes a wished item from a wishlist.
curl --request DELETE \
--url https://demo.spreecommerce.org/api/v2/storefront/wishlists/{token}/remove_item/{item_id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "1",
"type": "wished_item",
"attributes": {
"quantity": 3,
"price": "55.99",
"total": "167.97",
"display_price": "$55.99",
"display_total": "$167.97"
},
"relationships": {
"variant": {
"data": {
"id": "149",
"type": "variant"
}
}
}
}
}User token to authorize Cart and Checkout requests.
It is required to associate Cart with the User.
The token is a unique string used to identify the target resource.
The wished item id
Was this page helpful?