item

Item - Create Upsert

Changed on

Create a new item or update an existing one if the SKU already exists.

post/item/create_upsert

Request

  • Base URL
    https://api.skulabs.com
  • URL
    https://api.skulabs.com/item/create_upsert
  • Auth
    HTTP bearer

Request body

itemobject required

Item data object to create or update

Response

Item created or updated

successboolean required

Whether the operation succeeded

_idstring required

Item ID

skustring

Item SKU

noticestring

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

Example response

{
  "_id": "507f1f77bcf86cd799439011"
}

Changes

    • breaking

      the request property became required

    • info

      api operation id post_item_create_upsert was added

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • breaking

      added required request body

    • warning

      deleted the query request parameter item

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status