4b69392f93b9
Apply shopper to cart
Sets the payment method, billing address, and shipping address for a cart using the information configured for the shopper. <br> <br> <b>Note</b>: Using this method requires an authenticated shopper token. <br> <br> If you need to update the address for an anonymous shopper, use the PUT shoppers/me/carts/active/billing-address or PUT shoppers/me/carts/active/shipping-address method in the Billing and Shipping Address API.
Query parameters
Provide the authorized token for the shopper.
Provide the identifier for the shopper's address resource associated with their billing address. Digital River uses the shopper's default address if you do not provide a value.
Provide the payment option identifier for a payment method. Digital River uses the shopper's payment option if you do not provide a value.
Provide the identifier for the shopper's address resource associated with their billing or shipping addresses. Digital River uses the shopper's default address as the shopper's shipping address if you do not provide an identifier for the shopper's billing or shipping address.
Use the expand query parameter when you want additional fields to appear in the response. The expand query parameter provides more fields in the response. Expanding resources reduces the number of API calls required to accomplish a task.
Specify the fields that you want to appear in the response. Filtering the fields returned in the response can conserve bandwidth and accelerate response time.
Response
Successful response.