quote Cart Total Management V1Collect Totals Put
PUT {{baseUrl}}/V1/carts/mine/collect-totals
Set shipping/billing methods and additional data for cart and collect totals.
Request Body
{"paymentMethod"=>{"method"=>"<string>", "additional_data"=>["<string>", "<string>"], "extension_attributes"=>{"agreement_ids"=>["<string>", "<string>"]}, "po_number"=>"<string>"}, "additionalData"=>{"custom_attributes"=>[{"attribute_code"=>"Excepteur enim", "value"=>"dolor dolor"}, {"attribute_code"=>"nisi velit", "value"=>"in aliquip"}], "extension_attributes"=>{"gift_messages"=>[{"sender"=>"<string>", "recipient"=>"<string>", "message"=>"<string>", "customer_id"=>"<integer>", "extension_attributes"=>{"entity_id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "entity_type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "wrapping_add_printed_card"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "wrapping_allow_gift_receipt"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "wrapping_id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "gift_message_id"=>"<integer>"}, {"sender"=>"<string>", "recipient"=>"<string>", "message"=>"<string>", "customer_id"=>"<integer>", "extension_attributes"=>{"entity_id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "entity_type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "wrapping_add_printed_card"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "wrapping_allow_gift_receipt"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "wrapping_id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "gift_message_id"=>"<integer>"}]}}, "shippingCarrierCode"=>"<string>", "shippingMethodCode"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
""