curl --request POST \
--url https://api.daraa.io/purchases \
--header 'Content-Type: application/json' \
--data '
{
"shopperId": "<string>",
"items": [
{
"sku": "<string>",
"name": "<string>",
"quantity": 123,
"unitPrice": 123,
"totalPrice": 123
}
],
"shippingAddress": {
"name": "<string>",
"street1": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"country": "<string>"
},
"paymentMethod": {
"type": "credit_card",
"lastFour": "<string>",
"brand": "<string>",
"expiryMonth": 123,
"expiryYear": 123
},
"billingAddress": {
"name": "<string>",
"street1": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"country": "<string>"
}
}
'