Pin Lag Times
POST/api/walmart/:integrationInstance/lag-times/pin
Fix the lag time of listings by hand. Pinned listings are never changed by stock and are sent with the next push. Address listings by id and/or Walmart SKU (at least one list is required); SKUs that are not listings of this integration are returned in unknown_skus.
This endpoint currently requires session authentication; Personal Access Token scope support is in progress.
Authentication: Requires Bearer token and the integrations.update permission.
Body: product_listing_ids (array of integers, required without skus), skus (array of strings, required without product_listing_ids), days (integer 0–10, required).
Approved maximum: SKU.io never sends a lag time above the store's settings.maxApprovedDays (0–10, default 1 — Walmart allows more than 1 day only with an approved lag-time exemption). A days value above it is refused with 422 (errors.days) and nothing is recorded.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.