Last modified May 21, 2017, 11:34 p.m. by Nathan

Selling LEGO Parts

Rebrickable does not sell any LEGO parts directly. We link to external stores that sell the parts. We have access to these stores' inventory and so will only list stores that have relevant stock at the best prices.

BrickLink/BrickOwl Stores

If you already run a BrickLink or BrickOwl store, you can elect to have it included in the Rebrickable results via your BrickLink/BrickOwl account pages.

Independent Stores

We also provide support for independent stores that run their own website and inventory management system. However, some work will be required to integrate it with Rebrickable.

There are three requirements to having your store added to Rebrickable:

  1. Inventory Feed
  2. Add to Cart
  3. Referral tracking

1. Inventory Feed

You will need to supply a URL that returns a JSON formatted list of Parts and/or Sets in a format similar to the following. This is an example and your field names can vary to better reflect the exact contents.

[
{
"SKU":"1",
"type":"P",
"color_name":"Green",
"itemid":"2357",
"price":"0.630",
"condition":"N"
"qty":"30",
},
{
"SKU":"2",
"type":"P",
"color_name":"Flat Silver",
"itemid":"4073",
"price":"0.090",
"condition":"U"
"qty":"246",
}
]

With the fields being:

FieldMeaning
SKUA unique identifier that Rebrickable will send back to your site when adding parts to the user's shopping cart.
typeOptional - used to identify a Part (P) or a Set (S) in case your feed includes other items as well.
color_nameColor of the part. Preferrably something that can be identified from the Colors table. It can be either an ID or a Description from an external site, as long as I know what naming system it uses.
itemidThe Part ID in whichever naming system you prefer with Rebrickable, LDraw or BrickLink being the preference.
priceThe price of the part in some consistent currency. At least three decimal places is preferred to minimise errors introduced during currency conversions.
conditionThe condition of the part, N = New, U = Used.
qtyQuantity of this item id you have in stock.

It is ok to have the same part/color/condition appearing as multiple items with different prices. The feed will be read by Rebrickable several times a day.

2. Add to Cart

Rebrickable will provide links to the user that allows them to add a list of parts (or sets if you include them in your feed) directly into their shopping cart on your site. To cater for this, your site should accept a POST with the following parameters.

FieldMeaning
dataA JSON formatted string of the parts to be added, as shown in the following example. SKU is the identifier of the item from your inventory.
{  
   "parts":[  
      {  
         "SKU":"1",
         "qty":"22"
      },
      {  
         "SKU":"2",
         "qty":"2"
      },
      {  
         "SKU":"3",
         "qty":"1"
      }
   ]
}
utm_sourceThe string 'rebrickable' to aid in your referral tracking.

3. Referral Tracking

To list your store on Rebrickable, you must pay a % commission fee for any sales driven by Rebrickable. To make this possible, you will need a way to track and account for these sales.

Contact Nathan to discuss setting up your store if you can achieve the above three pre-requisites.