1. Create your connection
Open Imports & connections in your partner workspace. Create a connection and save its key and webhook secret.
Open connection tools2. Make your first request
Send requests from your server. Keep your key out of storefront code and mobile apps.
POST /api/partner/v1/webhook
Authorization: Bearer YOUR_KEY
Idempotency-Key: YOUR_EVENT_ID
X-PackRouter-Timestamp: UNIX_SECONDS
X-PackRouter-Signature: sha256=SIGNATURE3. Sign catalogue updates
Sign the exact request body with your webhook secret. Each event needs a unique Idempotency-Key and a timestamp within five minutes.
signature = HMAC_SHA256(
webhookSecret,
timestamp + '.' + eventId + '.' + rawBody
)
{ "version": 3, "rows": [...] }GET /api/partner/v1/catalogue returns your current version and locations. POST a batch of up to 15 rows to update your catalogue.
When a request needs attention
- 401
- Check the key and its expiry.
- 403
- Check the key’s permissions and the account access.
- 409
- Refresh the record or quote before continuing.
- 429
- Wait before retrying.
