v1

latestOpenAPI 3.1.02026-07-241120379.1 KB

Swap line on subscription

put/2023-10/giftSubscription/{subscriptionId}/line/{lineId}/swap

Path parameters

subscriptionIdstring required

Loop ID of the subscription

lineIdstring required

Loop ID of the line to be swap

Request body

variantShopifyIdinteger

Shopify ID of the new variant

Response

200

successboolean
messagestring
{"stackTrail":"paths:/2023-10/giftSubscription/{subscriptionId}/line/{lineId}/swap:put:responses:200:content:application/json:schema:properties:data","oasType":"schema","type":"unknown"}
codestring
{"stackTrail":"paths:/2023-10/giftSubscription/{subscriptionId}/line/{lineId}/swap:put:responses:200:content:application/json:schema:properties:pageInfo","oasType":"schema","type":"unknown"}

Example response

{
  "success": true,
  "message": "Line swapped successfully",
  "code": "SUCCESS"
}