[DELETE] Delete product
* Authentication
Required Authorization
Limit throttle: 30,1
Endpoint DELETE - /shop-api/pre-order/products/delete
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Shop public API key Bearer token |
Content-Type | Yes | application/json |
1. Request Payload
| Field | Type | Required | Description |
|---|---|---|---|
ids | array | Yes max:100 | Product line DB IDs to delete (min 1) |
ids.* | integer | string | Yes | Each line ID from List Products |
Example — delete one line
{"ids": [5012]}Example — bulk delete
{"ids": [5012, 5013, 5014]}2. Success Response 200
{"success": true,"message": "Product deleted"}3. Response Keys & Fields
Top-level
| Key | Type | Description |
|---|---|---|
success | boolean | true when delete succeeds |
message | string | Success message |
Request field reference
| Field | Type | Description |
|---|---|---|
ids | array | Internal product-line IDs (products.id), not Shopify IDs |
4. Failed Response
Validation error — HTTP 200
{"success": false,"message": {"ids": ["The ids field is required."]}}Products not found — HTTP 200
None of the given IDs exist for this shop.
{"success": false,"message": "Products not found"}Unexpected server error — HTTP 200
{"success": false,"message": "Something went wrong"}Was this helpful?
Thanks for your feedback! Tell us what was missing
Report an issue