Skip to main content
PATCH
Update inventory

Authorizations

Authorization
string
header
required

API key with sf_live_ prefix. Pass as Authorization: Bearer sf_live_...

Headers

Idempotency-Key
string

Unique key for idempotent requests. If a request with the same key was already processed within the last 24 hours, the cached response is returned with X-Idempotent-Replayed: true.

Example:

"idk_550e8400-e29b-41d4-a716-446655440000"

Path Parameters

id
string
required

Inventory item ID.

Example:

"inv_a1b2c3"

Body

application/json
sku
string
Example:

"CC-330ML-CAN"

brand
string
Example:

"Coca-Cola"

name
string
Example:

"Coca-Cola Original 330ml Can"

category
string
Example:

"Beverages"

subcategory
string
Example:

"Carbonated Soft Drinks"

sizeValue
number
Example:

330

sizeUnit
string
Example:

"ml"

expectedPrice
number
Example:

1.49

currency
string
Example:

"USD"

upc
string
Example:

"049000042566"

Response

Inventory item updated.

data
object
required