Project

General

Profile

User Inventory: Resource Representations

Inventory

Resource

Property name Value Description Note
inventory_id Integer The ID of the inventory
item Object An object representation of the item
item.no String Item's identification number in BrickLink catalog
item.name String The name of this item
item.type String The type of the item MINIFIG, PART, SET, BOOK, GEAR, CATALOG, INSTRUCTION, UNSORTED_LOT, ORIGINAL_BOX
item.category_id Integer The main category of the item
color_id Integer The ID of the color of the item
color_name String Color name of the item
quantity Integer The number of items included in this inventory
new_or_used String Indicates whether the item is new or used N: New, U: Used
completeness String Indicates whether the set is complete or incomplete
(This value is valid only for SET type)
C: Complete, B: Incomplete, S: Sealed
unit_price Fixed Point Number The original price of this item per sale unit
bind_id Integer The ID of the parent lot that this lot is bound to
description String A short description for this inventory
remarks String User remarks on this inventory
bulk Integer Buyers can buy this item only in multiples of the bulk amount
is_retain Boolean Indicates whether the item retains in inventory after it is sold out
is_stock_room Boolean Indicates whether the item appears only in owner’s inventory
stock_room_id String Indicates the stockroom that the item to be placed when the user uses multiple stockroom A, B, C
date_created Timestamp The time this lot is created
my_cost Fixed Point Number My Cost value to tracking the cost of item
sale_rate Integer Sale value to adjust item price Must be less than 100. 20 for 20% sale
tier_quantity1 Integer A parameter for Tiered pricing 0 for no tier sale option
tier_quantity2 Integer A parameter for Tiered pricing 0 for no tier sale option, Must be greater than tier_quantity1
tier_quantity3 Integer A parameter for Tiered pricing 0 for no tier sale option, Must be greater than tier_quantity2
tier_price1 Fixed Point Number A parameter for Tiered pricing 0 for no tier sale option. Must be less than unit_price
tier_price2 Fixed Point Number A parameter for Tiered pricing 0 for no tier sale option, Must be less than tier_price1
tier_price3 Fixed Point Number A parameter for Tiered pricing 0 for no tier sale option, Must be less than tier_price2
my_weight Fixed Point Number Custom weight of the item Upcoming

Example

{
    "inventory_id":50592684,
    "item": {
        "no":"bel004",
        "name":"Belville Accessories - Complete Sprue - Perfume Bottles (same as 6932)",
        "type":"PART",
        "categoryID":48
    },
    "color_id":5,
    "quantity":12,
    "new_or_used":"U",
    "unit_price":"1.2000",
    "bind_id":0,
    "description":"",
    "remarks":"",
    "bulk":1,
    "is_retain":false,
    "is_stock_room":false,
    "date_created":"2013-12-18T05:00:00.000Z",
    "sale_rate":10,
    "my_cost":"1.0000",
    "tier_quantity1":10,
    "tier_price1":"1.0000",
    "tier_quantity2":20,
    "tier_price2":"0.8000",
    "tier_quantity3":0,
    "tier_price3":"0.0000" 
}
Add picture from clipboard (Maximum size: 24.4 MB)