Create or Update Promotion
POST/api/walmart/:integrationInstance/listings/:listing/promotions
Submit a promotional price for a listing to Walmart via the promotion feed. Submitting again for the same listing updates the promotion.
The listing must belong to this integration instance; requests for a listing owned by a different instance fail with 403 Forbidden.
Authentication: Requires Bearer token.
Fields:
- amount (required, numeric): Promotional price.
- effective_date (required, datetime): When the promotion starts.
- expiration_date (required, datetime): When the promotion ends. Must be after effective_date.
Requires the integrations.sync permission.
Request
Responses
- 201
- 401
- 403
- 404
- 422
- 429
Created
Response Headers
Content-Type
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden
Response Headers
Content-Type
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Unprocessable Entity
Response Headers
Content-Type
Too Many Requests
Response Headers
Content-Type