Skip to main content

Create Order

The order is added to the platform and can be viewed in the orders section. To create an order, you need to take the following steps:

  1. Create buy requests for the products/devices you want to purchase.
  2. Ensure that the shipping address is available in the addresses section.
  3. Generate shipping rates for the shipping address and buy requests.
  4. Validate the order to see the subtotal, insurance, warranty and shipping fees, as well as ensure the order can be processed further. Make sure to note down the orderMetaId from this step.
  5. Create an order using the orderMetaId from the previous step.

POST   /v1/orders/create
curl -X POST "https://api.ezewholesale.com/api/v1/orders/create" \
-H "x-api-key:your-api-key" \
-H 'Content-Type: application/json' \
-d '{"orderMetaId":"82c1857b-2fcd-43be-b7a6-eb0aa366180f"}'


RESPONSE
{
  "status": 200,
  "description": "Order created! Kindly make payment to complete the order. Attach the order number as Memo/Special instruction.",
  "data": {
    "orderNo": "1732552987869",
    "amount": "1474.00",
    "wirePaymentDetails": {
      "international": {
        "payeeName": "Eze Technologies Inc",
        "routingNo": "322271724",
        "accNo": "208235531 (Citi Bank)",
        "accType": "Business Checking",
        "bankAddress": "100 Citibank Drive, San Antonio, TX 78245",
        "specialInstruction": "",
        "address": "4943 McConnell Ave, Suite W, Los Angeles, CA 90066",
        "swiftCode": "CITIUS33"
      },
      "local": {
        "payeeName": "Eze Technologies",
        "routingNo": "121145349",
        "accNo": "795578334462860 (Column NA - Brex)",
        "accType": "Business Checking",
        "bankAddress": "1110 Gorgas Ave Suite A4-700, San Francisco, CA 94129",
        "specialInstruction": "",
        "address": "8 10th Street 1701, San Francisco, CA 94103"
      }
    }
  }
}