JSON format features

Learn more about JSON format.

Using special characters

The parameter values passed in the request body in JSON format may contain special characters. These characters need to be escaped with a backslash \. For example, \" for double quotation marks " or \\ for a backslash \. You can read more about other special characters in the Wikipedia article Portable character set.

Example order description with the following fields:

  • Recipient name title: Yes\No depot.

  • Comments for the order comments: "Gramercy Square" gated community. Call at reception.

    "locations": [
        {
            "id": "1",
            "ref": "sever",
            "point": {
                "lat": 55.799036,
                "lon": 37.532592
            },
            "title": "Yes\\No depot",
            "time_window": "09:00:00-18:00:00",
            "hard_window": false,
            "shared_service_duration_s": 600,
            "service_duration_s": 120,
            "shipment_size": {
                "units": 1
            },
            "comments": "\"Gramercy Square\" gated community. Call at reception."
        }
    ]
Contact support