Parameters
order
dictionary
payment_method_id
number
shipping_method_id
number
shipping_address_id
number
POST/products/v1/cart/checkout
bash
curl https://api.tradly.app/products/v1/cart/checkout \
-H "Authorization: Bearer YOUR_PUBLISHABLE_OR_SECRET_KEY" \
-H "Content-Type: application/json" \
-X POST \
-d '{
"order": {
"payment_method_id": 13,
"shipping_method_id": 12,
"shipping_address_id": 1681
}
}'RESPONSE
json
{
"status": true,
"data": {
"order_reference": "ORD-123456"
}
}