This endpoint allows you to update an existing customer address.

put/2023-10/address/{addressId}

Request

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

Path parameters

addressIdinteger required

The unique identifier or an address in Loop.

Request body

firstNamestring
lastNamestring required
phonestring
companystring
address1string required
address2string
citystring required
provinceCodestring
countryCodestring required
zipstring required
updateSubscriptionAddress'"SIMILAR"' | '"NONE"'

Response

200

successboolean
messagestring
codestring
pageInfounknown

Example response

{
  "success": true,
  "message": "Address updated successfully",
  "data": {
    "id": 697475,
    "firstName": "John",
    "lastName": "Doe",
    "address1": "Street2334",
    "city": "Michigan",
    "zip": "48001",
    "countryCode": "US",
    "provinceCode": "MI"
  },
  "code": "SUCCESS"
}

Changes

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      the response's property type changed from no type to object for status

    • warning

      removed the request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      removed the non-success response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status