Jahzha
    Jahzha
    • Jahzha API Documentation
    • User Credentials
      POST
    • Create Order
      POST

      Create Order

      Developing
      POST
      https://company.jahzha.com.sa/api/v1/create-order
      Create a new order. This endpoint accepts order details such as customer info, products, and amounts, and stores them in the system. Authentication via API credentials is required

      Request

      Query Params

      Header Params

      Body Params multipart/form-data

      Responses

      🟢200Success
      application/json
      Body

      🟠422Validation Error
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST 'https://company.jahzha.com.sa/api/v1/create-order?API-KEY=edb978c4aca4c748c493e47980324023336b3bc806de43f6acf7024ee1b28331' \
      --header 'Accept: application/json' \
      --form 'store_name="salla"' \
      --form 'customer_name="Mostafa"' \
      --form 'customer_email="mostafa@jahzha.com"' \
      --form 'customer_phone_number="96650000000"' \
      --form 'customer_address="jeddah 12-st"' \
      --form 'customer_city="jeddah"' \
      --form 'customer_country="saudi arabia"' \
      --form 'customer_address_latitude="21.492500"' \
      --form 'customer_address_longitude="39.177570"' \
      --form 'product_weight="15"' \
      --form 'product_length="14"' \
      --form 'product_height="12"' \
      --form 'product_width="14"' \
      --form 'product_price="135"' \
      --form 'cod_value="0"' \
      --form 'add_pickup="NO"'
      Response Response Example
      200 - Success
      {
          "status_code": 200,
          "message": "Order created successfully",
          "data": [],
          "additional_data": []
      }
      Modified at 2025-09-11 10:30:02
      Previous
      User Credentials
      Built with