Salla Docs
Merchant API
Partner APIs
Storefront
Salla CLI
Salla Docs
    Light Mode

    Create Shipment

    POST/shipments
    Last modified: 2 months ago

    This endpoint allows you to create a shipment related to your store directly from this endpoint.

    `shipping.read_write`- Shipping Read & Write

    Request

    Body Params application/json
    No schema defined
    Example
    Not configured

    Request samples

    Responses

    Success(200)
    Validation Error(422)
    HTTP Code: 200
    Content Type : JSONapplication/json
    Data Schema
    No schema defined
    Example
    {
      "status": "anim",
      "success": false,
      "data": [
        {
          "id": -32645125.3234493,
          "order_id": 93507000.57084745,
          "order_reference_id": null,
          "created_at": {
            "date": "2024-02-12T14:09:27.127Z",
            "timezone_type": 70745330,
            "timezone": "America/Sao_Paulo"
          },
          "type": "shipment",
          "courier_id": 8948698,
          "courier_name": "esse numquam doloribus",
          "courier_logo": "cupidatat fugiat qui id tempor",
          "shipping_number": "velit est",
          "tracking_number": "sint ad minim cillum",
          "pickup_id": null,
          "trackable": true,
          "tracking_link": "https://high-level-footstep.name",
          "label": {
            "format": "2024-02-13T00:46:47.084Z",
            "url": "http://wasteful-facet.name"
          },
          "payment_method": "pre_paid",
          "source": "tempor",
          "status": "delivered",
          "total": {
            "amount": -87094298.04461335,
            "currency": "SHP"
          },
          "cash_on_delivery": {
            "amount": 42126404.63522267,
            "currency": "ILS"
          },
          "is_international": false,
          "total_weight": {
            "value": -57799137.09990661,
            "units": "mollit laboris fugiat pariatur consectetur"
          },
          "packages": [
            {
              "item_id": 62924221,
              "external_id": null,
              "name": "explicabo dolores nesciunt",
              "sku": "dolore non sed est incididunt",
              "price": {
                "amount": 88829593.05470765,
                "currency": "SOS"
              },
              "quantity": -32542040,
              "weight": {
                "value": 38160911,
                "units": "kg"
              }
            }
          ],
          "ship_from": {
            "type": "id",
            "name": "laudantium ullam earum",
            "email": "[email protected]",
            "phone": "(065) 723-2847",
            "country": "ليبيريا",
            "city": "عجمان",
            "address_line": "Excepteur",
            "street_number": null,
            "block": null,
            "postal_code": null,
            "latitude": 8.5867,
            "longitude": -69.9668,
            "branch_id": -1346031
          },
          "ship_to": {
            "type": "dolor veniam dolor",
            "name": "eligendi accusantium eum",
            "email": "[email protected]",
            "phone": "453.850.0142 x8168",
            "country": "بهماس",
            "city": "الإسكندرية",
            "address_line": "ad sunt dolor",
            "street_number": "37934 جادة بركات",
            "block": "sunt aliquip deserunt Ut",
            "postal_code": "Duis sit do proident occaecat",
            "latitude": -39.1654,
            "longitude": 93.9262
          },
          "meta": {
            "app_id": 3349694,
            "policy_options": {
              "shipment_content_type": [
                "document"
              ],
              "packaging_type": [
                "pallet"
              ],
              "boxes": -69384132
            }
          }
        }
      ]
    }
    Last modified: 2 months ago