# Get Shipping Addresses source: https://developer.mastercard.com/digital-redemptions/documentation/use-cases/redemptions/get-shipping-addresses/index.md ## Overview {#overview} This use case provides the ability to retrieve existing customer shipping addresses. Shipping addresses are returned if they are associated with a redemption transaction that has occurred in the last 160 days. ### Why this endpoint {#why-this-endpoint} Use `GET /redemptions/addresses` before a merchandise redemption to offer the cardholder the addresses they used in the last 160 days, so they can pick one instead of typing it again. The response includes the `shippingAddressId` you pass as `deliveryAddressId` in [Create Redemptions](https://developer.mastercard.com/digital-redemptions/documentation/use-cases/redemptions/post-redemptions/index.md). If no address is returned, or the cardholder wants a new one, call [Create Shipping Addresses](https://developer.mastercard.com/digital-redemptions/documentation/use-cases/redemptions/post-shipping-addresses/index.md) first. Preconditions: * You hold a valid RANCU (Random Customer) for the cardholder. This endpoint is keyed by customer, not by account. * The cardholder has completed at least one shipped redemption in the last 160 days; otherwise the list is empty. ## Sequence diagram {#sequence-diagram} Diagram get-shipping-addresses ##### Execution steps {#execution-steps} 1. The consumer signs into the customer application. 2. The customer authenticates the consumer. 3. The customer sends a signed request to Digital Redemptions to retrieve shipping addresses used by the cardholder in the past 160 days. * The request to retrieve shipping addresses requires the following mandatory request parameters: * **user_id** : The identifier used to identify a user uniquely. * **user_id_type** : Type of the user or account identification. Supported identifier is RANCU. 4. Mastercard Network API Gateway authenticates and authorizes the customer and routes a valid request to Digital Redemptions. 5. The Digital Redemptions Service validates the request parameters received via the `GET /redemptions/addresses` endpoint. 6. The Digital Redemptions Service retrieves the shipping addresses. 7. The Digital Redemptions Service sends a `200` response with shipping addresses used by the cardholder in the past 160 days. 8. The Digital Redemptions Service sends a 4xx or 5xx status code for an invalid request. You will receive an error response for an invalid request or any missing request parameter. In that case, you need to update the input and perform step 3 again. ## Endpoint {#endpoint} API Reference: `GET /redemptions/addresses`