Individual items can be retrieved by using the following URL and specifying the item slug.
| Method | URL |
| GET | https://api.fairwarningsoftware.com/v1.1.1/item/slug/[item-slug] |
| Status | Response |
| 200 |
{ |
| 401 | {"error":"The API keys provided are invalid."} |
| 403 | {"error":"API keys are missing."} |
| 500 | {"error": <custom error>} |
| Field | Type | Description |
| item_id | int | The unique identifier for the item |
| receipt_id | int | The ID of the receipt this item belongs to |
| office_id | int | The ID of the office this location is at |
| storage_id | int | The ID of the storage location the item is at |
| auction_id | int | The unique identifier for the auction the item is in |
| status_id | int | The ID for the status applied to this item |
| category_id_1 | int | The primary category ID assigned to this item |
| category_id_1 | int | The secondary category ID assigned to this item |
| category_id_3 | int | The tertiary category ID assigned to this item |
| web_category_id_1 | int | The primary web category ID assigned to this item |
| web_category_id_2 | int | The secondary web category ID assigned to this item |
| web_category_id_3 | int | The tertiary web category ID assigned to this item |
| iitem_advertise | bool | Whether the item was flagged to be advertised |
| department_id | int | The ID for the department set for the item |
| item_consignor_numbers | string | The consignor numbers associated with the item |
| item_lot | int | The lot number given to the item designating it's place in the auction |
| item_lot_suffix | string | The lot suffix associated with an item |
| item_buy_it_now | double | The buy-it-now price assigned to the item |
| item_timed_auction_start | datetime | The date and time bidding for the item starts |
| item_timed_auction_end | datetime | The date and time bidding for the item ends |
| item_low_estimate | double | The low estimate for the item |
| item_high_estimate | double | The high estimate for the item |
| item_start_price | double | The price that the first bid must meet or exceed |
| item_reserve | double | The price that must be matched or exceeded to win the item |
| item_hammer_price | double | The price of the bid placed that won the item |
| bidder_id | int | The user's ID who won the item |
| item_width | double | The width of the widest part of the item |
| item_height | double | The height of the tallest part of the item |
| item_depth | double | The depth of the deepest part of the item |
| item_weight | double | The weight of the item |
| item_overnight_required | bool | Whether the item requires overnight shipping when shipping |
| item_quantity | int | The number of pieces which make up the item lot |
| item_shippable | bool | Whether the item is allowed to be shipped |
| item_shelf_location | string | The location of the item on a shelf |
| item_provenance | string | The place of origin or earliest known history of the item |
| item_title | string | The title of the item |
| item_slug | string | The slug of the item title |
| item_description | string | The description of the item |
| item_condition | string | The condition of the item |
| item_comments_to_consignor | string | Comments only for the consignor to see |
| item_lot_index | int | The index of this item in the auction it is contained within according to lot number |
| previous_lot | int | The item ID of the previous lot within the same auction |
| next_lot | int | The item ID of the next lot within the same auction |
| primary_image | object | An object containing the base and paths to the different image sizes of the primary image |
| base | string | The base will contain the first part of the URL needed to retrieve the specified image. |
| parts | object | This will contain an array of URL parts for the different sizes of images. |
| full | string | The end of the URL to retrieve a full-sized image. |
| large | string | The end of the URL to retrieve a large-sized image. |
| medium | string | The end of the URL to retrieve a medium-sized image. |
| thumb | string | The end of the URL to retrieve a thumb-sized image. |
Furthermore, you may request additional information along with the item request to obtain item images, auction information, a user's high bids for the item, and related items. You may pass any or all of the following with your request:
{ "get_related" : 1, "get_auction" : 1, "get_images" : 1, "user_id" : 16 }Related items will be returned inline with the item object.
| Response |
|
{ "related_items" : { |
Auction information will be returned inline with the item object.
| Response |
|
{ "auction_info" : { |
| Field | Type | Description |
| auction_info | object | An object containing the auction information for the item |
| auction_id | int | The unique identifier for the auction |
| company_id | int | The ID for your company |
| auction_lock | bool | Whether the auction is locked or not |
| auction_hide | bool | Whether the auction is hidden or not |
| auction_preview | bool | Whether the auction can be previewed or not |
| auction_event | bool | Whether the auction is an event or not |
| type_id | int | The ID for the type of auction it is |
| type_name | string | The name for the type of auction it is |
| office_id | int | The ID for the office set for the auction |
| office_name | int | The name for the office set for the auction |
| department_id | int | The ID for the department set for the auction |
| department_name | int | The name for the department set for the auction |
| auction_date | datetime | The date and time of the auction |
| auction_name | string | The name of the auction |
| auction_bidder_type_ids | string | A JSON formatted string containing the different bidder types that can bid in this auction |
| bidsquare_ids | string | A JSON formatted string containing the different Bidsquare catalog IDS and lot ranges for each catalog |
| auction_description | string | The description provided for the auction |
| auction_comments | string | Additional comments provided for the auction |
| auction_terms | string | The terms and conditions for the auction |
| auction_event_description | string | The description for the auction event |
| primary_image | string | The image for the auction |
| calendar_image | string | The calendar image for the auction |
| event_image | string | The event image for the auction |
| auction_current_item | string | The current item the auctioneer is on during a live auction |
| allows_phone_bids | bool | Whether the auction allows phone bids to be taken |
Images will be returned inline with the item object.
| Response |
|
{ "item_images" : |
| Field | Type | Description |
| item_images | object | Contains an array of image objects. |
| image | object | Contains an array of an individual image's data. |
| base | string | The base will contain the first part of the URL needed to retrieve the specified image. |
| parts | object | This will contain an array of URL parts for the different sizes of images. |
| full | string | The end of the URL to retrieve a full-sized image. |
| large | string | The end of the URL to retrieve a large-sized image. (500px x 500px) |
| medium | string | The end of the URL to retrieve a medium-sized image. (250px x 250px) |
| thumb | string | The end of the URL to retrieve a thumb-sized image. (50px x 50px) |
User bid data will be returned inline with the item object.
| Response |
|
{ "user" : { |
| Field | Type | Description |
| user | object | Contains an object of user details. |
| high_bidder | bool | Whether the user is the high bidder for the item or not. |
| following_item | bool | Whether the user is following the item or not. |
| can_bid | object/bool | Object with a list of bidding actions available. If false, bid requirements have not been met. |
| live | bool | Specifies whether the user can place a live bid for the current item or not. |
| timed | bool | Specifies whether the user can place a timed bid for the current item or not. |
| absentee | bool | Specifies whether the user can place a absentee bid for the current item or not. |
| phone | bool | Specifies whether the user can register for a phone bid for the current item or not. |
| buy_it_now | bool | Specifies whether the user can purchase the current item or not. |
| high_bids | object | Contains information for the user's bids on the item. |
| bid_amount |
decimal | Contains the highest executed bid left for this item by the user. |
| phone_bid_active |
bool | Specifies if the user registered for phone bidding for this item. |
| phone_bid_amount |
decimal | Contains the phone bid insurance amount left for this item by the user. |
| timed_bid_amount |
decimal | Contains the top bid amount left for timed bidding for this item bye the user. |