Order.add payload example needed

Trying to locate the order.add json payload example output for my infusionsoft customer.

We didn’t find it referenced in the API docs.

If you are referring to the RESThook “order.add” subscription, the payload should contain only the id of the added object and the timestamp of the change. You could then query the /orders/{id} endpoint to get the details of the object, which would be as described in the REST documentation.

1 Like

Yes, like @TomScott said, the hook payload contains the relevant contact/object id’s involved. They may come in a series inside of an array but that’s all that comes is notification it happened (by the hook being called) and the id’s. It would be easy enough to just create a trap at your endpoint to write the json string to a file and look at it with your own eyes.

1 Like