Skip to main content
PATCH
Modifies an existing Package Weight

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Scopes

inventory.write
oauth2-authorization-code

Grants permission to modify stock levels.

inventory.write
oauth2-client-credentials

Grants permission to modify stock levels.

Headers

x-companyid
string

The Company-Id (int or uuid) of the company on whose behalf the request is executed.

Idempotency-Key
string

Optional, client-generated key for deduplicating repeated write requests. A repeated request with the same key returns the originally recorded result instead of executing the effect again.

Required string length: 1 - 255
x-tenant-id
string<uuid>
required

The tenant ID for the target ERP instance.

Path Parameters

packageId
string
required

Body

application/json

Request parameters

Modifies an existing Package Weight - Request

weight
number<decimal>
required

The new Weight of the Package

Response

Package Weight was successfully modified.