Endpoints
Purchase an offering
Purchases a pre-defined offering by placing it on the customer’s current tab.
Depending on the customer’s existing relationship with Supertab they may be required to make purchases in a specific currency. Check /customers/me for information on what currency the customer makes purchases in.
If the new purchase causes the tab to become full a payment is required before the purchase will complete.
POST
Required Scopes
capi:write
- Write access to Customer API resources
Headers
The version of the Customer API you are using.
Your Client ID with Supertab. Used to identify the website on which Customer is making a Purchase.
Examples:
"live_client.4df706b5-297a-49c5-a4cd-2a10eca12ff9"
"test_client.4df706b5-297a-49c5-a4cd-2a10eca12ff9"
Body
application/json
Response
201
application/json
Successful Response
The response is of type object
.