[POST] Toggle continue selling
* Authentication
Required Authorization
Limit throttle:30,1
Endpoint [POST] - /shop-api/pre-order/products/toggle-continue-selling
Headers
Authorization
Yes
Shop public API key Bearer token
Content-Type
Yes
application/json
1. Request Payload
variant_ids
array
Yes max:100
Shopify variant IDs (min 1). Must already exist in the shop’s pre-order products table.
variant_ids.*
integer | string
Yes
Each variant ID
oos
string
Yes
ON or OFF
oos
Meaning
ON
Enable continue selling (inventory_policy → CONTINUE)
OFF
Disable continue selling (inventory_policy → DENY)
Example — turn ON
{"variant_ids": [4567890123456, 4567890123457],"oos": "ON"}Example — turn OFF
2. Success Response 200
Turn ON
Turn OFF
3. Response Keys & Fields
Top-level
success
boolean
true when the toggle completes
variant_ids
array
Echo of the requested variant_ids
message
string
Success message based on oos
Request field reference
variant_ids
array
Shopify variant IDs to toggle
oos
ON | OFF
Target continue-selling state
Related local / Shopify values
Layer
oos = ON
oos = OFF
Shopify inventory_policy
CONTINUE
DENY
Local product policy
CONTINUE
DENY
4. Failed Response
Validation error — HTTP 200
Products not found — HTTP 200
Unexpected server error — HTTP 200
Last updated
Was this helpful?