patch https://api.instantpay.in/contacts/tag
Adapt and refine your data classification effortlessly with Instantpay’s Update Tag API. Our tool lets businesses update existing tags. It keeps your data accurate and relevant.
Instantpay’s Update Tag API is a quick fix for real-time tag management. It handles shifting business needs and classification errors.
This API is perfect for organisations with evolving datasets. It provides the flexibility to keep information organized and up-to-date. By using Instantpay's Update Tag API, your business can keep data valuable. It will accurately reflect current business insights.
Request Parameters
Name | Type | Requirement | Description |
---|---|---|---|
tagId | String | Mandatory | You will get in the Add Tag Response |
name | String | Mandatory | Tag Name |
hexColorCode | String | Mandatory | Color Code |
Sample Request
curl --location --request PATCH 'https://api.instantpay.in/contacts/tag' \
--header 'X-Ipay-Auth-Code: {{authCode}}' \
--header 'X-Ipay-Client-Id: {{clientId}}' \
--header 'X-Ipay-Client-Secret: {{clientSecret}}' \
--header 'X-Ipay-Endpoint-Ip: {{endPointIP}}' \
--header 'Content-Type: application/json' \
--data '{
"tagId": "6448ea5c1a1767723d055995",
"name" : "Sample Name",
"hexColorCode" : "#FF1931"
}'
PATCH /contacts/tag HTTP/1.1
Host: api.instantpay.in
X-Ipay-Auth-Code: {{authCode}}
X-Ipay-Client-Id: {{clientId}}
X-Ipay-Client-Secret: {{clientSecret}}
X-Ipay-Endpoint-Ip: {{endPointIP}}
Content-Type: application/json
Content-Length: 101
{
"tagId": "6448ea5c1a1767723d055995",
"name" : "Sample Name",
"hexColorCode" : "#FF1931"
}
Response Parameters
Name | Type | Description |
---|---|---|
statuscode | String | Instantpay Status Code |
actcode | String | Action Code |
status | String | Status Message |
data | Array | Response Data (If Present) |
timestamp | String | Response time (YYYY-MM-DD HH:II:SS) |
ipay_uuid | String | Request reference number |
orderid | String | Transaction Id ( If transaction otherwise it is null ) |
environment | String | Live/Sandbox |
internalCode | String | It will be null |
Sample Response
{
"statuscode": "TXN",
"actcode": null,
"status": "Tag Updated Successfully",
"data": 1,
"timestamp": "2023-05-04 15:09:44",
"ipay_uuid": "h0689915e52c-dcbe-4d2e-960e-ef9a43d6a4e6",
"orderid": null,
"environment": "LIVE",
"internalCode": null
}