Skip to main content

Create Payout Mapping Group

POST 

/api/temu/:integrationInstance/payout-mapping-groups

Creates a payout mapping group for this store, plus the global groups every store shares.

Required scope: accounting:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

A mapping group is one accounting document per payout: 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 "Temu Sales" (invoice) and "Temu 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​

Created

Response Headers
    Content-Type