curl --request POST \
--url https://api.ongoody.com/v1/order_batches/price \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"send_method": "direct_send",
"recipients": [
{
"first_name": "Alena",
"last_name": "Kenter",
"email": "[email protected]",
"mailing_address": {
"first_name": "Alena",
"last_name": "Kenter",
"address_1": "140 E 55th St",
"address_2": "",
"city": "New York",
"state": "NY",
"postal_code": "10022",
"country": "US"
}
}
],
"cart": {
"items": [
{
"product_id": "e5a5356b-8b1d-4537-b93a-bfbf1cc67043",
"quantity": 1
}
]
}
}'