Create order
Create order
Endpoint
POST /api/v1/orders
Parameters
Not provided in the generated specification.
Request Schema
{
"title": "Body",
"body": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"productId": {
"type": "string"
},
"quantity": {
"type": "integer"
},
"deliveryAddressId": {
"type": "string"
},
"shippingOption": {
"type": "string"
}
}
}
}
}
}
}
Response Codes
{
"responses": {
"200": {
"description": "Created order"
}
}
}