Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • status

    • OK - statuses are unloaded successfully

    • ERROR - error

  • response.statuses - object containing statuses

    • response.statuses{i}

      • id - status id

      • title - object of status names in different languages

        • title.ua en - status title in UkrainianEnglish

        • title.en ro - status title in EnglishRomanian

      • ...

    • is_successful - whether the order has been delivered

...

Code Block
languagejson
{
    "status": "OK",
    "response": {
        "statuses": {
            "1": {
                "id": 1,
                "title": {
                    "uaen": "НовеNew",
                    "enro": "NewNou"
                },
                "is_successful": 0
            },
            "2": {
                "id": 2,
                "title": {
                    "uaen": "В обробціProcessing",
                    "enro": "ProcessingProcesare"
                },
                "is_successful": 0
            },
            "3": {
                "id": 3,
                "title": {
                    "uaen": "ДоставленеDelivered",
                    "enro": "DeliveredLivrat"
                },
                "is_successful": 1
            },
            "4": {
                "id": 4,
                "title": {
                    "uaen": "Не доставленеCanceled",
                    "enro": "CanceledAnulat"
                },
                "is_successful": 0
            },
            "6": {
                "id": 6,
                "title": {
                    "uaen": "НадісланеShipping",
                    "enro": "ShippingÎn procesul de livrare"
                },
                "is_successful": 0
            }
        }
    }
}

...