Create Global Settlement Mapping Group
POST/api/walmart/settlement-mapping-groups
Creates a settlement mapping group for every Walmart store.
accounting:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
A mapping group is one accounting document per settlement: an invoice group posts a sales invoice (a sales credit when it nets negative), a bill group a supplier bill (a supplier credit when it nets positive). The default global groups are "Walmart Sales" (invoice) and "Walmart Fees" (bill).
Authentication: Requires Bearer token and the integrations.update permission. Open to API tokens with the accounting:write scope.
Body: name (required string, max 255), document_type (required: invoice or bill), sort_order (optional integer ≥ 0).
Request
Responses
- 201
- 401
- 403
- 422
- 429
Created
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.
Unprocessable Content
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.