Skip to main content

Register a synthetic shopper

POST 

/shoppers

RegisterShopper. The email is unique, compared case-insensitively; a duplicate is refused with 409 shopper-exists (ErrShopperExists).

Request​

Responses​

Shopper registered.

Response Headers
    Location

    Relative URI of the registered shopper, /shoppers/{shopperId}.

    Idempotency-Replayed

    "true" when the answer is the stored one of an earlier request with the same Idempotency-Key (a stored 2xx or a stored final 4xx answer, replayed with its original status and body); absent on the first execution. A refusal that a retry could pass (a RETRYABLE problem type, see the Idempotency-Key parameter) and a 5xx are never stored.