Simple Order API | Visa Platform Connect

Edit or Delete a Shipping Address

Use the
TMS
API in your e-wallet app to edit or delete a customer's shipping address.
  1. To get all addresses, call:
    GET /tms/v2/customers/{customerTokenId}/shipping-address.

    ADDITIONAL INFORMATION

    The first record is the default.
  2. To add an address, call:
    POST /tms/v2/customers/{customerTokenId}/shipping-addresses
    .

    ADDITIONAL INFORMATION

    This adds a non-default shipping address. If it is the customer's first address, it becomes the default address.
  3. To edit an address, call:
    PATCH /tms/v2/customers/{customerTokenId}/shipping-addresses/{shippingAddressTokenId}
    .
  4. To delete an address, call:
    DELETE /tms/v2/customers/{customerTokenId}/shipping-addresses/{shippingAddressTokenId}.
  5. To set an address as the default address, call:
    PATCH /tms/v2/customers/{customerTokenId}/shipping-addresses/{shippingAddressTokenId}
    and set the value of the request field
    default
    to
    true
    .