Example of JSON documents for Ordoro models

Hello,

I’m using a data integration tool which allows to import JSON documents and create “templates”/“profiles” for future re-use by pulling field names and types from JSON, together with the document’s hierarchy. I need examples of different Ordoro JSONs (“models”) to import. For example Order, BaseAddress, OrderAdditionalCartInfo etc. Do they exist? How can I get them?

Hi,

Outside of our documentation, if these items are not present, we have not yet published it. We are looking into solutions for better documentation, but at this time, what we have provided is what is available.

https://devapiverson.docs.apiary.io
https://ordoro.docs.apiary.io

Hello Sophie,

Thank you for the quick reply. Do you guys have any plans to provide JSON examples? As far as I understand, it should not be too complicated. An example for the BaseAddress would look like this:
{
“city”: “string”,
“fax”: “string”,
“name”: “string”,
“zip”: “string”,
“reference_number”: “string”,
“street1”: “string”,
“street2”: “string”,
“cart_address_id”: “string”,
“phone”: “string”,
“state”: “string”,
“country”: “string”,
“company”: “string”,
“email”: “string”
}

Hi,

We have examples, as well as schemas in the provided docs. Aside from that, as I mentioned, we are looking into solutions, but we do have timelines set for that at this time.

Thank you

From the V3 Order documentation, you can select https://devapiverson.docs.apiary.io/#reference/order/order/post and then view JSON Schema in the body portion of the Example view.

In the docs for the rest of our API you can see we have schema provided, though it is not in JSON format: https://ordoro.docs.apiary.io/#reference/model-baseaddress.

Hope these get you a bit further along