Skip to content

Export money activity

GET/admin/v1/stores/{store_id}/money/activity/export
  • money:read

The activity list as a CSV download (UTF-8 with a byte-order mark; up to 10,000 lines, X-Report-Truncated: true when more matched).

Path parameters

  • store_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

Query parameters

  • fromstringrequired

    First store-local day, YYYY-MM-DD.

  • tostringrequired

    Last store-local day (included), at most 366 days on.

  • holder_kindenum

    What kind of holder.

    • payment_account
    • carrier
    • shipping_balance
    • driver
  • holder_idstring
  • kindenum

    What a movement was.

    • collected
    • refunded
    • charged
    • paid_out
    • fee
    • top_up
    • adjustment
  • beforestring

    The previous page's next_before.

  • languagestring

    Exports only: en or ar (default: the store's language).

Headers

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Returns

200 The CSV file.

Errors

  • 403forbiddenMissing permission.
  • 422validation_failedInvalid days or holder.