extensions / Commerce extension
POST
/__runtime/checkout/addressesCreate Checkout Address
Saves a new shipping address for the signed-in customer of a storefront project.
GETPOST
Authentication
- Requirement
- Not specified
- Credential type
- Not specified
- Scopes
- Not specified
Permissions
- Requires an authenticated storefront customer session.
Headers
| Name | Required | Type | Details |
|---|---|---|---|
Host | Yes | Not specified | Description: Value used by this operation. |
Cookie | Yes | Not specified | Description: Value used by this operation. |
Authorization | Yes | Not specified | Description: Bearer credential used to authenticate the request. |
Path Parameters
Query Parameters
Request Body
Schema: SaveAddressRequest
| Field | Required | Type | Details |
|---|---|---|---|
label | No | string | Description: Human-readable label. |
street | Yes | string | Description: Text value. |
city | Yes | string | Description: Text value. |
state | Yes | string | Description: Text value. |
zip | Yes | string | Description: Text value. |
country | Yes | string | Description: Text value. |
phone | No | string | Description: Text value. |
is_default | No | boolean | Description: Boolean flag. |
Response Body
Example 200 response
json
{
"id": 1,
"label": "Example",
"street": "string",
"city": "string",
"state": "string",
"zip": "string",
"country": "string",
"phone": "string",
"is_default": true
}Errors
400 BAD_REQUEST401 UNAUTHORIZED500 INTERNAL_SERVER_ERRORAvailability
- Available in
- v0.1.0
- Available since
- v0.1.0
- Implementation
- Available
- Deprecation
- Not specified
- Rate limits
- Not specified

