Bulk-set the status of basket offers
post/basket_offers/bulk_set_status/
Authorizations
AuthorizationstringRequired
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
Body
basket_offersinteger[]Required
Identifiers of the basket offers to change. Only offers whose current status is active or passive are accepted.
statusstring · enumRequiredPossible values:
The status applied to every targeted offer.
Responses
200
The statuses were changed. The response body is an empty object.
application/json
objectOptional
400
The request contains invalid or missing data.
application/json
401
Authentication credentials were not provided or are invalid.
application/json
403
The authenticated user does not have administrator privileges.
application/json
post/basket_offers/bulk_set_status/
POST /api/remote/1/basket_offers/bulk_set_status/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"basket_offers": [
1
],
"status": "active"
}{}Last updated
Was this helpful?

