Deactivate products
Changed onDeactivates one or more products. Deactivated products are no longer active but are not permanently deleted.
Request
- Base URLhttps://api.shipstation.com
- URLhttps://api.shipstation.com/v2/products/deactivate
- AuthAPI key in header api-key
Request body
Example request
{
"product_ids": [
10736794,
10736795
]
}Response
The products were deactivated successfully
Example response
{
"deactivated_product_ids": [
10736794,
10736795
],
"request_id": "1e051b3d-8753-4192-b415-4a0926fe0b00",
"errors": [
{
"error_source": "shipstation",
"error_type": "validation",
"error_code": "field_value_required",
"message": "product_ids is required.",
"field_name": "product_ids"
}
]
}Changes
- warning
added the new
bring_your_own_label_not_supportedenum value to the//response property for the response status - warning
added the new
bring_your_own_label_not_supportedenum value to the//response property for the response status - warning
added the new
multiple_sales_ordersenum value to the//response property for the response status - warning
added the new
multiple_sales_ordersenum value to the//response property for the response status - warning
added the new
sales_order_link_requiredenum value to the//response property for the response status - warning
added the new
sales_order_link_requiredenum value to the//response property for the response status
- warning
- breaking
the
/response's property type changed from no type toobjectfor status - breaking
the
/response's property type changed from no type toobjectfor status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
removed from the
/response propertyallOflist for the response status - info
removed from the
/response propertyallOflist for the response status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- breaking