Customer Profile
curl -XPOST 'https://me.instaply.com/graphql' \
-H 'Authentication-Token:${PERSONAL_ACCESS_TOKEN}' \
-H 'Content-Type: application/json' -d'
{
"query": "get-customer-profile-query",
"variables": {
"customerId":"135655",
"customerType":"prospect"
}
}
'
curl -XPOST 'https://me.instaply.com/graphql' \
-H 'Authentication-Token:${PERSONAL_ACCESS_TOKEN}' \
-H 'Content-Type: application/json' -d'
{
"query": "update-customer-profile-name-mutation",
"variables": {
"customerId":"135655",
"firstName":"first",
"lastName":"last"
}
}
'
Last updated on 11th Dec 2017