# Update Order Status source: https://developer.mastercard.com/traditional-fulfillment-service/documentation/use-cases/update-order-statuses/index.md This API is used by an external vendor to provide order status. Use this operation to keep reward order status in sync when an outside vendor ships or issues the item, so the loyalty program can show accurate shipping and delivery progress to consumers and servicing agents. ## Pre-requisites {#pre-requisites} Following is the pre-requisite for the customer to use this endpoint: After an order is initiated by Mastercard with an external vendor for fulfillment, external vendors have the capability to utilize this API to provide updates on the current status of the orders, which will then be communicated back to Mastercard. ## Why This Endpoint {#why-this-endpoint} Use `POST /vendors/{vendor_id}/orders/status` when you are the fulfilling vendor and you need to report progress on orders that Mastercard already placed with you. This is the only operation that writes data back to Mastercard, so the catalog and item operations cannot be used for status reporting. It is a `POST` rather than a `GET` for that reason. The `vendor_id` in the path identifies you as the vendor, and the order status array in the body decides which orders are updated, so send only the orders whose status has changed. Check the response before you treat the update as complete, because the service returns any order it could not apply with its own `status` and `errorCode`. ## Sequence Diagram {#sequence-diagram} Diagram update-order-statuses ##### Following are the execution steps: {#following-are-the-execution-steps} 1. The external vendor sends a signed request to the Loyalty Traditional Fulfillment Service for reward items. 2. The request for order update requires the following list of mandatory request parameters: * vendor_id in request parameter * OrderStatusArray as a part of request body 3. Mastercard API Gateway authenticates/authorizes the customer and routes the request to the Loyalty Traditional Fulfillment Service in the case of a valid request. 4. The Loyalty Traditional Fulfillment Service validates the request parameters received via the `/vendors/{vendor_id}/orders/status` endpoint. 5. The Loyalty Traditional Fulfillment Service updates the order status 6. The Loyalty Traditional Fulfillment Service sends a response with orders detail (200). 7. The Loyalty Traditional Fulfillment Service sends a response with a status code of 4xx/5xx in case of an invalid request. You will receive an error response for an invalid request or any missing request parameter. In that case, you need to update the input and perform step 3 again. ### Endpoint {#endpoint} API Reference: `GET /vendors/{vendor_id}/orders/status` Note: For more information about the error codes, refer to the [Code and Formats](https://developer.mastercard.com/traditional-fulfillment-service/documentation/code-and-formats/index.md) section.