Collect totals
Set shipping/billing methods and additional data for cart and collect totals for guest.
Path parameters
cartIdstringRequiredExample:
(Required) The cart ID.
<string>Header parameters
Content-TypestringOptionalExample:
application/jsonBody
objectOptionalExample:
{"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
200
OK
application/json
Responseobject
500
Internal Server Error
application/json
put
/V1/guest-carts/{cartId}/collect-totals