Recurly Commerce API DocumentationSubscriptions APICopy PageCreate Subscriptionpost https://subs.api.recurlycommerce.com/api/v1/subscriptionsCreate a subscriptionRecent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Body ParamsdeliveryCadenceCountnumberrequireddeliveryCadenceUnitstringenumrequiredHOURDAYMONTHWEEKYEARAllowed:HOURDAYMONTHWEEKYEARbillingCadenceCountnumberrequiredbillingCadenceUnitstringenumrequiredHOURDAYMONTHWEEKYEARAllowed:HOURDAYMONTHWEEKYEARcustomAttributesarray of objectscustomAttributesADD objectsubscriberIdstringrequiredsubscriptionOfferIdstringrequiredThe internal id of the subscription plan (subscription offer) this subscription belongs to. Every line must belong to this plan.deliveryFirstNamestringRequired unless the subscription plan is digital-only (no shipping needed).deliveryLastNamestringRequired unless the subscription plan is digital-only (no shipping needed).deliveryAddress1stringRequired unless the subscription plan is digital-only (no shipping needed).deliveryAddress2string | nulldeliveryCountrystringRequired unless the subscription plan is digital-only (no shipping needed).deliveryCountryCodestringdeliveryProvincestring | nulldeliveryProvinceCodestringdeliveryCitystringRequired unless the subscription plan is digital-only (no shipping needed).deliveryZipstringRequired unless the subscription plan is digital-only (no shipping needed).deliveryPhonestringThe delivery phone number. Required unless the subscription plan is digital-only.deliveryCompanystring | nullpaymentMethodExternalIdstringrequiredThe shopify payment method IDlinesarray of objectsrequiredlines*ADD objectdiscountCodestring | nullResponse 200Successfully created subscription contractUpdated 5 months ago List SubscriptionsGet Subscriptions CountDid this page help you?YesNo