Skip to main content
POST
Create or update subscription method

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

productId
integer<int64>
required

The Shopify product ID

Body

application/json
status
enum<string>
Available options:
enabled,
disabled
optionsAttributes
object[]

Response

The updated subscription method

id
integer<int64>
required
status
enum<string>
required
Available options:
enabled,
disabled
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
options
object[]
required