stock_updates

Stock Updates Update (Deprecated)

Changed on

Use /stock_updates instead

post/v1/companies/{company_id}/projects/{project_id}/offers

Request

  • Base URL
    https://api.channable.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

company_idinteger required
project_idinteger required

Request body

idstring required
titlestring nullable
stockinteger required

Whole new stock value for the item, not a delta

gtinstring nullable

Example request

[
  {
    "gtin": "123-456",
    "id": "123",
    "stock": 1,
    "title": "Some offer"
  }
]

Response

Successful Response

status'success' | 'error' | 'warning' | 'debug' required
messagestring required

Changes

    • breaking

      the // response's property type changed from no type to string for status

    • breaking

      the response's property type changed from no type to string for status

    • breaking

      the response's property type changed from no type to string for status

    • breaking

      the response's property type changed from no type to string for status

    • breaking

      the response's property type changed from no type to string for status

    • warning

      added the new debug enum value to the // response property for the response status

    • warning

      added the new debug enum value to the response property for the response status

    • warning

      added the new error enum value to the // response property for the response status

    • warning

      added the new error enum value to the response property for the response status

    • warning

      added the new success enum value to the // response property for the response status

    • warning

      added the new success enum value to the response property for the response status

    • warning

      added the new warning enum value to the // response property for the response status

    • warning

      added the new warning enum value to the response property for the response status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      removed from the // response property allOf list for the response status

    • info

      removed from the response property allOf list for the response status

    • breaking

      response property content/items/data list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property content/items/id list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      the /// response's property type changed from no type to string for status

    • breaking

      the response's property type changed from string to no type for status

    • breaking

      the response's property type changed from string to no type for status

    • breaking

      the response's property type changed from string to no type for status

    • breaking

      the / response's property type changed from no type to string for status

    • warning

      removed the request property /

    • warning

      removed the request property /

    • info

      request property / list-of-types was widened by adding types null to media type application/json

    • info

      request property / list-of-types was widened by adding types null to media type application/json

    • info

      the response property const value error was added for the status

    • info

      the response property const value error was added for the status

    • info

      the response property const value error was added for the status

    • info

      removed the error enum value from the response property for the response status

    • info

      removed the error enum value from the response property for the response status

    • info

      removed the error enum value from the response property for the response status