Items
An item is a purchasable good like a T-shirt, a movie, a song, a subscription, etc. The Items resource’s responsibility is to simply identify an item. This should not be confused with itemdefinitions, which are descriptions of the item.
Items can be discovered by using the following resources:
Lookup Item By Code
Look up an item by item code.
Workflow
- Start with lookups
GET
the link with rel: itemlookupform- Fill out the form
POST
the form using the link with rel: itemlookupaction
Request Fields
items.code
Type: Name | Description | Type |
---|---|---|
code | The sku code. | string |
Lookup Batch Items
Look up a batch of items with a list of codes.
Workflow
- Start with lookups
GET
the link with rel: batchitemslookupform- Fill out the form
POST
the form using the link with rel: batchlookupaction
Request Fields
items.codes
Type: Name | Description | Type |
---|---|---|
codes | A list of item SKU codes. | array |
Read Code For Item
Read the code of an item.
Workflow
- Start with item
GET
the link with rel: code- Render the response
Response Fields
items.code
Type: Name | Description | Type |
---|---|---|
code | The sku code. | string |