---
updatedAt: 2026-06-19T16:07:00.000Z
---

# Fulfillments (WooCommerce)

<p>Woocommerce Does not support partial fulfillments this means that you can not send items in this payload or if you send them they wont be taken into account. The order will receive a full fulfillment and all items in the order will be marked as fulfilled.</p><p>Creates an order's fulfillment.<br></p>

**Important information:**

*   **The order's ID must exist**

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "WooCommerce"
  },
  "servers": [
    {
      "url": "https://api.ecartapi.com/api/v2"
    }
  ],
  "paths": {
    "/orders/{orderId}/fulfillments": {
      "post": {
        "summary": "Fulfillments (WooCommerce)",
        "description": "<p>Woocommerce Does not support partial fulfillments this means that you can not send items in this payload or if you send them they wont be taken into account. The order will receive a full fulfillment and all items in the order will be marked as fulfilled.</p><p>Creates an order's fulfillment.<br></p>\n\n**Important information:**\n\n*   **The order's ID must exist**",
        "operationId": "create_orders_fulfillment_woocommerce",
        "responses": {
          "200": {
            "description": "Fulfillment created successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true
                    },
                    "fulfillment": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "FTdddNFEAVgVyaqEt3"
                        },
                        "shippingMethod": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "nullable": true
                            },
                            "service": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        "tracking": {
                          "type": "object",
                          "properties": {
                            "number": {
                              "type": "string",
                              "example": "987654321"
                            },
                            "url": {
                              "type": "string",
                              "example": "https://shipping.xyz/track.php?num=123456789"
                            },
                            "company": {
                              "type": "string",
                              "example": "FedEx"
                            }
                          }
                        },
                        "status": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "nullable": true
                            },
                            "status": {
                              "type": "string",
                              "example": "success"
                            },
                            "shipment": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object"
                          }
                        },
                        "packages": {
                          "type": "array",
                          "items": {
                            "type": "object"
                          }
                        },
                        "dates": {
                          "type": "object",
                          "properties": {
                            "createdAt": {
                              "type": "string",
                              "nullable": true
                            },
                            "updatedAt": {
                              "type": "string",
                              "nullable": true
                            },
                            "shippedAt": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "OK": {
                    "summary": "OK",
                    "value": {
                      "success": true,
                      "fulfillment": {
                        "id": "FTdddNFEAVgVyaqEt3",
                        "shippingMethod": {
                          "id": null,
                          "service": null
                        },
                        "tracking": {
                          "number": "987654321",
                          "url": "https://shipping.xyz/track.php?num=123456789",
                          "company": "FedEx"
                        },
                        "status": {
                          "id": null,
                          "status": "success",
                          "shipment": null
                        },
                        "items": [],
                        "packages": [],
                        "dates": {
                          "createdAt": null,
                          "updatedAt": null,
                          "shippedAt": null
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "orderId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the order."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "fulfillment": {
                    "type": "object",
                    "properties": {
                      "shippingMethod": {
                        "type": "string",
                        "example": "Name"
                      },
                      "shippingMethodId": {
                        "type": "string",
                        "example": "1234"
                      },
                      "tracking": {
                        "type": "object",
                        "properties": {
                          "number": {
                            "type": "string",
                            "example": "987654321"
                          },
                          "company": {
                            "type": "string",
                            "example": "FedEx"
                          },
                          "url": {
                            "type": "string",
                            "example": "https://shipping.xyz/track.php?num=123456789"
                          }
                        }
                      }
                    }
                  }
                }
              },
              "examples": {
                "New Example": {
                  "summary": "New Example",
                  "value": {
                    "fulfillment": {
                      "shippingMethod": "Name",
                      "shippingMethodId": "1234",
                      "tracking": {
                        "number": "987654321",
                        "company": "FedEx",
                        "url": "https://shipping.xyz/track.php?num=123456789"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "Authorization": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "description": "Used to authenticate API requests after completing the store authorization or integration process. The access_token is generated once the e-commerce store grants access and must be included in every request header to validate the authorized connection."
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "security": [
    {
      "Authorization": []
    }
  ]
}
```