Understanding the Response Status
Thedata.status field indicates the outcome of the request:
| Status | Meaning | When This Occurs |
|---|---|---|
"filled" | All requested offers were filled | returned == requested |
"partial_fill" | Some offers filled (multi-offer mode) | 0 < returned < requested |
"no_offers_found" | No offers available | returned == 0 (no keywords detected, no links found, or filtered) |
"internal_error" | Service failure | Timeout, service unavailable, or unexpected error |
The
offers array only contains offers with URLs. If the array is empty, check the status field to understand why no offers were returned.Common Causes
returned: 0 in response
Symptoms: API returns successfully but
data.returned is 0.Possible causes:-
No product detected - The message doesn’t contain a clear product reference
-
Intent score too low - Query filtered by intent threshold
- No affiliate available - Product identified but no affiliate link exists
-
Message too short - After sanitization (removing PII, URLs, blocked keywords), no words remain
- Use more specific product queries
- Check the
statusfield for specifics