v1

latestOpenAPI 3.1.12026-07-24260246894.7 KB
Items

Partial update item

Endpoint for partially updating an existing item.

patch/items/{id}/

Path parameters

idstring required

Headers

X-Wafeq-Idempotency-Keystring

Client-provided UUID to uniquely identify a request

Request body

created_tsstring date-time

The timestamp in UTC when the item was created

descriptionstring

The description of the item.

expense_accountstring nullable

The expense account for this item.

external_idstring

External identifier for the item.

idstring

The unique identifier of the item.

is_activeboolean

Whether the item is active.

is_tracked_inventoryboolean

Whether inventory is tracked for this item.

legacy_idstring

[Deprecated] The legacy identifier of the item.

modified_tsstring date-time

The timestamp in UTC when the item was last modified

namestring

The name of the item.

purchase_tax_ratestring nullable

The tax rate applied when purchasing this item.

quantity_on_handnumber double nullable

The current quantity on hand. Only relevant for tracked inventory items.

revenue_accountstring nullable

The revenue account for this item.

revenue_tax_ratestring nullable

The tax rate applied when selling this item.

skustring

The SKU of the item.

unit_costnumber double nullable

The default unit cost of the item if no unit of measure is specified.

unit_pricenumber double nullable

The default unit price of the item if no unit of measure is specified.

Response

created_tsstring date-time required

The timestamp in UTC when the item was created

descriptionstring

The description of the item.

expense_accountstring nullable

The expense account for this item.

external_idstring

External identifier for the item.

idstring required

The unique identifier of the item.

is_activeboolean

Whether the item is active.

is_tracked_inventoryboolean

Whether inventory is tracked for this item.

legacy_idstring required

[Deprecated] The legacy identifier of the item.

modified_tsstring date-time required

The timestamp in UTC when the item was last modified

namestring required

The name of the item.

purchase_tax_ratestring nullable

The tax rate applied when purchasing this item.

quantity_on_handnumber double nullable required

The current quantity on hand. Only relevant for tracked inventory items.

revenue_accountstring nullable

The revenue account for this item.

revenue_tax_ratestring nullable

The tax rate applied when selling this item.

skustring

The SKU of the item.

unit_costnumber double nullable

The default unit cost of the item if no unit of measure is specified.

unit_pricenumber double nullable

The default unit price of the item if no unit of measure is specified.