Skip to main content
PUT
Add a line item to a subscription contract

Query Parameters

contractId
integer<int64>
required

The subscriptionContractId of the customer's subscription.

quantity
integer<int32>
required

How many to add. It must be at least the store's minimum quantity for adding products.

variantId
string
required

The product variant to add, as a Shopify variant GID.

isOneTimeProduct
boolean
default:false

true adds the product to the next order only, as a separate line. false (the default) adds it to every order.

Response

200 - */*

OK

billingAttempts
object
billingPolicy
object
createdAt
object
customAttributes
object[]
customer
object
customerPaymentMethod
object
deliveryMethod
object
deliveryPolicy
object
deliveryPrice
object
discounts
object
get__typename
string
id
string
lastPaymentStatus
enum<string>
Available options:
SUCCEEDED,
FAILED,
$UNKNOWN
lines
object
nextBillingDate
object
note
string
originOrder
object
revisionId
object
status
enum<string>
Available options:
ACTIVE,
PAUSED,
CANCELLED,
EXPIRED,
FAILED,
$UNKNOWN
updatedAt
object