Endpoints
All endpoints for Headless API: for specific implementation guides see Guides
A URL the user can return to when checkout is completed.
https://example.tebex.io/thank-youA URL the user can return to when cancelling checkout.
https://tebex.io/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"}True if the user should automatically be redirected to the relevant complete/cancel URL
trueSuccessful response returns the basket information.
The provided webstore ID is invalid.
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2cThe URL you would like to redirect the user to after successful basket authentication.
https://example.tebex.io/Successful response returns the auth provider options and URLs of the sign-in link.
FiveMhttps://ident.tebex.io/The provided webstore ID or basket ID is invalid.
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2cThe username of the authenticated customer the packages are being created for.
TestUserThe ID of the dynamic category to populate.
1234Successful response confirms the dynamic packages were created.
Dynamic packages created successfully.The provided request is invalid. The error response will include detail as to which parameter failed validation.
76561198042467020Successful response returns a list of category information.
Successful response returns a list of category information.
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2cSuccessful response returns a list of category information.
Successful response returns a list of category information.
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2cSuccessful response returns the category without package information.
Successful response returns the category without package information.
The ID or slug of the category to fetch.
127244343Successful response returns the category with package information.
Successful response returns the category with package information.
The ID or slug of the category to fetch.
1234The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2cSuccessful response returns the category with package information.
Successful response returns the category with package information.
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2cSuccessful response returns a list of package information.
The provided request is invalid.
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2cAn IP address can be provided with authenticated requests.
127.0.0.1Successful response returns a list of package information.
The provided request is invalid.
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2cAcademy10Successful response returns a success object
trueCreator code applied successfullyThe provided request is invalid. The error response will include detail as to which parameter failed validation.
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2cCreator code removed successfully.
No content
The provided request is invalid. The error response will include detail as to which parameter failed validation.
No content
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2c0127 0244 7210 1111Successful response returns a success message.
trueGift card applied successfullySuccessful response returns a success message.
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2c0127 0244 7210 1111Gift card removed successfully.
No content
The provided request is invalid. The error response will include detail as to which parameter failed validation.
No content
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2cAcademy10Successful response returns a success message.
trueCoupon applied successfullySuccessful response returns a success message.
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2cAcademy10Successful response.
No content
The provided request is invalid. The error response will include detail as to which parameter failed validation.
No content
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2c62763161Set to true when adding a package that belongs to a dynamic category. When omitted, the API acts as if a normal package ID was provided.
trueSuccessful response.
2441276171a-55fff4107740a1f40d844ff89607557f45bfafb3falsesupport@tebex.ioThe creator code is used to share a percentage of the payment with another party. See more about creator codes at https://docs.tebex.io/creators/tebex-control-panel/engagement/creator-codes
https://tebex.iofalseA two-character country code
US127.0.0.11272441.270.111.38A 3 character currency code
USD{"foo":"bar","ref":1234}The provided request is invalid. The error response will include detail as to which parameter failed validation.
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2c6276316Successful response returns the basket.
2441276171a-55fff4107740a1f40d844ff89607557f45bfafb3falsesupport@tebex.ioThe creator code is used to share a percentage of the payment with another party. See more about creator codes at https://docs.tebex.io/creators/tebex-control-panel/engagement/creator-codes
https://tebex.iofalseA two-character country code
US127.0.0.11272441.270.111.38A 3 character currency code
USD{"foo":"bar","ref":1234}The provided request is invalid. The error response will include detail as to which parameter failed validation.
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2c1Successful response.
No content
The provided request is invalid. The error response will include detail as to which parameter failed validation.
No content
The tier identifier
62763166834822Successful response.
trueTier successfully upgraded, please allow a few moments for your changes to take effect.Successful response.
Last updated