Posting multiple risks in one time

New Member
1 0 0


Is it possible to post many risk objects in one call? 

Do you have any plans to add such behavior If it isn't?


PS The most curious thing is that API endpoint looks like

POST /admin/api/2019-10/orders/#{order_id}/risks.json

but currently it returns an error if I'm trying to send an array.

Shopify Staff
Shopify Staff
109 12 11

Hey @asokolov,


Sending multiple order_risks in a single API call isn't currently supported. It's possible for an order to return multiple risks from the risks.json endpoint (which is why the resource name is pluralized), but only 1 risk can be created/updated per API POST/PUT. If you have a use-case that requires creating multiple order risks at once, kindly explain that in more detail. This will help me make a recommendation for other potential options you can use, or I can pass along feedback about your use-case to our developers if this sounds like something other merchants could take advantage of as well.

JB | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution