Collect totals
Set shipping/billing methods and additional data for cart and collect totals.
put
/V1/carts/mine/collect-totals
Header parameters
Content-Typestring
Example:
application/json
Body
object
Example:
{"paymentMethod":{"method":"<string>","po_number":"<string>","additional_data":["<string>","<string>"],"extension_attributes":{"agreement_ids":["<string>","<string>"]}},"shippingCarrierCode":"<string>","shippingMethodCode":"<string>","additionalData":{"extension_attributes":{"gift_messages":[{"sender":"<string>","recipient":"<string>","message":"<string>","gift_message_id":"<integer>","customer_id":"<integer>","extension_attributes":{"entity_id":"cillum enim Excepteur","entity_type":"laborum elit veniam est"}},{"sender":"<string>","recipient":"<string>","message":"<string>","gift_message_id":"<integer>","customer_id":"<integer>","extension_attributes":{"entity_id":"ullamco sed exercitation labore","entity_type":"do tempor nulla dolore proident"}}]},"custom_attributes":[{"attribute_code":"exercitation incididunt in","value":"aliquip"},{"attribute_code":"qui","value":"anim eiusmod enim ea"}]}}
Responses
application/json
application/json
application/json
cURL
JavaScript
Python
HTTP
200
401
500