---
title: "UpdateShippingStatus"
method: POST
path: "/v2/UpdateShippingStatus"
tags: ["Shipping"]
---

# UpdateShippingStatus

`POST /v2/UpdateShippingStatus`

## Request

- Base URL: `https://apitest.myfatoorah.com`
- URL: `https://apitest.myfatoorah.com/v2/UpdateShippingStatus`
- Auth: HTTP bearer

Updates the status of shipping orders supported by the MyFatoorah Shipping Module for either DHL or ARAMEX. Use this endpoint to change the status of shipping invoices.

## Request body

- object
  - `ShippingMethod` 1 | 2, required: 1 for DHL, 2 for ARAMEX
  - `InvoiceNumbers` integer[]: A list of the invoice IDs to update their status
  - `OrderStatusChangedTo` 0 | 1 | 2 | 3 | 4: The status to change to: 0 for Pending Status, 1 for Prepared Status, 2 for RequestPickup Status, 3 for Picked Status, 4 for Delivered Status

## Response `200`

Successful response

- object
  - `IsSuccess` boolean: Indicates if the request was successful
  - `Message` string: Response message
  - `FieldsErrors` unknown[]: List of validation errors if any
    - unknown
  - `Data` object: Shipping status update result
    - `ShippingOrder` object[]: Array of shipping order status updates
      - `OrderNumber` integer: The MyFatoorah order ID
      - `OrderStatus` string: The updated order status

---

[API](https://skmtc.dev/myfatoorah/apis/myfatoorah-api-v2.md) - [All operations](https://skmtc.dev/myfatoorah/apis/myfatoorah-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/myfatoorah/apis/myfatoorah-api-v2/revisions/4c0c2a3af558?raw)
