Returns the payment method for a specified shopping cart.
GET /V1/carts/mine/selected-payment-method HTTP/1.1 Host: {{baseurl}} Accept: */*
OK
{ "method": "<string>", "po_number": "<string>", "additional_data": [ "<string>", "<string>" ], "extension_attributes": { "agreement_ids": [ "<string>", "<string>" ] } }
Adds a specified payment method to a specified shopping cart.
application/json
{"method":{"method":"<string>","po_number":"<string>","additional_data":["<string>","<string>"],"extension_attributes":{"agreement_ids":["<string>","<string>"]}}}
PUT /V1/carts/mine/selected-payment-method HTTP/1.1 Host: {{baseurl}} Content-Type: application/json Accept: */* Content-Length: 162 { "method": { "method": "<string>", "po_number": "<string>", "additional_data": [ "<string>", "<string>" ], "extension_attributes": { "agreement_ids": [ "<string>", "<string>" ] } } }
ad fugiat