Admin Customers
Set a customer address as the default
Set a customer address as the default
post/customers/{customerId}/addresses/{id}/set-default
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
customerIdinteger required
Customer ID
idinteger required
Address ID
Request body
object required
Response
The address is now the default; all other addresses for the customer are unset.
Changes
No recorded changes to this operation across all 8 revisions of this API.