Issue Description
We have identified a bug in the Zone webhook payload where the pincodes information is coming under the geo_areas
field as alphanumeric strings rather than actual pincodes. This is causing confusion and making it difficult to correctly map and process the pincodes.
payload:
{
"payload": {
"zone": {
"new": {
"zone_id": "65b3756f2c7f95dc0d66e7b9",
"slug": "sampletest-234092",
"type": "custom",
"name": "sampletest 234092",
"geo_areas": [
"65b3755a2a24e2ead87e26fa"
]
},
"company_id": 123,
"stores": {
"values": [1290, 3180],
"type": "custom"
},
"product": {
"values": [1290, 3180],
"type": "category"
},
"is_active": false
}
}
}
In the payload, the geo_areas
field is expected to contain actual pincodes, but it currently contains alphanumeric strings like 65b3755a2a24e2ead87e26fa
.
Steps to Reproduce
- Trigger the Zone webhook.
- Observe the
geo_areas
field in the payload.
Expected Behavior
The geo_areas
field should contain actual pincodes, not alphanumeric strings.