Ok, i read the API page more carefully. "Expect order/inventory download and inventory update". Does this mean the rest does not work yet? Can i also add items to my inventory? I need color ids for this to work. Where do i find such a list?
Seems like the create and update inventory API is not ready yet. So how can i fill my inventory? Using the manual upload functionality? What's a Brickstore .bsx file and how does it look like? Need to upload 10.000 lots and need to keep sync with our warehouse system. Any tips?
The /catalog section of the API requires permission, there is a little explanation on the header of that section. The rest of the API is fully functional. What is the current source of the information you are trying to import, and what kind of ID's does it have?
Also the https://api.brickowl.com/v1/inventory/create?key=xxx gives a "Access Denied" response. Current source is our own database. We have our own unique identifier but also a bricklink id, color id and type for each record.
If you are getting access denied on inventory/create, check the API key is correct, the API key has permission for that section of the API, and check that you are passing the key correctly. Often the key is passed as GET incorrectly for a POST request, so the server ignores it, and therefore it is access denied because it considers there to be no key.
I didn't realise there was that message at the top of the API page about it being incomplete, I have now removed that, that must have been there from two years ago.
Thanks, it's working now. For the tech people here, i was using CURL to do the POST request. You should use the 'CURLOPT_HTTPHEADER' option and pass the key here. ;-)
Comments
The question about the kind of part IDs being used is important, you'll probably have to use the API to translate IDs (of any type) into BOIDs.
Though, in my opinion, the color list should be available without any special permission...
I didn't realise there was that message at the top of the API page about it being incomplete, I have now removed that, that must have been there from two years ago.