I have a prospective client whose orders are fulfilled by a 3rd-party service. That service has recently added a "reverse API," so that their server can notify the store about changes to order status, such as switching it to "Processing" or "Shipped." I've just been looking at the docs on the JSON API, and it seems like this can't be done. It takes two separate requests, and the only allowed status change is to mark an order is Shipped.
Is the documentation missing something? I expected to find a more general-purpose request format that could be used to make other kinds of status changes.
I see that there's a way for modules to be called from the API. So I guess I can use that, and have my module figure out which DB fields to update. -- unless there's a quicker way to do this?
Thanks --
Is the documentation missing something? I expected to find a more general-purpose request format that could be used to make other kinds of status changes.
I see that there's a way for modules to be called from the API. So I guess I can use that, and have my module figure out which DB fields to update. -- unless there's a quicker way to do this?
Thanks --
Comment