Skip to main content
GET
Get all product swaps for a shop

Headers

X-API-Key
string
required

API Key for authentication

Query Parameters

ruleName
string
sourceVariants
string
destinationVariants
string

Response

The product swap rules that match the filters

shop
string
required
carryDiscountForward
boolean
changeNextOrderDateBy
integer<int32>
checkForEveryRecurringOrder
boolean
destinationVariants
string
discountCarryForward
enum<string>
Available options:
NONE,
EXISTING_PLAN,
PRODUCT_PLAN,
PRODUCT_THEN_EXISTING
forBillingCycle
integer<int32>
id
integer<int64>
name
string
ruleSequence
integer<int32>
sourceVariants
string
stopSwapEmails
boolean
updatedFirstOrder
boolean