For the complete documentation index, see llms.txt. This page is also available as Markdown.

[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


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

Products not found — HTTP 200

None of the given IDs exist for this shop.

Unexpected server error — HTTP 200

Last updated

Was this helpful?