Skip to main content
POST
/
item
/
create_upsert
Item - Create Upsert
curl --request POST \
  --url https://api.skulabs.com/item/create_upsert \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "item": {}
}'
{
  "success": true,
  "_id": "507f1f77bcf86cd799439011",
  "sku": "<string>",
  "notice": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
item
object
required

Item data object to create or update

Response

Item created or updated

success
boolean
required

Whether the operation succeeded

_id
string
required

Item ID

Example:

"507f1f77bcf86cd799439011"

sku
string

Item SKU

notice
string

Additional notice (e.g. kit cost update issue)