How to share stop tracking link
The ShareStop
mutation allows sharing stop tracking link for customer, making it easy to access and manage stop information efficiently.
- NodeJS
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)
}`
}
]),
});
- Response
{
"data":{
"shareStop": "https://apps.impargo.de/orders/stop/TyymrvZPq"
}
}