Finances V0

class sp_api.api.FinancesV0(marketplace: ~sp_api.base.marketplaces.Marketplaces = Marketplaces.US, *, refresh_token=None, account='default', credentials=None, restricted_data_token=None, proxies=None, verify=True, timeout=None, version=None, credential_providers=None, auth_token_client_class=<class 'sp_api.auth.access_token_client.AccessTokenClient'>)
get_financial_events_for_order(self, order_id, **kwargs) ApiResponse

Returns all financial events for the specified order. Orders from the last 48 hours might not be included in financial events.

Examples

literal blocks:

FinancesV0().get_financial_events_for_order("value")
Parameters:
  • order_id

    required

  • **kwargs

Returns:

ApiResponse

list_financial_events(self, **kwargs) ApiResponse
Returns financial events for the specified data range. Orders from the last 48 hours might not be included in financial events.

Note: in ListFinancialEvents, deferred events don’t show up in responses until they are released.

Examples

literal blocks:

FinancesV0().list_financial_events()
Parameters:

**kwargs

Returns:

ApiResponse

list_financial_events_by_group_id(self, event_group_id, **kwargs) ApiResponse
Returns all financial events for the specified financial event group. Orders from the last 48 hours might not be included in financial events.

Note: This operation only retrieves a group’s data for the past two years. A request for data spanning more than two years produces an empty response.

Examples

literal blocks:

FinancesV0().list_financial_events_by_group_id("value")
Parameters:
  • event_group_id

    required

  • **kwargs

Returns:

ApiResponse

list_financial_event_groups(self, **kwargs) ApiResponse

Returns financial event groups for a given date range. Orders from the last 48 hours might not be included in financial events.

Examples

literal blocks:

FinancesV0().list_financial_event_groups()
Parameters:

**kwargs

Returns:

ApiResponse

list_transactions(self, **kwargs) ApiResponse

Examples

literal blocks:

FinancesV0().list_transactions()
Parameters:

**kwargs

Returns:

ApiResponse