VU CUSTOM
Developer Docs
Developer Docs
  • VU OS Admin API Overview
  • Account Management
    • Overview
    • Create a sold_to_account
    • Create a ship_to_account
    • Batch update sold_to_account
    • Batch update ship_to_account
    • Get a list of sold_to_accounts
    • Get a list of ship_to_accounts
    • Delete a sold_to_account
    • Delete a ship_to_account
  • Orders
    • Overview
    • Create an order
    • Get an order
    • Get a list of orders
    • Update an order
    • Delete an order
    • Add tags to an order
    • Add tags to many orders
    • Delete tags from an order
    • Delete tags from many orders
  • Products
    • Overview
    • Create a product
    • Get a list of products
    • Get a specific product
    • Delete a product
  • Recipes
    • Overview
    • Retrieving Recipes
  • Fulfillments
    • Overview
    • Create a fulfillment
    • Retrieve a fulfillment
    • Retrieve a list of fulfillments
  • Order Lines
    • Overview
    • Add tags to an order line
    • Retrieve a list of orderlines
    • Retrieve a specific order line
    • Delete tags from an order line
    • Update a specific order line
  • Integration
    • Integrate the Customizer with Your Frontend
    • Understanding Recipe IDs in VU Custom
    • Styling the Customizer
    • Test the Customizer
Powered by GitBook
On this page
  1. Order Lines

Update a specific order line

Method : PUT

https://admin.vucustom.com/api/:api_version/order_lines?id=&line_reference=

URL Parameters

Field Name
Description

id

System-generated unique identifier for the order line

line_reference

External reference number for the order line

Request body schema

Field Name
Description

purchase_order_number

External purchase order reference

sales_order_number

External sales order reference

status

New status for the order line

Example Request
curl --location --request PUT 'https://admin.vucustom.com/api/v1/orders?id=&line_reference=null' \
--data '{
    "order_line": {
        "status": "on_hold",
        "purchase_order_number": "PO NUMBER",
        "sales_order_number": "SO NUMBER"
    }
}'

200 Successful response example

preview not available

401 Unauthorized

The client doesn’t have correct authentication credentials.

{
"errors": "[API] Invalid API key or secret (unrecognized login or wrong password)"
}

422 Unprocessable Entity

5xx Errors

An internal error occurred in VU Admin.

PreviousDelete tags from an order lineNextIntegrate the Customizer with Your Frontend

Last updated 5 months ago