Jahzha
    Jahzha
    • Jahzha API Documentation
    • User Credentials
      POST
    • Create Order
      POST
    • Get Offers
      POST
    • Create Shipment
      POST
    • Get Shipment By ID
      GET

      Create Shipment

      Developing
      POST
      https://company.jahzha.com.sa/api/v1/create-shipment
      Create Shipment
      This endpoint is responsible for creating a new shipment in the system
      based on the provided shipment and company information.
      It validates the request data, creates the shipment record, and returns
      the created shipment details upon success.
      Authentication is required using API Key and Secret Key headers.

      Request

      Header Params

      Body Params multipart/form-data

      Responses

      🟠422Validation Error
      application/json
      Body

      🟠401unAutunauthorized
      🟢200Success
      🟠400Invalid request
      🟠404Not Found
      🟠402Payment Required
      🟠403Forbidden
      🟢201Shipment Created Successfully
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST 'https://company.jahzha.com.sa/api/v1/create-shipment' \
      --header 'Accept: application/json' \
      --header 'API-KEY: dc7b2bewr9448b4568dff5d7a6954d3abde42880439d3c300a0580766bc15a30c4a' \
      --header 'SECRET-KEY: sk_ezBd33WdSJUf8GWgf4oBaeyNf38RMejiYXqkxCmxSMtWj' \
      --header 'Accept-Language: en' \
      --form 'shipping_company_id="6"' \
      --form 'shipment_id="1272"'
      Response Response Example
      422 - Validation Error
      {
          "status_code": 422,
          "message": "The selected Shipment type is invalid.",
          "data": [],
          "additional_data": []
      }
      Modified at 2026-02-01 12:12:57
      Previous
      Get Offers
      Next
      Get Shipment By ID
      Built with