Introduction
This API is designed to allow update a single non response record directly into CustomerGauge.
Good to know
API response format:
Our APIs return data in either JSON or XML format (depending on request by .json or .xml).
Product SKU field:
Updating Product SKU is currently not supported.
About this API
Resource Information
Response formats | JSON (default), XML |
HTTP method | PUT |
Response family | Transactions |
Header | Authorization: api_key XXXXX |
Resource URL
Europe Production Server: https://api.eu.customergauge.com/v4.1/transactions/non_response.json
US Production Server: https://api.us.customergauge.com/v4.1/transactions/non_response.json
Australia Production Server: https://api.au.customergauge.com/v4.1/transactions/non_response.json
How to call
PUT Data
Put data as key value based on upload mapping.
Parameters
Key | Data |
id (Required) | CustomerGauge id (this is the record number). Example Values: 63 |
CustomerNumber | 1143 |
Email | lee_klameth@directness.net |
FirstName | Lee |
LastName | Klameth |
Example Request
To call this API through cURL:
curl -H "Authorization: api_key XXXXX" -X PUT https://api.eu.customergauge.com/v4.1/transactions/non_response.json -d id=63 -d CustomerNumber=1143 -d Email=lee_klameth@directness.net -d FirstName=Lee -d LastName=Klameth
Example Result
Message reported on successful operation:
{ "Data": { "id": 63 } }
Message reported on failed operation:
{ "Error": { "Message": "Field CGNumber is required but seems to be empty", "Code": 400010 } }
Not the API you're looking for?
Related APIs:
APIs of the same family:
Similar API families:
Or view: