Create ready-made customers
Sandbox only: send it to https://api-staging.joulo.nl (pick the Sandbox server). Creates one customer per state, attributed to you. Each appears in GET /partner/customers as a customer you uploaded, with an external_ref such as FIXTURE-APPROVED-WITH-ERE.
Partner API key, sent as Authorization: Bearer <key>. Production keys start with jpk_live_ and work only on https://api.joulo.nl. Sandbox keys start with jpk_test_ and work only on https://api-staging.joulo.nl. Sandbox keys minted before September 2026 also start with jpk_live_. A key used on the wrong host returns 401 with a detail. A key is bound to one partner and reaches only the Partner API routes. Any other route returns 404 when it does not exist. A route that needs a scope the key lacks, such as GET /sessions, returns 403 with error: Insufficient scope and a required_scope. Every other route returns 403 with error: partner_api_key_scope. Mint and revoke keys in the partner portal. A partner has one active key at a time.
In: header
The states to create. All six when absent.
Response Body
curl -X POST "https://api.joulo.nl/functions/v1/api/sandbox/v1/fixtures" \
-H "Content-Type: application/json" \
-d '{}'{
"fixtures": [
{
"state": "string",
"ok": true,
"account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
"email": "string",
"ean": "string",
"sync": {
"ok": true,
"sessions_created": 0,
"error": "string"
},
"error": "string"
}
]
}{
"error": "string",
"detail": "string",
"step": "string",
"reason": "string",
"draft_status": "string"
}{
"error": "Missing or invalid API token"
}{
"error": "string",
"detail": "string",
"step": "string",
"reason": "string",
"draft_status": "string"
}