POST
Auth Required
Create Order
Create a new order with validation.
https://hoodsly-moc-api.wppool.dev/api/v1/order/create
Request Body
JSON
{
"title": "Order #12345",
"order_id": "WC-12345",
"origin": "wordpress",
"order_total": "2800",
"order_status": "pending",
"estimated_shipping_date": "2026-02-15",
"vendor": "HoodslyHub",
"order_shop": "Shop A",
"shipping_method": "UPS",
"priority": "No",
"data": {
"billing": {
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@example.com",
"phone": "(555) 123-4567",
"address_1": "123 Main St",
"address_2": "Apt 4B",
"city": "New York",
"state": "NY",
"postcode": "10001",
"country": "US"
},
"shipping": {
"first_name": "John",
"last_name": "Doe",
"address_1": "123 Main St",
"address_2": "Apt 4B",
"city": "New York",
"state": "NY",
"postcode": "10001",
"country": "US"
},
"payment_method": "credit_card",
"payment_method_title": "Credit Card",
"set_paid": true,
"customer_note": "Please handle with care",
"shipping_lines": {
"method_id": "ups_ground",
"method_title": "UPS Ground",
"total": 25.00
},
"line_items": {
"line_items": [
{
"product_id": "PROD-001",
"product_name": "Ventilation Hood",
"product_cat": "ventilation",
"product_catName": "Ventilation",
"sku_gen": {
"key": "vh-001",
"value": "VH-001"
},
"quantity": 1,
"item_total": 1400.00,
"item_total_tax": 100.00,
"product_img_url": "https://example.com/image.jpg"
}
]
}
}
}
Response
201 Created
{
"success": true,
"data": {
"message": "Order created successfully",
"order": {
"id": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
"order_id": "WC-12345",
"title": "Order #12345",
"order_status": "pending",
"created_at": "2026-01-06T12:00:00Z"
}
},
"message": null
}
Request
GET
/api/v1/status
Response