---
updatedAt: 2026-10-29T11:54:48.000Z
agentTools:
  projectIndex: https://docs.yotpo.com/llms.txt
---

# Update order fulfillment

Updates an order fulfillment in your Yotpo store.

> 👍 How to use this endpoint
>
> * Required parameters are listed below. For the full list of properties, see [About order fulfillments](https://docs.yotpo.com/reference/order-fulfillments).
> * To see an example request, click **Examples** in the payload on the right.
> * To skip a parameter, enter "null" or exclude it from the payload.

> 📘 The fulfillment is identified by the IDs in the path, so its `external_id` can't be changed.

> 📘 App partners
>
> Partner apps call this endpoint at `PATCH https://developers.yotpo.com/core/v3/stores/{store_id}/orders/{yotpo_order_id}/fulfillments/{yotpo_fulfillment_id}`, with the access token the merchant's install gave you in the `X-Yotpo-Token` header. See [Authenticating with OAuth 2.0](https://docs.yotpo.com/docs/authenticating).
>
> You don't need this endpoint for fulfillment updates the store's e-commerce platform already has. For example, if a shipping provider updates Shopify directly, Yotpo reads the fulfillment status from there.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Yotpo API V3",
    "description": "Yotpo API V3 endpoints on api.yotpo.com. Webhook events are defined separately, in webhooks.json.",
    "version": "3.0"
  },
  "servers": [
    {
      "url": "https://api.yotpo.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "X-Yotpo-Token": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Yotpo-Token",
        "description": "Your Yotpo account access token. See [Authentication](https://core-api.yotpo.com/reference/yotpo-authentication) to learn how to generate your access token."
      }
    },
    "responses": {
      "Unauthorized": {
        "description": "Unauthorized. The access token is missing, invalid or expired. With an invalid or expired `X-Yotpo-Token` the body is plain text: generate a new token with [Generate access token](ref:yotpo-authentication). A request with an `Authorization` header and no `X-Yotpo-Token` gets `Bad token; invalid JSON` as JSON: send the token in `X-Yotpo-Token`. An `Authorization` header sent along with a valid `X-Yotpo-Token` is ignored.",
        "content": {
          "text/plain": {
            "schema": {
              "type": "string",
              "example": "unauthorized"
            }
          },
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "message": {
                  "type": "string",
                  "description": "Error message.",
                  "example": "Bad token; invalid JSON"
                }
              }
            },
            "examples": {
              "Authorization header without X-Yotpo-Token": {
                "value": "{\n  \"message\": \"Bad token; invalid JSON\"\n}"
              }
            }
          }
        }
      },
      "Forbidden": {
        "description": "Forbidden. The request has no `X-Yotpo-Token` header.",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "message": {
                  "type": "string",
                  "description": "Error message.",
                  "example": "Forbidden"
                }
              }
            },
            "examples": {
              "Missing token": {
                "value": "{\n  \"message\": \"Forbidden\"\n}"
              }
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "X-Yotpo-Token": []
    }
  ],
  "paths": {
    "/core/v3/stores/{store_id}/orders/{yotpo_order_id}/fulfillments/{yotpo_fulfillment_id}": {
      "patch": {
        "summary": "Update order fulfillment",
        "description": "Updates an order fulfillment in your Yotpo store.",
        "operationId": "update-order-fulfillment",
        "parameters": [
          {
            "name": "store_id",
            "in": "path",
            "description": "The store ID (app_key).",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "yotpo_order_id",
            "in": "path",
            "description": "The Yotpo ID for the order. This ID is created automatically upon creation of the order. You can find it by using the Retrieve endpoint.",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "yotpo_fulfillment_id",
            "in": "path",
            "description": "The Yotpo ID for the order fulfillment. This ID is created automatically upon creation of the fulfillment. You can find it by using the Retrieve endpoint.",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "fulfillment"
                ],
                "properties": {
                  "fulfillment": {
                    "type": "object",
                    "description": "The fulfillment fields to update.",
                    "properties": {
                      "fulfillment_date": {
                        "type": "string",
                        "description": "The date the fulfillment was created. Format must be ISO 8601. Required for sending review requests.",
                        "format": "date-time"
                      },
                      "status": {
                        "type": "string",
                        "description": "The status of the fulfillment. Must be set to `success` for review requests to be sent.",
                        "enum": [
                          "pending",
                          "open",
                          "success",
                          "cancelled",
                          "error",
                          "failure"
                        ]
                      },
                      "shipment_info": {
                        "type": "object",
                        "description": "The shipping info object.",
                        "properties": {
                          "shipment_status": {
                            "type": "string",
                            "description": "The current shipment status of the fulfillment.",
                            "enum": [
                              "label_printed",
                              "label_purchased",
                              "attempted_delivery",
                              "ready_for_pickup",
                              "confirmed",
                              "in_transit",
                              "out_for_delivery",
                              "delivered",
                              "failure"
                            ]
                          },
                          "tracking_company": {
                            "type": "string",
                            "description": "The name of the tracking company."
                          },
                          "tracking_url": {
                            "type": "string",
                            "description": "The URL of the tracking page for the shipment."
                          },
                          "tracking_number": {
                            "type": "string",
                            "description": "The tracking number as provided by the shipping company."
                          }
                        }
                      },
                      "fulfilled_items": {
                        "type": "array",
                        "description": "Information about the specific items fulfilled (i.e. product and quantity). Providing a fulfillment with an external product ID that is not included in the order will result in a bad request.",
                        "items": {
                          "type": "object",
                          "required": [
                            "external_product_id",
                            "quantity"
                          ],
                          "properties": {
                            "external_product_id": {
                              "type": "string",
                              "description": "The merchant's unique ID for the product."
                            },
                            "quantity": {
                              "type": "integer",
                              "description": "The quantity actually fulfilled."
                            }
                          }
                        }
                      }
                    },
                    "minProperties": 1
                  }
                }
              },
              "examples": {
                "Update Order Fulfillment": {
                  "value": {
                    "fulfillment": {
                      "fulfillment_date": "2022-12-06T15:48:22Z",
                      "status": "success",
                      "shipment_info": {
                        "shipment_status": "delivered",
                        "tracking_company": "DHL",
                        "tracking_url": "https://www.dhl.com/us-en/home/tracking.html",
                        "tracking_number": "6827231234"
                      },
                      "fulfilled_items": [
                        {
                          "external_product_id": "23234",
                          "quantity": 1
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK. The response has no body."
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"errors\": [\n    {\n      \"message\": \"fulfillment_date must be supplied\"\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "message": {
                            "type": "string",
                            "example": "fulfillment_date must be supplied",
                            "description": "What's wrong with the request, usually naming the missing or invalid field. Meant for logs; the wording can change, so don't parse it."
                          }
                        }
                      },
                      "description": "The validation errors. Usually one item."
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"errors\": [\n    {\n      \"message\": \"fulfillment not found\"\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "message": {
                            "type": "string",
                            "example": "fulfillment not found",
                            "description": "Says which object wasn't found. Meant for logs; the wording can change, so don't parse it."
                          }
                        }
                      },
                      "description": "The errors. Usually one item."
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "409",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"errors\": [\n    {\n      \"message\": \"{} already exists\"\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "message": {
                            "type": "string",
                            "example": "{} already exists",
                            "description": "Says that an object with the same identifier already exists."
                          }
                        }
                      },
                      "description": "The errors. Usually one item."
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "value": "application/json",
        "key": "Content-Type"
      }
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```

# Sibling pages

* [About orders](https://docs.yotpo.com/reference/orders.md)
* [Create order](https://docs.yotpo.com/reference/create-order.md)
* [Update order](https://docs.yotpo.com/reference/update-order.md)
* [Retrieve orders](https://docs.yotpo.com/reference/retrieve-orders.md)
* [Retrieve order by ID](https://docs.yotpo.com/reference/retrieve-order-by-id.md)
* [About order fulfillments](https://docs.yotpo.com/reference/order-fulfillments.md)
* [Create order fulfillment](https://docs.yotpo.com/reference/create-order-fulfillment.md)
* [Retrieve order fulfillments](https://docs.yotpo.com/reference/retrieve-order-fulfillments.md)
* [Retrieve fulfillment by ID](https://docs.yotpo.com/reference/retrieve-fulfillment-by-id.md)
* [About aggregated order info](https://docs.yotpo.com/reference/aggregated-order-info.md)
* [Send aggregated order info](https://docs.yotpo.com/reference/send-aggregated-order-info.md)