Skip to main content
PUT
/
v1
/
public
/
items
/
{item_id}
Update Item
curl --request PUT \
  --url https://api.sanka.com/v1/public/items/{item_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "externalId": "<string>",
  "name": "<string>",
  "description": "<string>",
  "currency": "<string>",
  "price": 123,
  "purchasePrice": 123,
  "tax": 123,
  "status": "<string>"
}
'
{
  "ok": true,
  "status": "<string>",
  "external_id": "<string>",
  "item_id": "<string>",
  "ctx_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

item_id
string
required

Body

application/json
externalId
string
required
name
string | null
description
string | null
currency
string | null
price
number | null
purchasePrice
number | null
tax
number | null
status
string | null

Response

OK

ok
boolean
required
status
string
required
external_id
string
required
item_id
string | null
ctx_id
string | null