/V2/guest/checkout/cod/toggle
Guest Quote Id
{{guestToken}}
{"billingData":{"sameAsShipping":"1"},"paymentInformation":{"payment_method":"cashondelivery"}}
curl -L \ --request POST \ --url 'https://beta.magento.pixiedia.com/V2/guest/checkout/cod/toggle' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json' \ --data '{ "billingData": { "sameAsShipping": "1" }, "paymentInformation": { "payment_method": "cashondelivery" } }'
No body