In This Topic
Resource Path: /sites/{company-id}/api/item/post
Uri: https://secure.ontime360.com/sites/{company-id}/api/item/post
Description
Creates a new Item record, or updates an existing Item record.
Request
The request body is of type Item.
A comprehensive Item object containing the new order item information.
Overview
 |
Item
Represents a comprehensive Item record within the OnTime API.
 |
ID : string
The unique identifier for this Item record.
|
 |
OrderID : string
The unique Guid identifier referencing the Order record this Item is assigned to.
|
 |
TrackingNumber : string
The tracking number assigned to this Item.
|
 |
Description : string
The description containing any notable details or instructions regarding this Item.
|
 |
Comments : string
Any additional comments associated with this Item.
|
 |
Weight : number
The weight measurement of this Item.
|
 |
Height : number
The height measurement of this Item.
|
 |
Width : number
The width measurement of this Item.
|
 |
Length : number
The length measurement of this Item.
| |
201 Response
The response body is of type object.
Returns the created or updated Item object.
Fault Responses
Fault | Description |
400 | Request was improperly formatted, contained invalid data, or contained incorrect values. See response body for more information. |
401 | Authorization key is invalid or no longer exists. |
403 | Authorization key does not have permission to perform this action, or does not have permission to access the requested data. See response body for more information. |
See Also