Skip to main content

Update Payout Type Mappings

PUT 

/api/shopify/:integrationInstance/payout-type-mappings

Updates individual payout type mappings, assigning or clearing the general-ledger account and mapping group of each. Fields omitted from a mapping entry are left unchanged; pass null to clear an assignment.

Authentication: Requires Bearer token.

Request body:

  • mappings (required, array, min 1): mapping updates to apply.
  • mappings[].id (required, integer): ID of an existing payout type mapping.
  • mappings[].nominal_code_id (optional, nullable, integer): general-ledger account to assign; must reference an existing account. Pass null to clear.
  • mappings[].shopify_payout_mapping_group_id (optional, nullable, integer): payout mapping group to assign; must reference an existing group. Pass null to clear.

Request

Responses

OK

Response Headers
    Content-Type