Skip to main content

Authentication

All Partner API requests require two credentials: a Partner Key and a Developer Key, both sent as HTTP headers.

Credentials

CredentialDescriptionHeader
Partner KeyIdentifies the partner integrationx-api-key
Developer KeyAuthenticates the developer/applicationAuthorization

Partner Key

The Partner Key is sent via the x-api-key HTTP header:

x-api-key: YOUR_PARTNER_KEY

Both x-api-key and X-API-Key are accepted.

Developer Key

The Developer Key is sent via the Authorization HTTP header:

Authorization: YOUR_DEVELOPER_KEY

Consumer User Context (Optional)

Some endpoints support or require a Consumer UID (cuid) to operate in the context of a specific consumer user. This is sent as a header or query parameter:

cuid: CONSUMER_USER_ID

Endpoints that require cuid are marked in their documentation.

Example Request

curl -X GET \
"https://api.partners.blaze.me/api/v1/partner/store" \
-H "x-api-key: YOUR_PARTNER_KEY" \
-H "Authorization: YOUR_DEVELOPER_KEY" \
-H "Content-Type: application/json"

Store Context

Most endpoints operate within the context of a specific store, which is determined by the Developer Key. The Developer Key is associated with a specific Company and Shop. Ensure your keys are configured for the correct store before making requests.