Update address on subscription

Changed on

This endpoint allows you to update the shipping address associated with the subscription.

put/2023-10/subscription/{subscriptionId}/address

Request

  • Base URL
    https://api.loopsubscriptions.com/storefront
  • URL
    https://api.loopsubscriptions.com/storefront/2023-10/subscription/{subscriptionId}/address
  • Auth
    API key in header Authorization

Path parameters

subscriptionIdinteger required

The unique identifier for a subscription in Loop.

Request body

firstNamestring
lastNamestring required
phonestring

Mandatory if phone is required in store -> settings/checkout -> customer information -> shipping address phone number

companystring
address1string required
address2string
citystring required
provinceCodestring
countryCodestring required
zipstring

Response

200

Changes

    • info

      api operation id update-subscription-address removed and replaced with change-address

    • info

      for the path request parameter subscriptionId, the format was generalized from int32 to int64