Providers
/providersList this brand's custom integration providers.
Authorization
bearerAuth Brand Data API key issued for your Custom E-Com integration, sent as Authorization: Bearer <key>.
In: header
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/providers"{ "data": [ { "id": "string", "key": "bask", "name": "Bask", "lookupId": "ezLUu3AC28uEa3qb4tTE4", "sourceTemplateKey": "string", "isEnabled": true, "settings": null } ]}{ "error": "string"}{ "error": { "code": "conversation_not_found", "message": "string" }}{ "error": { "code": "conversation_not_found", "message": "string" }}{ "error": { "code": "conversation_not_found", "message": "string" }}{ "error": { "code": "conversation_not_found", "message": "string" }}/providersCreate a provider and mint its credentials. The API key and webhook secret are returned EXACTLY ONCE, in this response, and can never be retrieved again.
Authorization
bearerAuth Brand Data API key issued for your Custom E-Com integration, sent as Authorization: Bearer <key>.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/providers" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "data": { "id": "string", "key": "bask", "name": "Bask", "lookupId": "ezLUu3AC28uEa3qb4tTE4", "sourceTemplateKey": "string", "isEnabled": true, "settings": null, "apiKey": "string", "webhookSecret": "string", "webhookUrl": "string" }}{ "error": "string"}{ "error": { "code": "conversation_not_found", "message": "string" }}{ "error": { "code": "conversation_not_found", "message": "string" }}{ "error": { "code": "conversation_not_found", "message": "string" }}{ "error": { "code": "conversation_not_found", "message": "string" }}{ "error": { "code": "conversation_not_found", "message": "string" }}{ "error": { "code": "conversation_not_found", "message": "string" }}/providers/{providerId}Fetch one provider owned by this brand. Never returns the API key or webhook secret.
Authorization
bearerAuth Brand Data API key issued for your Custom E-Com integration, sent as Authorization: Bearer <key>.
In: header
Path Parameters
Provider id.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/providers/string"{ "data": { "id": "string", "key": "bask", "name": "Bask", "lookupId": "ezLUu3AC28uEa3qb4tTE4", "sourceTemplateKey": "string", "isEnabled": true, "settings": null }}{ "error": "string"}{ "error": { "code": "conversation_not_found", "message": "string" }}{ "error": { "code": "conversation_not_found", "message": "string" }}{ "error": { "code": "conversation_not_found", "message": "string" }}{ "error": { "code": "conversation_not_found", "message": "string" }}/providers/{providerId}Sparse update of name, isEnabled, and settings. Settings are MERGED into the stored bag, so sending only request_mapping cannot drop the type_matchers routing table.
Authorization
bearerAuth Brand Data API key issued for your Custom E-Com integration, sent as Authorization: Bearer <key>.
In: header
Path Parameters
Provider id.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/providers/string" \ -H "Content-Type: application/json" \ -d '{}'{ "data": { "id": "string", "key": "bask", "name": "Bask", "lookupId": "ezLUu3AC28uEa3qb4tTE4", "sourceTemplateKey": "string", "isEnabled": true, "settings": null }}{ "error": { "code": "conversation_not_found", "message": "string" }}{ "error": "string"}{ "error": { "code": "conversation_not_found", "message": "string" }}{ "error": { "code": "conversation_not_found", "message": "string" }}{ "error": { "code": "conversation_not_found", "message": "string" }}{ "error": { "code": "conversation_not_found", "message": "string" }}