Deactivate a data source shipping option
Performs a soft delete: sets is_active to false on the binding and returns 204 No Content. The record is kept with its calculator, rule and sort order intact, and continues to appear in list and retrieve results with is_active: false.
Because the record is kept, the shipping option stays bound to the data source. Reactivate the binding by setting is_active to true with a PATCH request — this restores it with its original configuration and is the recommended way to bring a delivery method back, instead of creating a new record for the same pairing.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the data source shipping option.
The data source shipping option was deactivated successfully. No response body.
No content
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested data source shipping option does not exist.
DELETE /api/v1/remote/1/data_source_shipping_options/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
No content
Last updated
Was this helpful?

