Addresses
Saved shipping and billing addresses of the signed-in customer.
Every method here needs a signed-in customer. Sign one in with the authentication methods first.
Gets every saved address of the signed-in customer.
ReturnsPromise<CustomerAddress[]>
The saved addresses. The array is empty when the customer has none.
List the addresses
Creates a new saved address for the signed-in customer. Pass the new id to
subbly.cart.update as shippingAddressId or billingAddressId.
Method parameters
payloadRequiredAddressStorePayloadThe address to save.
ReturnsPromise<CustomerAddress>
The saved address.
Add an address
Deletes a saved address. The call fails when the address is still attached to a subscription.
Method parameters
addressIdRequirednumberID of the address to delete.
ReturnsPromise<void>
Nothing. The response body is empty.
Delete an address