Creates an order - with price
POST {{baseUrl}}/v1/orders
Creates an order in the placed
state. To create a draft
order, create an estimate first.
Request Body
{"total_price"=>500, "currency"=>"USD"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Patch-Version | number |
RESPONSES
status: Created
{"success":false,"error":{},"data":{"id":"nisi dolore nulla proident officia","mass_g":1705040866,"production":false,"state":"draft","allocation_state":"pending","price_cents_usd":"labore","patch_fee_cents_usd":"ullamco est ut","allocations":[{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"production":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"mass_g":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"production":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"mass_g":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"metadata":{}}}