Skip to main content
PATCH
/
packages
/
{id}
/
items
/
{item_id}
Update package item quantity or serial numbers
curl --request PATCH \
  --url https://api.arcuserp.com/v1/packages/{id}/items/{item_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "quantity": 2,
  "serial_numbers": [
    "<string>"
  ]
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "package_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "order_item_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "quantity": 123,
  "sku": "<string>",
  "title": "<string>",
  "serial_numbers": [
    "<string>"
  ],
  "created_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.arcuserp.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key issued per entity via Settings > Developers > API Keys. Each key carries scopes (e.g. orders:read, products:write). Bearer token format: Authorization: Bearer ark_live_ent_Test keys use ark_test_ent_. Both are issued per entity
via Settings > Developers > API Keys.

Path Parameters

id
string<uuid>
required
item_id
string<uuid>
required

Body

application/json
quantity
integer
Required range: x >= 1
serial_numbers
string[]

Response

Package item updated

A line item placed inside a package (one order_item can be split across packages).

id
string<uuid>
package_id
string<uuid>
order_item_id
string<uuid>
product_id
string<uuid> | null
quantity
integer

Qty of this order_item packed into this package.

sku
string | null
title
string | null
serial_numbers
string[] | null
created_at
string<date-time>
read-only