Endpoints
Last updated
Was this helpful?
Last updated
Was this helpful?
Gets a list of custom pages associated with the webstore. These contain a content
variable with the HTML content of the page.
/accounts/{token}/pages
The webstore identifier.
some-uuid
Gets a basket associated with the provided identifier.
/accounts/{token}/baskets/{basketIdent}
The webstore identifier.
t66x-7cd928b1e9312709e6810edac6dc1fd1eefc57cb
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2c
Creates a new basket for use during checkout.
/accounts/{token}/baskets
The webstore identifier.
t66x-7cd928b1e9312709e6810edac6dc1fd1eefc57cb
A URL the user can return to when checkout is completed.
https://example.tebex.io/thank-you
A URL the user can return to when cancelling checkout.
https://tebex.io/
True if the user should automatically be redirected to the relevant complete/cancel URL
true
Custom data you wish to associate with the basket. This data will be included with webhook responses and GET requests associated with the Basket.
{"foo":"bar"}
Fetches a basket's auth URL.
/accounts/{token}/baskets/{basketIdent}/auth?returnUrl={returnUrl}
The webstore identifier.
t66x-7cd928b1e9312709e6810edac6dc1fd1eefc57cb
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2c
The URL you would like to redirect the user to after successful basket authentication.
https://example.tebex.io/
Gets all categories from a webstore. This does not include package information. To include package information, add ?includePackages=1
to the URL.
/accounts/{token}/categories
The webstore identifier.
t66x-7cd928b1e9312709e6810edac6dc1fd1eefc57cb
Gets all categories from a webstore including packages.
/accounts/{token}/categories?includePackages=1
The webstore identifier.
t66x-7cd928b1e9312709e6810edac6dc1fd1eefc57cb
Gets information about a category and returns the packages in that category.
/accounts/{token}/categories/{categoryId}
The webstore identifier.
t66x-7cd928b1e9312709e6810edac6dc1fd1eefc57cb
The ID of the category to fetch.
127244343
Gets information about a category and returns the packages in that category.
/accounts/{token}/categories/{categoryId}?includePackages=1
The webstore identifier.
t66x-7cd928b1e9312709e6810edac6dc1fd1eefc57cb
The ID of the category to fetch.
127244343
Gets a package from a webstore by ID.
/accounts/{token}/packages/{packageId}
The webstore identifier.
t66x-7cd928b1e9312709e6810edac6dc1fd1eefc57cb
The package's ID.
1272441812
Gets all packages from a webstore.
/accounts/{token}/packages?ipAddress={ipAddress}
The webstore identifier.
t66x-7cd928b1e9312709e6810edac6dc1fd1eefc57cb
An IP address can be provided with authenticated requests.
127.0.0.1
Gets all packages from a webstore.
/accounts/{token}/packages?basketIdent={basketIdent}
The webstore identifier.
t66x-7cd928b1e9312709e6810edac6dc1fd1eefc57cb
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2c
Gets all packages from a webstore.
/accounts/{token}/packages?ipAddress={ipAddress}&basketIdent={basketIdent}
The webstore identifier.
t66x-7cd928b1e9312709e6810edac6dc1fd1eefc57cb
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2c
An IP address can be provided with authenticated requests.
127.0.0.1
Applies a creator code to a basket.
/accounts/{token}/baskets/{basketIdent}/creator-codes
The webstore identifier.
t66x-7cd928b1e9312709e6810edac6dc1fd1eefc57cb
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2c
Academy10
Applies a creator code to a basket.
/accounts/{token}/baskets/{basketIdent}/creator-codes/remove
The webstore identifier.
t66x-7cd928b1e9312709e6810edac6dc1fd1eefc57cb
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2c
No body
Applies a creator code to a basket.
/accounts/{token}/baskets/{basketIdent}/giftcards
The webstore identifier.
t66x-7cd928b1e9312709e6810edac6dc1fd1eefc57cb
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2c
0127 0244 7210 1111
Removes a gift card from the basket.
/accounts/{token}/baskets/{basketIdent}/giftcards/remove
The webstore identifier.
t66x-7cd928b1e9312709e6810edac6dc1fd1eefc57cb
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2c
0127 0244 7210 1111
No body
Applies a creator code to a basket.
/accounts/{token}/baskets/{basketIdent}/coupons
The webstore identifier.
t66x-7cd928b1e9312709e6810edac6dc1fd1eefc57cb
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2c
Academy10
Removes a coupon code from a basket
/accounts/{token}/baskets/{basketIdent}/coupons/remove
The webstore identifier.
t66x-7cd928b1e9312709e6810edac6dc1fd1eefc57cb
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2c
No body
Add a package with the given ID to the basket.
/baskets/{basketIdent}/packages
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2c
6276316
1
Remove the given package ID from the basket.
/baskets/{basketIdent}/packages/remove
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2c
6276316
Sets the quantity of the given item in the basket.
/baskets/{basketIdent}/packages/{packageId}
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2c
The package identifier.
6276316
1
No body