Create subscription

POST

https://api.pack.cloud/v1/organizations/{organizationId}/billing/subscriptions

Request

Path parameters

organizationIdstring

Payload

plan_idstringrequired
ID of the plan
plan_tier_idstringrequired
ID of the tier
recurring_payments_acceptedbooleanrequired
terms_and_conditions_acceptedbooleanrequired

Response

Created

Body

idstring
ID of the subscription
plan_idstring
ID of the plan
plan_tier_idstringnull
ID of the tier
is_trialboolean
statusstring
Status of the subscription
Allowed values:canceledpendingscheduledactivesuspendedexpired
current_cycle_started_atstringnull
Current billing cycle started at
current_cycle_ends_atstringnull
Current billing cycle ends at
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
canceled_atstringnull
Time of cancellation request
expired_atstring
Current expiration time of subscription

Meld je aan voor onze nieuwsbrief

Blijf op de hoogte van de laatste ontwikkelingen en trends op het gebied van logistiek en ecommerce.