API Reference

Swap line

Rate limit: 10/ sec

Log in to see full request history

❗️

These docs are for a deprecated API version. Visit here to refer the latest API docs.

Body Params
string
required

The Shopify ID of the contract

string
required

The GraphQL ID of the line to swap

string
required

The Shopify ID of the new product

string
required

"OLD" - The same price and subscription discounts as the old product will be applied on the new product. "NEW" - The price shall be updated to reflect the price of the new product and subscription discounts will be taken from the subscription plans as configured for the new product on the Loop platform

Responses

Language
Credentials
Request
Click Try It! to start a request and see the response here! Or choose an example:
application/json