Deactivate a product collection
Soft-deletes the collection by setting is_active to false. The record is not removed and can be reactivated with PATCH /product_collections/{id}/ sending {"is_active": true}.
delete/product_collections/{id}/
Authorizations
AuthorizationstringRequired
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
Path parameters
idintegerRequired
The unique identifier of the product collection.
Responses
204
The collection was deactivated successfully. No response body.
No content
401
Authentication credentials were not provided or are invalid.
application/json
403
The authenticated user does not have administrator privileges.
application/json
404
The requested product collection does not exist.
application/json
delete/product_collections/{id}/
DELETE /api/v1/remote/1/product_collections/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
No content
Last updated
Was this helpful?

