curl --request POST \
--url http://localhost:3000/v1/orders/test \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"sellable_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"quantity": 2
}
],
"customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"notes": "<string>"
}
'{
"success": true,
"order": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"order_number": "<string>",
"status": "<string>",
"total_amount": 123,
"item_count": 123
}
}Creates a test order for development and testing purposes.
curl --request POST \
--url http://localhost:3000/v1/orders/test \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"sellable_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"quantity": 2
}
],
"customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"notes": "<string>"
}
'{
"success": true,
"order": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"order_number": "<string>",
"status": "<string>",
"total_amount": 123,
"item_count": 123
}
}