POST api/subscriptions/{subscriptionId}/addresses/{addressId}/type/{addressTypeId}
Sets the specified existing address as either billing or shipping address for the specified subscription.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
subscriptionId |
The ID of the subscription for which to set the billing/shipping address. |
integer |
Required |
addressId |
The ID of the address to set as billing/shipping address for the subscription. Use 0 or the customer's ID to indicate the customer's legal address. |
integer |
Required |
addressTypeId |
The type of address to set (billing or shipping). |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Nothing.
None.