STOQ - Developer Documentation
  • Getting Your STOQ API Key
  • Back in Stock API
    • List and filter Intents
    • Get a specific Intent
    • Notify a single Intent
    • Notify multiple intents in bulk
  • JavaScript API
  • Preorder Metafields
    • Shop Level Metafields
    • Product Variant Level Metafields
Powered by GitBook
On this page
Export as PDF
  1. Back in Stock API

Notify a single Intent

PreviousGet a specific IntentNextNotify multiple intents in bulk

Last updated 26 days ago

Notify a single intent

post
Authorizations
Body
idstringOptional

Intent ID

allow_resendbooleanOptional

Allow resending notification

Responses
200
Notification sent successfully
application/json
401
Unauthorized
404
Intent not found
422
Failed to notify intent
post
POST /api/v1/external/intents/notify_intent HTTP/1.1
Host: app.stoqapp.com
X-Auth-Token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 33

{
  "id": "text",
  "allow_resend": true
}
{
  "success": true,
  "intent_id": "text"
}