Skip to main content
GET
Retrieve raw Shopify GraphQL response for a subscription contract

Headers

X-API-Key
string
required

API Key for authentication

Query Parameters

api_key
string

API Key (Deprecated - Use X-API-Key header instead)

contractId
integer<int64>
required

The unique identifier of the subscription contract. Use the numeric ID without the 'gid://shopify/SubscriptionContract/' prefix. For example, use '26833420451' instead of 'gid://shopify/SubscriptionContract/26833420451'.

Required range: x >= 1

Response

Successfully retrieved raw contract data

subscriptionContract
object