curl --request POST \
--url https://api.steamgold.dev/v1/pouch/{pouchId}/checkout \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "[email protected]",
"name": "<string>",
"phone": "<string>",
"comment": "<string>",
"delivery": {
"type": "door",
"rates": {
"tariff_code": 123,
"tariff_name": "<string>",
"tariff_description": "<string>",
"delivery_mode": 123,
"period_min": 123,
"period_max": 123,
"delivery_sum": 123
},
"address": {
"name": "<string>",
"postal_code": "<string>",
"country_code": "<string>",
"city": "<string>",
"city_code": 123,
"type": "<string>",
"have_cashless": true,
"have_cash": true,
"allowed_cod": true,
"is_dressing_room": true,
"code": "<string>",
"address": "<string>",
"work_time": "<string>",
"location": [
123
],
"position": [
123
],
"kind": "<string>",
"precision": "<string>",
"formatted": "<string>"
}
}
}
'