Remove product variants to a selling plan
Remove multiple product variants from a selling plan. Optionally, you can also update the inventory policy of the removed variants in the same request to avoid making separate API calls.
When inventory_policy is provided, the inventory policy update is performed synchronously (inline) for better performance and to avoid race conditions.
Authorizations
X-Auth-TokenstringRequired
Path parameters
idstringRequired
Selling plan ID
Query parameters
shopify_variant_idsinteger[]Required
Array of Shopify variant IDs to remove
inventory_policystring · enumOptionalPossible values:
Optional. Inventory policy to set for the removed variants. CONTINUE allows overselling, DENY prevents it.
Header parameters
X-Auth-TokenstringRequired
API key for authentication
Responses
200
Variants removed successfully
application/json
400
Bad request - missing or invalid parameters
application/json
401
Unauthorized
404
Selling plan or variants not found
application/json
422
Failed to remove variants or invalid inventory policy
application/json
delete
/preorders/{id}/remove_variantPreviousAdd product variants to a selling planNextUpdate variant specific settings for a selling plan
Last updated