Versions Compared

Key

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

...

Code Block
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer token'

Onde Token é o access token obtido na autenticação.

...

Code Block
languagejson
{
    "description": "Product Test",
    "status": {
        "value": "ON_THE_WAYPREPARING",
        "label": "Pedido em trânsitoEstamos preparando o seu pedido"
    },
    "destination": {
        "road": "R. Menina Rosana",
        "number": "70",
        "city": "Itajaí",
        "zipCode": "88304250",
        "state": {
            "code": "SC",
            "name": "Santa Catarina"
        },
        "mainLocation": {
            "lat": -22.72725697031394,
            "lon": -47.636846753567944
        }
    },
    "theme": "DEFAULT"
}

...