# Create Shipping Addresses source: https://developer.mastercard.com/digital-redemptions/documentation/use-cases/redemptions/post-shipping-addresses/index.md ## Overview {#overview} This use case creates a shipping address for a customer. You can associate the returned shipping address ID with a new redemption. Merchandise redemptions typically require shipping addresses. ### Why this endpoint {#why-this-endpoint} Use `POST /redemptions/addresses` when a merchandise redemption needs a delivery address and the cardholder has no stored address, or wants to ship to a new one. The response returns a `shippingAddressId` that you send as `deliveryAddressId` in the [Create Redemptions](https://developer.mastercard.com/digital-redemptions/documentation/use-cases/redemptions/post-redemptions/index.md) request. Check [Get Shipping Addresses](https://developer.mastercard.com/digital-redemptions/documentation/use-cases/redemptions/get-shipping-addresses/index.md) first so you do not create duplicates. Preconditions: * You hold a valid RANCU (Random Customer) for the cardholder. * The redemption type is `MERCHANDISE`; cashback and travel redemptions do not need a shipping address. ## Sequence diagram {#sequence-diagram} Diagram post-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 create a shipping address for a given user. * The request to create a shipping address requires the following mandatory request parameters: * **userId** : The identifier used to identify a user uniquely. * **userIdType** : Type of the user or account identification. Supported identifier is RANCU. * **phoneNumber** : Cardholder's home phone number. * **countryCode** : Country code of the shipping address. * **shippingName** : The descriptive name given to the shipping address. * **city** : City of the shipping address. 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 `POST /redemptions/addresses` endpoint. 6. The Digital Redemptions Service creates the shipping address. 7. The Digital Redemptions Service sends a `200` response with a unique shippingAddressId. 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: `POST /redemptions/addresses`