Remove product variants to a selling plan

Remove multiple product variants from a selling plan

delete

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 · enumOptional

Optional. Inventory policy to set for the removed variants. CONTINUE allows overselling, DENY prevents it.

Possible values:
Header parameters
X-Auth-TokenstringRequired

API key for authentication

Responses
chevron-right
200

Variants removed successfully

application/json
delete
/preorders/{id}/remove_variant

Last updated