Customer Profile

Customer Profile information

Retrieve Customer Profile information Example

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"
    }
}
'

Set Customer Profile information Example

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