Save an address for the cookie's shopper
POST/me/addresses
Relays customer-ordering POST /shoppers/{shopperId}/addresses. The address passes through; it is never stored or logged here.
Request
Responses
- 201
- 400
- 404
- 409
- 413
- 422
- 503
- 504
The upstream answer to a keyed command, relayed unchanged.
Response Headers
Present, with the value true, only when the answer is a replay of a stored one (any upstream write hop of the composition was replayed).
A 400 problem: idempotency-key-required, idempotency-key-invalid, unknown-query-parameter, invalid-limit, invalid-cursor (relayed from the provider) or malformed-request (a NUL character in the query string or body, or an unreadable body).
An RFC 9457 problem. Upstream problems are relayed unchanged; the edge adds validation-failed, session-required, malformed-request, payload-too-large, upstream-unavailable (503), gateway-timeout (504), route-not-allowed (500), internal-error (500) and client-closed-request (499, the caller went away). Any route also answers 404 resource-not-found for a path it does not serve (or one containing NUL) and 405 method-not-allowed for a wrong method.
A 409 problem relayed from the provider: a business conflict, or idempotency-key-reused when the same Idempotency-Key was sent with a different request (method, path or body). The BFF passes it through unchanged.
A 413 payload-too-large problem from the edge: the request body is over 1 MiB (checked before any upstream call).
An RFC 9457 problem. Upstream problems are relayed unchanged; the edge adds validation-failed, session-required, malformed-request, payload-too-large, upstream-unavailable (503), gateway-timeout (504), route-not-allowed (500), internal-error (500) and client-closed-request (499, the caller went away). Any route also answers 404 resource-not-found for a path it does not serve (or one containing NUL) and 405 method-not-allowed for a wrong method.
An RFC 9457 problem. Upstream problems are relayed unchanged; the edge adds validation-failed, session-required, malformed-request, payload-too-large, upstream-unavailable (503), gateway-timeout (504), route-not-allowed (500), internal-error (500) and client-closed-request (499, the caller went away). Any route also answers 404 resource-not-found for a path it does not serve (or one containing NUL) and 405 method-not-allowed for a wrong method.
An RFC 9457 problem. Upstream problems are relayed unchanged; the edge adds validation-failed, session-required, malformed-request, payload-too-large, upstream-unavailable (503), gateway-timeout (504), route-not-allowed (500), internal-error (500) and client-closed-request (499, the caller went away). Any route also answers 404 resource-not-found for a path it does not serve (or one containing NUL) and 405 method-not-allowed for a wrong method.