curl --request POST \
--url https://api.example.com/v1/tools/commerce/buy \
--header 'Content-Type: application/json' \
--data '
{
"product_url": "<string>",
"shipping_address": {
"first_name": "<string>",
"last_name": "<string>",
"street": "<string>",
"street2": "<string>",
"city": "<string>",
"state": "<string>",
"zip_code": "<string>",
"country": "<string>",
"phone": "<string>",
"email": "<string>"
},
"quantity": 123,
"variant_id": "<string>"
}
'