Create inventory
POST /{owner}/v1/inventory
Parameters
Path Parameters
Request Body required
object
Name of inventory item
The barcodes that can be physically attached to the item
object
Boolean Flag to denote if a product is batch controlled or not
A textual description of the inventory item
The type or category of the inventory item
Responses
200
object
A meta object that contains non-standard meta-information
object
The document’s ‘primary data’.
object
Unique ID of the Entity
Type of entity
This contains a data blob of the entity, this is where the main payload of data is
object
Name of inventory item
The barcodes that can be physically attached to the item
object
Boolean Flag to denote if a product is batch controlled or not
A textual description of the inventory item
The type or category of the inventory item
Links to any relevant information or entities
object
Link to the current resource.
Link of a related resource.
Link to API documentation for that resource.
Additional information about the entity which isn’t provided in the main data blob
object
A links object related to the primary data
object
Link to the current resource.
Link of a related resource.
Link to API documentation for that resource.
400
Bad request. Data not valid
object
A meta object that contains non-standard meta-information
object
An array of error objects
object
A unique identifier for this particular occurrence of the problem
Links explaining the error
object
A link that leads to further details about this particular occurrence of the problem.
A link that identifies the type of error that this particular error is an instance of.
The HTTP status code applicable to this problem
An application-specific error code
A summary of the problem
Explanation specific to this occurrence of the problem
A meta object that contains non-standard meta-information
object
401
Unauthorized access, credentials are invalid.
403
Forbidden access, this is returned when you do not have sufficient permissions to access the resource
404
Not found
413
Payload exceeds maximum payload size of 256 kilobytes.
415
Media type is unsupported. All APIs, unless specified otherwise, only support JSON payloads.
422
Unprocessable entity
object
A meta object that contains non-standard meta-information
object
An array of error objects
object
A unique identifier for this particular occurrence of the problem
Links explaining the error
object
A link that leads to further details about this particular occurrence of the problem.
A link that identifies the type of error that this particular error is an instance of.
The HTTP status code applicable to this problem
An application-specific error code
A summary of the problem
Explanation specific to this occurrence of the problem
A meta object that contains non-standard meta-information
object
429
Rate limit exceeded; once an API quota is reached a 429 is returned, wait 60 seconds and try again.
500
Unexpected internal error, could not process request
object
A meta object that contains non-standard meta-information
object
An array of error objects
object
A unique identifier for this particular occurrence of the problem
Links explaining the error
object
A link that leads to further details about this particular occurrence of the problem.
A link that identifies the type of error that this particular error is an instance of.
The HTTP status code applicable to this problem
An application-specific error code
A summary of the problem
Explanation specific to this occurrence of the problem
A meta object that contains non-standard meta-information
object
503
The API is currently unavailable, please try again later
504
A request timed out while processing, please try again; if it persists try reducing the payload size.