extensions / Commerce extension
PATCH
/__runtime/checkout/addresses/{id}Update Checkout Address
Updates one of the signed-in customer's saved shipping addresses for a storefront project.
PATCHDELETE
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
| Name | Required | Type | Details |
|---|---|---|---|
id | Yes | Not specified | Description: Identifier for the resource. |
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 UNAUTHORIZED404 NOT_FOUND500 INTERNAL_SERVER_ERRORAvailability
- Available in
- v0.1.0
- Available since
- v0.1.0
- Implementation
- Available
- Deprecation
- Not specified
- Rate limits
- Not specified

