Skip to main content

How to share stop tracking link

GraphQL mutation

The ShareStop mutation allows sharing stop tracking link for customer, making it easy to access and manage stop information efficiently.

const fetch = require("node-fetch")

fetch("https://backend.impargo.eu/", {
method: "POST",
headers: {
authorization: token,
"content-type": "application/json",
},
body: JSON.stringify([
{
operationName: "ShareStop",
variables: {
"stop": "6714275071534cef742a9bdd"
},
query: `mutation ShareStop($stop: ObjectId!) {
shareStop(stop: $stop)
}`
}
]),
});


{
"data":{
"shareStop": "https://apps.impargo.de/orders/stop/TyymrvZPq"
}
}