Skip to main content

Update location

PUT 

/v1/sellers/:sellerId/locations/:locationId

Replaces an existing address with the provided payload (full replacement semantics). Omitting an optional field clears its stored value.

This operation is idempotent — calling it multiple times with the same payload produces the same result.

Constraint: The locationType of an existing location cannot be changed after creation. Supplying a different locationType returns 422.

If isDefault: true is set, any previously default address of the same type is automatically demoted to non-default.

Request

Responses

Location updated successfully. No response body.