Skip to content

Instantly share code, notes, and snippets.

@eoguvo
Created May 9, 2024 18:05
Show Gist options
  • Save eoguvo/9285cadfd8d1317e84553d7e25727e67 to your computer and use it in GitHub Desktop.
Save eoguvo/9285cadfd8d1317e84553d7e25727e67 to your computer and use it in GitHub Desktop.
api to track a package without any pricing or validation
POST https://api.melhorrastreio.com.br/graphql HTTP/1.1
Content-Type: application/json
{
"query": "mutation searchParcel ($tracker: TrackerSearchInput!) { result: searchParcel (tracker: $tracker) { id createdAt updatedAt lastStatus lastSyncTracker trackingEvents { createdAt translatedEventId originalTitle to from location { zipcode address locality number complement city state country } additionalInfo } } }",
"variables": {
"tracker": {
"trackingCode": "CODIGO_CORREIOS",
"type": "correios"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment