{"templateId":"openapi_docs","sharedDataIds":{"openAPIDocsStore":"oas-index.yaml","sidebar":"sidebar-sidebars.yaml"},"props":{"definitionId":"index.yaml","dynamicMarkdocComponents":[],"baseSlug":"/","seo":{"title":"Purchase Orders","description":"Purchase orders record what you have ordered from a vendor and on what terms. Each one\ncarries vendor and ship-to details plus a list of line items drawn from your inventory.\n\nHow an order moves:\n\n- `draft`, `ready_for_review` and `approved` can each move to one another, or on to\n  `ordered`\n- From `ordered` you can request `voided` or `closed`\n- Receiving stock moves an `ordered` order to `partially_received` and then `received`,\n  through the receive flow rather than a status call\n- From `partially_received` or `received`, the only status you can request is `closed`\n- `voided` and `closed` are final\n\nUse the status endpoint for these transitions rather than the update endpoint.\n"},"itemId":"purchase-orders","disableAutoScroll":true,"metadata":{"subType":"openapi-operation"},"compilationErrors":[],"markdown":{"partials":{},"variables":{"rbac":{"teams":["anonymous"]},"user":{},"remoteAddr":{"hostname":"developer.sortly.com","port":4000,"ipAddress":"216.73.217.178"},"lang":"default_locale","env":{"PUBLIC_REDOCLY_BRANCH_NAME":"master"}}},"pagePropGetterError":{"message":"","name":""}},"slug":"/purchase-orders","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}