Discussion Forum: Thread 353397

 Author: BrickFreedom View Messages Posted By BrickFreedom
 Posted: Feb 1, 2024 17:17
 Subject: Bricklink API - Update Store Inventory
 Viewed: 1249 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

BrickFreedom (60)

Location:  United Kingdom, England
Member Since Contact Type Status
May 16, 2017 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: Brick Freedom
Hi

Have you made changes to the (Update Store Inventory -- PUT - /inventories/{inventory_id})
API request?

Previously you could call the API with the following parameters and would have
no issues:

['quantity' = '-2']

Now it's responding with:

["description":"String input must not be null","message":"PARAMETER_MISSING_OR_INVALID"]

Weirdly a couple of requests have completed successfully but most of the requests
are failing with the above error message. Can someone please advise what this
error is and if it's a bug that has been released into the API by accident?
 Author: Nubs_Select View Messages Posted By Nubs_Select
 Posted: Feb 1, 2024 17:18
 Subject: (Cancelled)
 Viewed: 113 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Nubs_Select (4333)

Location:  Canada, Ontario
Member Since Contact Type Status
Mar 15, 2016 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Nub's Select
(Cancelled)
 Author: Nubs_Select View Messages Posted By Nubs_Select
 Posted: Feb 1, 2024 17:18
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 110 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Nubs_Select (4333)

Location:  Canada, Ontario
Member Since Contact Type Status
Mar 15, 2016 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Nub's Select
is this perhaps related to item numbers being changed today for a whole bunch
of parts?
 Author: BrickFreedom View Messages Posted By BrickFreedom
 Posted: Feb 1, 2024 17:24
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 108 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

BrickFreedom (60)

Location:  United Kingdom, England
Member Since Contact Type Status
May 16, 2017 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: Brick Freedom
In Technical Issues, Nubs_Select writes:
  is this perhaps related to item numbers being changed today for a whole bunch
of parts?

Nope. It's failing for parts that have had no changes at all. I have checked
the inventory ID is correct etc. This is just broken.
 Author: Admin_Russell View Messages Posted By Admin_Russell
 Posted: Feb 1, 2024 17:32
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 256 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Admin_Russell

Location:  USA, California
Member Since Contact Type Status
May 9, 2017 Contact Member Admin
Buying Privileges - OKSelling Privileges - OK
BrickLink Administrator
In Technical Issues, BrickFreedom writes:
  Hi

Have you made changes to the (Update Store Inventory -- PUT - /inventories/{inventory_id})
API request?

Previously you could call the API with the following parameters and would have
no issues:

['quantity' = '-2']

Now it's responding with:

["description":"String input must not be null","message":"PARAMETER_MISSING_OR_INVALID"]

Weirdly a couple of requests have completed successfully but most of the requests
are failing with the above error message. Can someone please advise what this
error is and if it's a bug that has been released into the API by accident?

We are closely monitoring the effects of changing the item number for 4 basic
parts earlier today. There have been reports that Brickstore is having issues
and now you are reporting about API.

Please take a look here for the 4 numbers that were changed:

https://www.bricklink.com/catalogReqList.asp?viewYear=&viewMonth=&viewGeDate=&q=&viewStatus=A&itemType=&viewAction=I
 Author: BrickFreedom View Messages Posted By BrickFreedom
 Posted: Feb 1, 2024 17:40
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 153 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

BrickFreedom (60)

Location:  United Kingdom, England
Member Since Contact Type Status
May 16, 2017 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: Brick Freedom
In Technical Issues, Admin_Russell writes:
  In Technical Issues, BrickFreedom writes:
  Hi

Have you made changes to the (Update Store Inventory -- PUT - /inventories/{inventory_id})
API request?

Previously you could call the API with the following parameters and would have
no issues:

['quantity' = '-2']

Now it's responding with:

["description":"String input must not be null","message":"PARAMETER_MISSING_OR_INVALID"]

Weirdly a couple of requests have completed successfully but most of the requests
are failing with the above error message. Can someone please advise what this
error is and if it's a bug that has been released into the API by accident?

We are closely monitoring the effects of changing the item number for 4 basic
parts earlier today. There have been reports that Brickstore is having issues
and now you are reporting about API.

Please take a look here for the 4 numbers that were changed:

https://www.bricklink.com/catalogReqList.asp?viewYear=&viewMonth=&viewGeDate=&q=&viewStatus=A&itemType=&viewAction=I

Hey Russell

I don't believe these are connected, if they are it does not make sense.

The part that was being updated was '53562'.

I used (Get Store Inventory -- GET /inventories/{inventory_id}) to check
the item was still available and quantity was available before attempting to
update the inventory.

Update Inventory does not user the item_no, it uses the inventory_id so the two
should not be connected.

Thanks for getting back to me so quickly, this is a breaking change.
 Author: BigBBricks View Messages Posted By BigBBricks
 Posted: Feb 1, 2024 18:37
 Subject: (Cancelled)
 Viewed: 72 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

BigBBricks (16674)

Location:  USA, Pennsylvania
Member Since Contact Type Status
Dec 2, 2013 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Big B Bricks
(Cancelled)
 Author: CanadaFirst View Messages Posted By CanadaFirst
 Posted: Feb 1, 2024 18:46
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 103 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

CanadaFirst (34785)

Location:  Canada, Quebec
Member Since Contact Type Status
Mar 27, 2017 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Canada First Bricks
Hi Russell,

We encountered as well an issue with Brickstore by exporting a part out from
Brickstore that included any of the 3062b, 3068b, 3069b, or 3070b, and they were
rejected while trying to upload stating that the code does not exist. Couldn’t
Bricklink accept the xml by recognizing the 3062b as a 3062?

We had to modify the XML before importing them because there were no way we could
use 3062 as a code in Brickstore.

Sylvain




In Technical Issues, Admin_Russell writes:
  In Technical Issues, BrickFreedom writes:
  Hi

Have you made changes to the (Update Store Inventory -- PUT - /inventories/{inventory_id})
API request?

Previously you could call the API with the following parameters and would have
no issues:

['quantity' = '-2']

Now it's responding with:

["description":"String input must not be null","message":"PARAMETER_MISSING_OR_INVALID"]

Weirdly a couple of requests have completed successfully but most of the requests
are failing with the above error message. Can someone please advise what this
error is and if it's a bug that has been released into the API by accident?

We are closely monitoring the effects of changing the item number for 4 basic
parts earlier today. There have been reports that Brickstore is having issues
and now you are reporting about API.

Please take a look here for the 4 numbers that were changed:

https://www.bricklink.com/catalogReqList.asp?viewYear=&viewMonth=&viewGeDate=&q=&viewStatus=A&itemType=&viewAction=I
 Author: 1001bricks View Messages Posted By 1001bricks
 Posted: Feb 1, 2024 19:03
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 93 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

1001bricks (53768)

Location:  France, Provence-Alpes-Côte d'Azur
Member Since Contact Type Status
Sep 6, 2005 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: 1001bricks
  We encountered as well an issue with Brickstore by exporting a part out from
Brickstore that included any of the 3062b, 3068b, 3069b, or 3070b, and they were
rejected while trying to upload stating that the code does not exist. Couldn’t
Bricklink accept the xml by recognizing the 3062b as a 3062?

It's normal, 3062b is now an invalid reference.

Simply wait BrickStore has a fresh database, then reopen the file and it'll
be corrected?

You people could be a bit patient; BrickStore it's a guy working for free
for you
 Author: sandman View Messages Posted By sandman
 Posted: Feb 1, 2024 19:25
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 88 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

sandman (2591)

Location:  Germany, Bayern
Member Since Contact Type Status
Jan 15, 2003 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Brickforge
In Technical Issues, 1001bricks writes:
  You people could be a bit patient; BrickStore it's a guy working for free
for you

Shocking, right? You pay big money for the premium support package and then that
lazy guy in a totally different time zone is not monitoring the BL item change-log
24/7
 Author: BensBrickstore View Messages Posted By BensBrickstore
 Posted: Feb 1, 2024 20:19
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 84 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

BensBrickstore (4179)

Location:  USA, Massachusetts
Member Since Contact Type Status
Nov 15, 2015 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Ben's Brickstore
In Technical Issues, 1001bricks writes:
  
  We encountered as well an issue with Brickstore by exporting a part out from
Brickstore that included any of the 3062b, 3068b, 3069b, or 3070b, and they were
rejected while trying to upload stating that the code does not exist. Couldn’t
Bricklink accept the xml by recognizing the 3062b as a 3062?

It's normal, 3062b is now an invalid reference.

Simply wait BrickStore has a fresh database, then reopen the file and it'll
be corrected?

You people could be a bit patient; BrickStore it's a guy working for free
for you


I didn't get any impression that they were being impatient, just reporting
an issue. For all anyone knows they could be paying for BrickStore - there is
a donate option if anyone feels so inclined.
 Author: constructibles View Messages Posted By constructibles
 Posted: Feb 1, 2024 19:00
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 74 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

constructibles (620)

Location:  USA, South Carolina
Member Since Contact Type Status
May 8, 2018 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Constructibles
In Technical Issues, Admin_Russell writes:
  In Technical Issues, BrickFreedom writes:
  Hi

Have you made changes to the (Update Store Inventory -- PUT - /inventories/{inventory_id})
API request?

Previously you could call the API with the following parameters and would have
no issues:

['quantity' = '-2']

Now it's responding with:

["description":"String input must not be null","message":"PARAMETER_MISSING_OR_INVALID"]

Weirdly a couple of requests have completed successfully but most of the requests
are failing with the above error message. Can someone please advise what this
error is and if it's a bug that has been released into the API by accident?

We are closely monitoring the effects of changing the item number for 4 basic
parts earlier today. There have been reports that Brickstore is having issues
and now you are reporting about API.

Please take a look here for the 4 numbers that were changed:

https://www.bricklink.com/catalogReqList.asp?viewYear=&viewMonth=&viewGeDate=&q=&viewStatus=A&itemType=&viewAction=I

Russell, can you push an update for the database source used by BrickStore immediately
after each change?

I just opened BrickStore and it did a fresh "updating BrickLInk inventory"
and opened a file that had 3062b, 3068b and 3070b. Those were still valid in
BrisckStore and the umbrella IDs were not. Trying to update price guide on
the 'b' versions returned an error.

This might also have a similar impact on Bricksync if its pulling the same 'database'
file as BrickStore.

-Jason
 Author: minithings4life View Messages Posted By minithings4life
 Posted: Feb 1, 2024 22:59
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 72 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

minithings4life (17368)

Location:  United Kingdom, England
Member Since Contact Type Status
Feb 18, 2003 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Minithingsforlife
Admin Russell, you did not understand what BrickFreedom was posting.
The API that updates inventory by a quantity (+ or -), is intermittently breaking
on part numbers that are not within your 4 changed parts.

This will break every piece of software that relies on updating Bricklink store
inventory using the API method.
 Author: qwertyboy View Messages Posted By qwertyboy
 Posted: Feb 2, 2024 00:06
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 54 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

qwertyboy (8171)

Location:  Canada, Alberta
Member Since Contact Type Status
Apr 9, 2013 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Maple Bricks
In Technical Issues, minithings4life writes:
  Admin Russell, you did not understand what BrickFreedom was posting.
The API that updates inventory by a quantity (+ or -), is intermittently breaking
on part numbers that are not within your 4 changed parts.

This will break every piece of software that relies on updating Bricklink store
inventory using the API method.

I concur. The last failed update on our end was for
 
Part No: 3700  Name: Technic, Brick 1 x 2 with Hole
* 
3700 Technic, Brick 1 x 2 with Hole
Parts: Technic, Brick
 
Part No: 87552  Name: Panel 1 x 2 x 2 with Side Supports - Hollow Studs
* 
87552 Panel 1 x 2 x 2 with Side Supports - Hollow Studs
Parts: Panel
 
Part No: 4070  Name: Brick, Modified 1 x 1 with Headlight
* 
4070 Brick, Modified 1 x 1 with Headlight
Parts: Brick, Modified
 
Part No: 34103  Name: Plate, Modified 1 x 3 with 2 Studs (Double Jumper)
* 
34103 Plate, Modified 1 x 3 with 2 Studs (Double Jumper)
Parts: Plate, Modified
There were no other parts involved in this update attempt.

Niek.
 Author: BigBBricks View Messages Posted By BigBBricks
 Posted: Feb 2, 2024 00:08
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 57 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

BigBBricks (16674)

Location:  USA, Pennsylvania
Member Since Contact Type Status
Dec 2, 2013 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Big B Bricks
In Technical Issues, qwertyboy writes:
  In Technical Issues, minithings4life writes:
  Admin Russell, you did not understand what BrickFreedom was posting.
The API that updates inventory by a quantity (+ or -), is intermittently breaking
on part numbers that are not within your 4 changed parts.

This will break every piece of software that relies on updating Bricklink store
inventory using the API method.

I concur. The last failed update on our end was for
 
Part No: 3700  Name: Technic, Brick 1 x 2 with Hole
* 
3700 Technic, Brick 1 x 2 with Hole
Parts: Technic, Brick
 
Part No: 87552  Name: Panel 1 x 2 x 2 with Side Supports - Hollow Studs
* 
87552 Panel 1 x 2 x 2 with Side Supports - Hollow Studs
Parts: Panel
 
Part No: 4070  Name: Brick, Modified 1 x 1 with Headlight
* 
4070 Brick, Modified 1 x 1 with Headlight
Parts: Brick, Modified
 
Part No: 34103  Name: Plate, Modified 1 x 3 with 2 Studs (Double Jumper)
* 
34103 Plate, Modified 1 x 3 with 2 Studs (Double Jumper)
Parts: Plate, Modified
There were no other parts involved in this update attempt.

Niek.

Same error, did you happen to have a sale on BO for those four items?
 Author: qwertyboy View Messages Posted By qwertyboy
 Posted: Feb 2, 2024 10:12
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 59 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

qwertyboy (8171)

Location:  Canada, Alberta
Member Since Contact Type Status
Apr 9, 2013 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Maple Bricks
In Technical Issues, BigBBricks writes:
  In Technical Issues, qwertyboy writes:
  In Technical Issues, minithings4life writes:
  Admin Russell, you did not understand what BrickFreedom was posting.
The API that updates inventory by a quantity (+ or -), is intermittently breaking
on part numbers that are not within your 4 changed parts.

This will break every piece of software that relies on updating Bricklink store
inventory using the API method.

I concur. The last failed update on our end was for
 
Part No: 3700  Name: Technic, Brick 1 x 2 with Hole
* 
3700 Technic, Brick 1 x 2 with Hole
Parts: Technic, Brick
 
Part No: 87552  Name: Panel 1 x 2 x 2 with Side Supports - Hollow Studs
* 
87552 Panel 1 x 2 x 2 with Side Supports - Hollow Studs
Parts: Panel
 
Part No: 4070  Name: Brick, Modified 1 x 1 with Headlight
* 
4070 Brick, Modified 1 x 1 with Headlight
Parts: Brick, Modified
 
Part No: 34103  Name: Plate, Modified 1 x 3 with 2 Studs (Double Jumper)
* 
34103 Plate, Modified 1 x 3 with 2 Studs (Double Jumper)
Parts: Plate, Modified
There were no other parts involved in this update attempt.

Niek.

Same error, did you happen to have a sale on BO for those four items?

Yes.

Niek.
 Author: macebobo View Messages Posted By macebobo
 Posted: Feb 2, 2024 01:15
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 77 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

macebobo (2723)

Location:  USA, Oregon
Member Since Contact Type Status
Apr 3, 2016 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: MacsBricks
In Technical Issues, Admin_Russell writes:
  In Technical Issues, BrickFreedom writes:
  Hi

Have you made changes to the (Update Store Inventory -- PUT - /inventories/{inventory_id})
API request?

Previously you could call the API with the following parameters and would have
no issues:

['quantity' = '-2']

Now it's responding with:

["description":"String input must not be null","message":"PARAMETER_MISSING_OR_INVALID"]

Weirdly a couple of requests have completed successfully but most of the requests
are failing with the above error message. Can someone please advise what this
error is and if it's a bug that has been released into the API by accident?

We are closely monitoring the effects of changing the item number for 4 basic
parts earlier today. There have been reports that Brickstore is having issues
and now you are reporting about API.


I can not do any PUT to /Inventory, as I could before. I am getting a similar
message in my custom software I use for adding inventory, picking, and shipping.

I also have not been able to pass a style tag via the api anymore since coming
back online after the cyber incident. Although, I can still do that in the UI
(which has changed too, details to come in another post.) It appears to be being
filtered on AWS and returning a 403 Forbidden. I have let the API team know,
but my last response from them was:

"The API and UI may have further changes very soon that could effect certain
HTML; expectation by end of month."
That quote is from January.

Obviously, some of these changes have been put in place and not communicated
to the users of Bricklink.

It would really be nice if these changes were made in a much more public, stable,
and professional manner. But 'tis the Bricklink way to test in Production
on its users.

I was really hoping the MOC Popup shop deployment success was not a one off.
Sigh!

I sincerely hope we are not witnessing the beginning of the end of Bricklink.
 Author: Stellar View Messages Posted By Stellar
 Posted: Feb 2, 2024 04:30
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 60 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Stellar (3819)

Location:  Spain, Comunidad Valenciana
Member Since Contact Type Status
Sep 24, 2015 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Stellar Bricks
BrickLink Discussions Moderator (?)
In Technical Issues, macebobo writes:
  In Technical Issues, Admin_Russell writes:
  In Technical Issues, BrickFreedom writes:
  Hi

Have you made changes to the (Update Store Inventory -- PUT - /inventories/{inventory_id})
API request?

Previously you could call the API with the following parameters and would have
no issues:

['quantity' = '-2']

Now it's responding with:

["description":"String input must not be null","message":"PARAMETER_MISSING_OR_INVALID"]

Weirdly a couple of requests have completed successfully but most of the requests
are failing with the above error message. Can someone please advise what this
error is and if it's a bug that has been released into the API by accident?

We are closely monitoring the effects of changing the item number for 4 basic
parts earlier today. There have been reports that Brickstore is having issues
and now you are reporting about API.


I can not do any PUT to /Inventory, as I could before. I am getting a similar
message in my custom software I use for adding inventory, picking, and shipping.

I also have not been able to pass a style tag via the api anymore since coming
back online after the cyber incident. Although, I can still do that in the UI
(which has changed too, details to come in another post.) It appears to be being
filtered on AWS and returning a 403 Forbidden. I have let the API team know,
but my last response from them was:

"The API and UI may have further changes very soon that could effect certain
HTML; expectation by end of month."
That quote is from January.

Obviously, some of these changes have been put in place and not communicated
to the users of Bricklink.

It would really be nice if these changes were made in a much more public, stable,
and professional manner. But 'tis the Bricklink way to test in Production
on its users.

I was really hoping the MOC Popup shop deployment success was not a one off.
Sigh!

I sincerely hope we are not witnessing the beginning of the end of Bricklink.

If only there was a place to note this changes...

https://www.bricklink.com/v3/api.page?page=changelog

Many stores that rely on Bricklink as a part of their business need the API for
accounting and to manage their inventory, this breaking changes to core functionality
can't be put in place when income to many families are in play without notice
to adapt...
 Author: macebobo View Messages Posted By macebobo
 Posted: Feb 5, 2024 15:17
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 51 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

macebobo (2723)

Location:  USA, Oregon
Member Since Contact Type Status
Apr 3, 2016 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: MacsBricks
In Technical Issues, Stellar writes:
  If only there was a place to note this changes...

https://www.bricklink.com/v3/api.page?page=changelog

Many stores that rely on Bricklink as a part of their business need the API for
accounting and to manage their inventory, this breaking changes to core functionality
can't be put in place when income to many families are in play without notice
to adapt...

Last entry there was February 2022 Obviously, there have been changes since
then. However, I concur with you sentiment.

I think we are witnessing the enshitification of Bricklink https://en.wikipedia.org/wiki/Enshittification
 Author: 1001bricks View Messages Posted By 1001bricks
 Posted: Feb 5, 2024 15:48
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 63 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

1001bricks (53768)

Location:  France, Provence-Alpes-Côte d'Azur
Member Since Contact Type Status
Sep 6, 2005 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: 1001bricks
  
  Many stores that rely on Bricklink as a part of their business need the API for
accounting and to manage their inventory, this breaking changes to core functionality
can't be put in place when income to many families are in play without notice
to adapt...

Last entry there was February 2022 Obviously, there have been changes since
then. However, I concur with you sentiment.

I think we are witnessing the enshitification of Bricklink https://en.wikipedia.org/wiki/Enshittification

I knew the concept, not the invention of this term; interesting, thank you!

But yes, I hope it's not what's happening.
 Author: misbi View Messages Posted By misbi
 Posted: Feb 2, 2024 03:54
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 64 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

misbi (8885)

Location:  United Kingdom, Scotland
Member Since Contact Type Status Collage
Nov 25, 2001 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
View Collage Pic
Store: Brickshop UK
In Technical Issues, Admin_Russell writes:

  We are closely monitoring the effects of changing the item number for 4 basic
parts earlier today. There have been reports that Brickstore is having issues
and now you are reporting about API.

Please take a look here for the 4 numbers that were changed:

Same here, seeing several parts (unrelated to renumbering) unable to be updated
via api simply returning a 400 error. Something is clearly broken.
 Author: ExplodingFruit View Messages Posted By ExplodingFruit
 Posted: Feb 1, 2024 18:53
 Subject: (Cancelled)
 Viewed: 59 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

ExplodingFruit (1547)

Location:  USA, Wisconsin
Member Since Contact Type Status
Apr 22, 2022 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: The Exploding Brick Store
(Cancelled)
 Author: BigBBricks View Messages Posted By BigBBricks
 Posted: Feb 1, 2024 19:00
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 61 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

BigBBricks (16674)

Location:  USA, Pennsylvania
Member Since Contact Type Status
Dec 2, 2013 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Big B Bricks
In Technical Issues, ExplodingFruit writes:

  I do not think everything was well thought out here. I just uploaded the Concorde
into my store and 8 common pieces were rejected-not in the catalog. Now I am
informed I should close my BO store! Very disappointing.

I can confirm that the changes made on the BO side worked properly so you shouldn't
need to close it. I ran a sync after the admin updated their trackers and all
137 errors from BL changing the IDs were fixed. You may need to update the BStore
DB to upload without issue.
 Author: BigBBricks View Messages Posted By BigBBricks
 Posted: Feb 1, 2024 18:57
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 80 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

BigBBricks (16674)

Location:  USA, Pennsylvania
Member Since Contact Type Status
Dec 2, 2013 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Big B Bricks
In Technical Issues, BrickFreedom writes:
  Hi

Have you made changes to the (Update Store Inventory -- PUT - /inventories/{inventory_id})
API request?

Previously you could call the API with the following parameters and would have
no issues:

['quantity' = '-2']

Now it's responding with:

["description":"String input must not be null","message":"PARAMETER_MISSING_OR_INVALID"]

Weirdly a couple of requests have completed successfully but most of the requests
are failing with the above error message. Can someone please advise what this
error is and if it's a bug that has been released into the API by accident?

BrickFreedom, I am seeing the same API error in BrickSync, it occurred right
after a sale on BO when BSync attempted to modify the values on BL. I was 100%
after the changes were made to the BO inventory tracking system to identify the
BL numbers that were changed today.
 Author: jandksleeper View Messages Posted By jandksleeper
 Posted: Feb 1, 2024 18:58
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 63 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

jandksleeper (653)

Location:  USA, Michigan
Member Since Contact Type Status
Jun 30, 2013 Member Does Not Allow Contact Seller
Buying Privileges - OKSelling Privileges - OK
Store: West Michigan Brick
In Technical Issues, BrickFreedom writes:
  Hi

Have you made changes to the (Update Store Inventory -- PUT - /inventories/{inventory_id})
API request?

Previously you could call the API with the following parameters and would have
no issues:

['quantity' = '-2']

Now it's responding with:

["description":"String input must not be null","message":"PARAMETER_MISSING_OR_INVALID"]

Weirdly a couple of requests have completed successfully but most of the requests
are failing with the above error message. Can someone please advise what this
error is and if it's a bug that has been released into the API by accident?

I know this issue is new but I had a BOwl order already in my queue and I see
that my Brick Link inventory has not updated from the sale. Do you think I should
go in and manually adjust my inventory or will it update once the issue is fixed?
 Author: BrickFreedom View Messages Posted By BrickFreedom
 Posted: Feb 1, 2024 19:03
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 95 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

BrickFreedom (60)

Location:  United Kingdom, England
Member Since Contact Type Status
May 16, 2017 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: Brick Freedom
In Technical Issues, jandksleeper writes:
  In Technical Issues, BrickFreedom writes:
  Hi

Have you made changes to the (Update Store Inventory -- PUT - /inventories/{inventory_id})
API request?

Previously you could call the API with the following parameters and would have
no issues:

['quantity' = '-2']

Now it's responding with:

["description":"String input must not be null","message":"PARAMETER_MISSING_OR_INVALID"]

Weirdly a couple of requests have completed successfully but most of the requests
are failing with the above error message. Can someone please advise what this
error is and if it's a bug that has been released into the API by accident?

I know this issue is new but I had a BOwl order already in my queue and I see
that my Brick Link inventory has not updated from the sale. Do you think I should
go in and manually adjust my inventory or will it update once the issue is fixed?

Sent you an email.
 Author: Teup View Messages Posted By Teup
 Posted: Feb 1, 2024 19:44
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 111 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Teup (6854)

Location:  Netherlands, Utrecht
Member Since Contact Type Status
May 6, 2004 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: BLOKJESKONING
In Technical Issues, BrickFreedom writes:
  Hi

Have you made changes to the (Update Store Inventory -- PUT - /inventories/{inventory_id})
API request?

Previously you could call the API with the following parameters and would have
no issues:

['quantity' = '-2']

Now it's responding with:

["description":"String input must not be null","message":"PARAMETER_MISSING_OR_INVALID"]

Weirdly a couple of requests have completed successfully but most of the requests
are failing with the above error message. Can someone please advise what this
error is and if it's a bug that has been released into the API by accident?

Well, I am not surprised. This was my point... Making changes should have been
done the professional way by Bricklink:

1. Set a date, communicate clear heads-up, to get everyone on the same page with
it: the sellers, the guys from all these apps
2. Give enough time for everyone to prepare an update and stand by
3. Apply the changes all at once exactly on that announced date

Unfortunately what we got was more of a "let's push a button and see
what happens" way... I suppose such problems are going to persist no matter
the updates, as long as Bricklink gradually keeps changing things unannounced,
constantly rendering the updates outdated.
 Author: brick.warehouse View Messages Posted By brick.warehouse
 Posted: Feb 1, 2024 21:12
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 70 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

brick.warehouse (14227)

Location:  Australia, Western Australia
Member Since Contact Type Status
Jun 4, 2017 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Bricks Warehouse
It would also help if Bricklink exposed a stable surrogate key (itemId iirc)
via the API, so that syncing tools can still map parts correctly even when the
design/part/item number is changed.
 Author: 1001bricks View Messages Posted By 1001bricks
 Posted: Feb 1, 2024 21:14
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 70 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

1001bricks (53768)

Location:  France, Provence-Alpes-Côte d'Azur
Member Since Contact Type Status
Sep 6, 2005 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: 1001bricks
In Technical Issues, brick.warehouse writes:
  It would also help if Bricklink exposed a stable surrogate key (itemId iirc)
via the API, so that syncing tools can still map parts correctly even when the
design/part/item number is changed.

Why? To facilitate people to sell elsewhere? See, I'm not sure...
 Author: brick.warehouse View Messages Posted By brick.warehouse
 Posted: Feb 1, 2024 21:18
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 63 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

brick.warehouse (14227)

Location:  Australia, Western Australia
Member Since Contact Type Status
Jun 4, 2017 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Bricks Warehouse
In Technical Issues, 1001bricks writes:
  In Technical Issues, brick.warehouse writes:
  It would also help if Bricklink exposed a stable surrogate key (itemId iirc)
via the API, so that syncing tools can still map parts correctly even when the
design/part/item number is changed.

Why? To facilitate people to sell elsewhere? See, I'm not sure...

You're making up motivations that I didn't express.

It's common to use offline inventory management tools (like BrickStore, or
many others, including custom solutions).

These all break to some degree when the design number changes because the Bricklink
API uses a mutable field as the identifier.
 Author: 1001bricks View Messages Posted By 1001bricks
 Posted: Feb 1, 2024 21:27
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 58 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

1001bricks (53768)

Location:  France, Provence-Alpes-Côte d'Azur
Member Since Contact Type Status
Sep 6, 2005 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: 1001bricks
In Technical Issues, brick.warehouse writes:
  In Technical Issues, 1001bricks writes:
  In Technical Issues, brick.warehouse writes:
  It would also help if Bricklink exposed a stable surrogate key (itemId iirc)
via the API, so that syncing tools can still map parts correctly even when the
design/part/item number is changed.

Why? To facilitate people to sell elsewhere? See, I'm not sure...

You're making up motivations that I didn't express.

"syncing tools"?


  It's common to use offline inventory management tools (like BrickStore, or
many others, including custom solutions).

These all break to some degree when the design number changes because the Bricklink
API uses a mutable field as the identifier.

BrickStore didn't have a problem with this change - and other changes -,
it checks the catalog change logs.

Of course this could be nice for the 100/500 hyper computerized sellers.

Frankly, I'd prefer they spend time on something that'd help more (all)
sellers, and why not buyers.

But yes, it could be useful.
 Author: brick.warehouse View Messages Posted By brick.warehouse
 Posted: Feb 1, 2024 21:37
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 82 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

brick.warehouse (14227)

Location:  Australia, Western Australia
Member Since Contact Type Status
Jun 4, 2017 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Bricks Warehouse
Offline tools sync inventory as well. The term doesn't necessarily imply
synchronising between marketplaces.

It's also not just the API that relies on the design number. The internet
is full of links to Bricklink parts from forums etc. Those links are now broken
because they also use the design number as an identifier.

e.g. https://www.bricklink.com/catalogItem.asp?P=3069b
 Author: BigBBricks View Messages Posted By BigBBricks
 Posted: Feb 1, 2024 21:42
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 81 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

BigBBricks (16674)

Location:  USA, Pennsylvania
Member Since Contact Type Status
Dec 2, 2013 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Big B Bricks
In Technical Issues, brick.warehouse writes:
  Offline tools sync inventory as well. The term doesn't necessarily imply
synchronising between marketplaces.

It's also not just the API that relies on the design number. The internet
is full of links to Bricklink parts from forums etc. Those links are now broken
because they also use the design number as an identifier.

e.g. https://www.bricklink.com/catalogItem.asp?P=3069b

If they only had someone that could create a url redirect so that any query to
that address would automatically go to https://www.bricklink.com/catalogItem.asp?P=3069
instead...
 Author: 1001bricks View Messages Posted By 1001bricks
 Posted: Feb 1, 2024 21:49
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 64 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

1001bricks (53768)

Location:  France, Provence-Alpes-Côte d'Azur
Member Since Contact Type Status
Sep 6, 2005 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: 1001bricks
In Technical Issues, brick.warehouse writes:
  It's also not just the API that relies on the design number. The internet
is full of links to Bricklink parts from forums etc. Those links are now broken
because they also use the design number as an identifier.

e.g. https://www.bricklink.com/catalogItem.asp?P=3069b

Yep, but this numbering is a bit logical and easy.
Changing for 683989 or xCvB3601 or 1234 would also drive people crazy.

I've no simple solution to solve complex problems.
Otherwise I wouldn't be here selling LEGO parts - I'd be on an island
drinking a Piña Colada
 Author: randyf View Messages Posted By randyf
 Posted: Feb 2, 2024 01:36
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 71 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

randyf (444)

Location:  USA, Ohio
Member Since Contact Type Status
Sep 16, 2009 Member Does Not Allow Contact Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: The Bricking Spectre
BrickLink Catalog Administrator (?)
In Technical Issues, 1001bricks writes:

  Frankly, I'd prefer they spend time on something that'd help more (all)
sellers, and why not buyers.


You mean something like...let's say...a real solution for handling variants?
 Author: Teup View Messages Posted By Teup
 Posted: Feb 2, 2024 04:30
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 52 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Teup (6854)

Location:  Netherlands, Utrecht
Member Since Contact Type Status
May 6, 2004 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: BLOKJESKONING
In Technical Issues, 1001bricks writes:
  In Technical Issues, brick.warehouse writes:
  In Technical Issues, 1001bricks writes:
  In Technical Issues, brick.warehouse writes:
  It would also help if Bricklink exposed a stable surrogate key (itemId iirc)
via the API, so that syncing tools can still map parts correctly even when the
design/part/item number is changed.

Why? To facilitate people to sell elsewhere? See, I'm not sure...

You're making up motivations that I didn't express.

"syncing tools"?


  It's common to use offline inventory management tools (like BrickStore, or
many others, including custom solutions).

These all break to some degree when the design number changes because the Bricklink
API uses a mutable field as the identifier.

BrickStore didn't have a problem with this change - and other changes -,
it checks the catalog change logs.

Of course this could be nice for the 100/500 hyper computerized sellers.


Well, it's really not 'going an extra mile' to change things in a
clean, consistent way. That's just how you do anything in a professional
way. We're not asking for anything extra, we are asking for things to be
done in a non-chaotic way. You fix a road by announcing it, closing it, changing
it, then opening it again. If you start fixing small bits at a time and it causes
dangerous situations, you can't blame it on the drivers if something goes
wrong. We can praise Brickstore for being able to handle it, but it doesn't
excuse how Bricklink is doing this.

  Frankly, I'd prefer they spend time on something that'd help more (all)
sellers, and why not buyers.

What helps all buyers is if I could be open for business, and right now I can't...
 Author: yorbrick View Messages Posted By yorbrick
 Posted: Feb 2, 2024 04:39
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 48 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

yorbrick (1197)

Location:  United Kingdom, England
Member Since Contact Type Status
Apr 11, 2011 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: Yorbricks
  What helps all buyers is if I could be open for business, and right now I can't...

Is it that big a deal if only a minority of your business is here?

Exactly the type of antics why we've already moved most of our business
away from
this platform.


https://www.bricklink.com/message.asp?ID=1450844
 Author: Teup View Messages Posted By Teup
 Posted: Feb 2, 2024 05:20
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 76 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Teup (6854)

Location:  Netherlands, Utrecht
Member Since Contact Type Status
May 6, 2004 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: BLOKJESKONING
In Technical Issues, yorbrick writes:
  
  What helps all buyers is if I could be open for business, and right now I can't...

Is it that big a deal if only a minority of your business is here?

Exactly the type of antics why we've already moved most of our business
away from
this platform.


https://www.bricklink.com/message.asp?ID=1450844

Clever, but I can do you one better
Why is it a minority? Because Bricklink does things this way. I'm not disappointed
in Bricklink because I am selling elsewhere - I am selling elsewhere because
I am disappointed in Bricklink.
 Author: Alfiesbricks View Messages Posted By Alfiesbricks
 Posted: Feb 2, 2024 02:26
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 71 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Alfiesbricks (3232)

Location:  Netherlands, Drenthe
Member Since Contact Type Status
Jun 13, 2018 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Alfiesbricks
In Technical Issues, 1001bricks writes:
  In Technical Issues, brick.warehouse writes:
  It would also help if Bricklink exposed a stable surrogate key (itemId iirc)
via the API, so that syncing tools can still map parts correctly even when the
design/part/item number is changed.

Why? To facilitate people to sell elsewhere? See, I'm not sure...

As I explained before, selling elsewhere also means selling on bricklink. I would
not be able to run my store as it is with only the revenue from bricklink. So
selling on other platforms keep me selling on bricklink as well. When this possibility
brakes I will need to close the shop. And I know for sure, that I'm not the
only seller in this situation. Now, if the idea is to get rid of sellers, then
this type of action is exactly what is needed. But in the end it will mean also
less revenue for bricklink and therefore less revenue to maintain bricklink.
I don't have a shop with four sales a month so that fees can't be missed,
but I also don't sell over 400 orders a month to qualify for the staffeled
discount on fees. So, per sale I'm paying the full 100 percent on sales.
I guess that these type of stores are very much needed to generate enough income
to maintain and pay for the TCO of a website as bricklink. And yes, other marketplaces
are needed. Bricklink should never be a monopolist. That would create very unhealthy
market situations. And for buyers, not all of them are able to can get used to
the elaborate site of bricklink and it's steap learning curve. And last but
not least, how hypocritical would it be when bricklink would allow buyers websites
like rebrickable to make use of their content to sell to users that way?

Don't ever think that selling on other platforms is costing bricklink customers.
Because it isn't. Different customers, different preferences and different
orders, that's my experience. Even different geographical regions of the
world! So if the goal is to create a buyer friendly market.. Well. I think I
explained enough. 😉
 Author: jennnifer View Messages Posted By jennnifer
 Posted: Feb 2, 2024 10:25
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 89 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

jennnifer (3605)

Location:  USA, Illinois
Member Since Contact Type Status
Sep 8, 2009 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Old Grey Bricks
In Technical Issues, 1001bricks writes:
  In Technical Issues, brick.warehouse writes:
  It would also help if Bricklink exposed a stable surrogate key (itemId iirc)
via the API, so that syncing tools can still map parts correctly even when the
design/part/item number is changed.

Why? To facilitate people to sell elsewhere? See, I'm not sure...

I don't feel that supporting the API is just to help sellers sync with the
other marketplaces. There are many tools and software that rely on it and it's
not just sellers who use it.

Also, BrickLink has shown no movement whatsoever on needed seller tools. So the
least they can do is professionally maintain the API for those who have made
these for themselves.

Thanks,
~Jen
 Author: nerdgeek View Messages Posted By nerdgeek
 Posted: Feb 2, 2024 03:24
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 70 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

nerdgeek (2134)

Location:  Belgium, Oost-Vlaanderen
Member Since Contact Type Status
Aug 12, 2020 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: a nerdgeek.store 🤓🌎🆓📬
In Technical Issues, BrickFreedom writes:
  Hi

Have you made changes to the (Update Store Inventory -- PUT - /inventories/{inventory_id})
API request?

Previously you could call the API with the following parameters and would have
no issues:

['quantity' = '-2']

Now it's responding with:

["description":"String input must not be null","message":"PARAMETER_MISSING_OR_INVALID"]

Weirdly a couple of requests have completed successfully but most of the requests
are failing with the above error message. Can someone please advise what this
error is and if it's a bug that has been released into the API by accident?

Any advice on a fix for the API?
 Author: ErwinNL View Messages Posted By ErwinNL
 Posted: Feb 2, 2024 04:29
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 68 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

ErwinNL (632)

Location:  Netherlands, Overijssel
Member Since Contact Type Status
Oct 27, 2019 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: TheBug
In Technical Issues, BrickFreedom writes:
  Hi

Have you made changes to the (Update Store Inventory -- PUT - /inventories/{inventory_id})
API request?

Previously you could call the API with the following parameters and would have
no issues:

['quantity' = '-2']

Now it's responding with:

["description":"String input must not be null","message":"PARAMETER_MISSING_OR_INVALID"]

Weirdly a couple of requests have completed successfully but most of the requests
are failing with the above error message. Can someone please advise what this
error is and if it's a bug that has been released into the API by accident?

I can confirm relative updates are broken with the API.
 Author: ErwinNL View Messages Posted By ErwinNL
 Posted: Feb 2, 2024 04:47
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 59 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

ErwinNL (632)

Location:  Netherlands, Overijssel
Member Since Contact Type Status
Oct 27, 2019 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: TheBug
In Technical Issues, ErwinNL writes:
  In Technical Issues, BrickFreedom writes:
  Hi

Have you made changes to the (Update Store Inventory -- PUT - /inventories/{inventory_id})
API request?

Previously you could call the API with the following parameters and would have
no issues:

['quantity' = '-2']

Now it's responding with:

["description":"String input must not be null","message":"PARAMETER_MISSING_OR_INVALID"]

Weirdly a couple of requests have completed successfully but most of the requests
are failing with the above error message. Can someone please advise what this
error is and if it's a bug that has been released into the API by accident?

I can confirm relative updates are broken with the API.

Correction, inventory update using the API in general seems broken. Relative
or not.
 Author: ErwinNL View Messages Posted By ErwinNL
 Posted: Feb 2, 2024 04:52
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 115 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

ErwinNL (632)

Location:  Netherlands, Overijssel
Member Since Contact Type Status
Oct 27, 2019 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: TheBug
In Technical Issues, ErwinNL writes:
  In Technical Issues, ErwinNL writes:
  In Technical Issues, BrickFreedom writes:
  Hi

Have you made changes to the (Update Store Inventory -- PUT - /inventories/{inventory_id})
API request?

Previously you could call the API with the following parameters and would have
no issues:

['quantity' = '-2']

Now it's responding with:

["description":"String input must not be null","message":"PARAMETER_MISSING_OR_INVALID"]

Weirdly a couple of requests have completed successfully but most of the requests
are failing with the above error message. Can someone please advise what this
error is and if it's a bug that has been released into the API by accident?

I can confirm relative updates are broken with the API.

Correction, inventory update using the API in general seems broken. Relative
or not.

The fix is to specify the "description" field.

{"quantity":4, "description":""}

Works fine and fixes it as far as I can tell.
 Author: Stellar View Messages Posted By Stellar
 Posted: Feb 2, 2024 04:57
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 55 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Stellar (3819)

Location:  Spain, Comunidad Valenciana
Member Since Contact Type Status
Sep 24, 2015 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Stellar Bricks
BrickLink Discussions Moderator (?)
In Technical Issues, ErwinNL writes:
  In Technical Issues, ErwinNL writes:
  In Technical Issues, ErwinNL writes:
  In Technical Issues, BrickFreedom writes:
  Hi

Have you made changes to the (Update Store Inventory -- PUT - /inventories/{inventory_id})
API request?

Previously you could call the API with the following parameters and would have
no issues:

['quantity' = '-2']

Now it's responding with:

["description":"String input must not be null","message":"PARAMETER_MISSING_OR_INVALID"]

Weirdly a couple of requests have completed successfully but most of the requests
are failing with the above error message. Can someone please advise what this
error is and if it's a bug that has been released into the API by accident?

I can confirm relative updates are broken with the API.

Correction, inventory update using the API in general seems broken. Relative
or not.

The fix is to specify the "description" field.

{"quantity":4, "description":""}

Works fine and fixes it as far as I can tell.

I can confirm this works for negative quantity too!
 Author: briquestore.fr View Messages Posted By briquestore.fr
 Posted: Feb 2, 2024 05:04
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 65 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

briquestore.fr (2762)

Location:  France, Centre-Val de Loire
Member Since Contact Type Status
Feb 24, 2016 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Briquestore.fr
In Technical Issues, ErwinNL writes:
  In Technical Issues, ErwinNL writes:
  In Technical Issues, ErwinNL writes:
  In Technical Issues, BrickFreedom writes:
  Hi

Have you made changes to the (Update Store Inventory -- PUT - /inventories/{inventory_id})
API request?

Previously you could call the API with the following parameters and would have
no issues:

['quantity' = '-2']

Now it's responding with:

["description":"String input must not be null","message":"PARAMETER_MISSING_OR_INVALID"]

Weirdly a couple of requests have completed successfully but most of the requests
are failing with the above error message. Can someone please advise what this
error is and if it's a bug that has been released into the API by accident?

I can confirm relative updates are broken with the API.

Correction, inventory update using the API in general seems broken. Relative
or not.

The fix is to specify the "description" field.

{"quantity":4, "description":""}

Works fine and fixes it as far as I can tell.

Thank you
 Author: ErwinNL View Messages Posted By ErwinNL
 Posted: Feb 2, 2024 05:07
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 62 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

ErwinNL (632)

Location:  Netherlands, Overijssel
Member Since Contact Type Status
Oct 27, 2019 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: TheBug
In Technical Issues, briquestore.fr writes:
  In Technical Issues, ErwinNL writes:
  In Technical Issues, ErwinNL writes:
  In Technical Issues, ErwinNL writes:
  In Technical Issues, BrickFreedom writes:
  Hi

Have you made changes to the (Update Store Inventory -- PUT - /inventories/{inventory_id})
API request?

Previously you could call the API with the following parameters and would have
no issues:

['quantity' = '-2']

Now it's responding with:

["description":"String input must not be null","message":"PARAMETER_MISSING_OR_INVALID"]

Weirdly a couple of requests have completed successfully but most of the requests
are failing with the above error message. Can someone please advise what this
error is and if it's a bug that has been released into the API by accident?

I can confirm relative updates are broken with the API.

Correction, inventory update using the API in general seems broken. Relative
or not.

The fix is to specify the "description" field.

{"quantity":4, "description":""}

Works fine and fixes it as far as I can tell.

Thank you

Make sure you don't delete your descriptions if you use them, so specify
the existing description, or "" but not null or no description field.
 Author: Teup View Messages Posted By Teup
 Posted: Feb 2, 2024 05:17
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 62 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Teup (6854)

Location:  Netherlands, Utrecht
Member Since Contact Type Status
May 6, 2004 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: BLOKJESKONING
In Technical Issues, ErwinNL writes:
  In Technical Issues, ErwinNL writes:
  In Technical Issues, ErwinNL writes:
  In Technical Issues, BrickFreedom writes:
  Hi

Have you made changes to the (Update Store Inventory -- PUT - /inventories/{inventory_id})
API request?

Previously you could call the API with the following parameters and would have
no issues:

['quantity' = '-2']

Now it's responding with:

["description":"String input must not be null","message":"PARAMETER_MISSING_OR_INVALID"]

Weirdly a couple of requests have completed successfully but most of the requests
are failing with the above error message. Can someone please advise what this
error is and if it's a bug that has been released into the API by accident?

I can confirm relative updates are broken with the API.

Correction, inventory update using the API in general seems broken. Relative
or not.

The fix is to specify the "description" field.

{"quantity":4, "description":""}

Works fine and fixes it as far as I can tell.

Can confirm! Thanks Erwin!
 Author: misbi View Messages Posted By misbi
 Posted: Feb 2, 2024 06:32
 Subject: (Cancelled)
 Viewed: 45 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

misbi (8885)

Location:  United Kingdom, Scotland
Member Since Contact Type Status Collage
Nov 25, 2001 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
View Collage Pic
Store: Brickshop UK
(Cancelled)
 Author: misbi View Messages Posted By misbi
 Posted: Feb 2, 2024 06:40
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 99 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

misbi (8885)

Location:  United Kingdom, Scotland
Member Since Contact Type Status Collage
Nov 25, 2001 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
View Collage Pic
Store: Brickshop UK
In Technical Issues, ErwinNL writes:

  The fix is to specify the "description" field.

{"quantity":4, "description":""}

Works fine and fixes it as far as I can tell.

Haha - fixed by 'TheBug' - nice one 👌
 Author: qwertyboy View Messages Posted By qwertyboy
 Posted: Feb 2, 2024 16:04
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 54 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

qwertyboy (8171)

Location:  Canada, Alberta
Member Since Contact Type Status
Apr 9, 2013 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Maple Bricks
In Technical Issues, ErwinNL writes:
  The fix is to specify the "description" field.

{"quantity":4, "description":""}

Works fine and fixes it as far as I can tell.

I can't help but think someone at BL was a bit overzealous. With the merging
changes, the advice from BL was to put some text in the "description"
field to specify mold differences. Maybe this was construed as "now everything
needs a description", so the API was changed to now require a "description"
field...

Niek.
 Author: briquestore.fr View Messages Posted By briquestore.fr
 Posted: Feb 2, 2024 04:49
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 76 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

briquestore.fr (2762)

Location:  France, Centre-Val de Loire
Member Since Contact Type Status
Feb 24, 2016 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Briquestore.fr
In Technical Issues, BrickFreedom writes:
  Hi

Have you made changes to the (Update Store Inventory -- PUT - /inventories/{inventory_id})
API request?

Previously you could call the API with the following parameters and would have
no issues:

['quantity' = '-2']

Now it's responding with:

["description":"String input must not be null","message":"PARAMETER_MISSING_OR_INVALID"]

Weirdly a couple of requests have completed successfully but most of the requests
are failing with the above error message. Can someone please advise what this
error is and if it's a bug that has been released into the API by accident?

Hi, same problem here :
"description": "String input must not be null",
"message": "PARAMETER_MISSING_OR_INVALID",
"code": 400
 Author: ErwinNL View Messages Posted By ErwinNL
 Posted: Feb 2, 2024 04:56
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 79 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

ErwinNL (632)

Location:  Netherlands, Overijssel
Member Since Contact Type Status
Oct 27, 2019 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: TheBug
In Technical Issues, briquestore.fr writes:
  In Technical Issues, BrickFreedom writes:
  Hi

Have you made changes to the (Update Store Inventory -- PUT - /inventories/{inventory_id})
API request?

Previously you could call the API with the following parameters and would have
no issues:

['quantity' = '-2']

Now it's responding with:

["description":"String input must not be null","message":"PARAMETER_MISSING_OR_INVALID"]

Weirdly a couple of requests have completed successfully but most of the requests
are failing with the above error message. Can someone please advise what this
error is and if it's a bug that has been released into the API by accident?

Hi, same problem here :
"description": "String input must not be null",
"message": "PARAMETER_MISSING_OR_INVALID",
"code": 400

https://www.bricklink.com/message.asp?ID=1452167
 Author: Admin View Messages Posted By Admin
 Posted: Feb 2, 2024 17:07
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 141 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Admin

Location: (Undetermined)
Member Since Contact Type Status
Apr 30, 2000 Contact Member Admin
Buying Privileges - OKSelling Privileges - OK
BrickLink Administrator
In Technical Issues, BrickFreedom writes:
  Hi

Have you made changes to the (Update Store Inventory -- PUT - /inventories/{inventory_id})
API request?

Previously you could call the API with the following parameters and would have
no issues:

['quantity' = '-2']

Now it's responding with:

["description":"String input must not be null","message":"PARAMETER_MISSING_OR_INVALID"]

Weirdly a couple of requests have completed successfully but most of the requests
are failing with the above error message. Can someone please advise what this
error is and if it's a bug that has been released into the API by accident?

We just pushed a fix for this to production. Please let us know if the problem
persists.
 Author: ErwinNL View Messages Posted By ErwinNL
 Posted: Feb 2, 2024 21:56
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 87 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

ErwinNL (632)

Location:  Netherlands, Overijssel
Member Since Contact Type Status
Oct 27, 2019 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: TheBug
In Technical Issues, Admin writes:
  In Technical Issues, BrickFreedom writes:
  Hi

Have you made changes to the (Update Store Inventory -- PUT - /inventories/{inventory_id})
API request?

Previously you could call the API with the following parameters and would have
no issues:

['quantity' = '-2']

Now it's responding with:

["description":"String input must not be null","message":"PARAMETER_MISSING_OR_INVALID"]

Weirdly a couple of requests have completed successfully but most of the requests
are failing with the above error message. Can someone please advise what this
error is and if it's a bug that has been released into the API by accident?

We just pushed a fix for this to production. Please let us know if the problem
persists.

Thank you, I will test it in a few hours.
 Author: BrickFreedom View Messages Posted By BrickFreedom
 Posted: Feb 3, 2024 04:48
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 75 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

BrickFreedom (60)

Location:  United Kingdom, England
Member Since Contact Type Status
May 16, 2017 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: Brick Freedom
In Technical Issues, Admin writes:
  In Technical Issues, BrickFreedom writes:
  Hi

Have you made changes to the (Update Store Inventory -- PUT - /inventories/{inventory_id})
API request?

Previously you could call the API with the following parameters and would have
no issues:

['quantity' = '-2']

Now it's responding with:

["description":"String input must not be null","message":"PARAMETER_MISSING_OR_INVALID"]

Weirdly a couple of requests have completed successfully but most of the requests
are failing with the above error message. Can someone please advise what this
error is and if it's a bug that has been released into the API by accident?

We just pushed a fix for this to production. Please let us know if the problem
persists.

All looking good, thank you.
 Author: Stellar View Messages Posted By Stellar
 Posted: Feb 4, 2024 05:52
 Subject: Re: Bricklink API - Update Store Inventory
 Viewed: 58 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Stellar (3819)

Location:  Spain, Comunidad Valenciana
Member Since Contact Type Status
Sep 24, 2015 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Stellar Bricks
BrickLink Discussions Moderator (?)
In Technical Issues, Admin writes:
  In Technical Issues, BrickFreedom writes:
  Hi

Have you made changes to the (Update Store Inventory -- PUT - /inventories/{inventory_id})
API request?

Previously you could call the API with the following parameters and would have
no issues:

['quantity' = '-2']

Now it's responding with:

["description":"String input must not be null","message":"PARAMETER_MISSING_OR_INVALID"]

Weirdly a couple of requests have completed successfully but most of the requests
are failing with the above error message. Can someone please advise what this
error is and if it's a bug that has been released into the API by accident?

We just pushed a fix for this to production. Please let us know if the problem
persists.

Thanks, now it works well just as before!