Solved

Rest PUT single record or multiple at one time?

  • 23 August 2023
  • 3 replies
  • 100 views

Userlevel 2
Badge

Hello all, 

We will be using the api’s to create new stock items as needed. Does Acumatica have the ability to accept a PUT command to Stock Items with multiple records? Or should we just loop through the needed records and create them individually? Thanks

icon

Best answer by sweta68 23 August 2023, 09:03

View original

3 replies

Userlevel 5
Badge +3

Hi,

The put request on top-level objects don’t accept arrays. It seems you would have to loop through the records to add multiple stock items. 

Userlevel 7
Badge +10

Hi @jamest ,

Acumatica does not support using a single PUT command to create multiple stock items simultaneously to ensure data integrity and to simplify error handling. To add multiple stock items, you will need to loop through the individual records and create them one by one.

Regards,

Sweta

Userlevel 2
Badge

Sounds good. Thanks for the quick replies. 

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved