All URIs are relative to http://localhost/rest/default
Method | HTTP request | Description |
---|---|---|
sales_transaction_repository_v1_get_get | GET /V1/transactions/{id} | |
sales_transaction_repository_v1_get_list_get | GET /V1/transactions |
SalesDataTransactionInterface sales_transaction_repository_v1_get_get(id)
Loads a specified transaction.
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.SalesTransactionRepositoryV1Api()
id = 56 # int | The transaction ID.
try:
api_response = api_instance.sales_transaction_repository_v1_get_get(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling SalesTransactionRepositoryV1Api->sales_transaction_repository_v1_get_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | The transaction ID. |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SalesDataTransactionSearchResultInterface sales_transaction_repository_v1_get_list_get(search_criteria_filter_groups_filters_field=search_criteria_filter_groups_filters_field, search_criteria_filter_groups_filters_value=search_criteria_filter_groups_filters_value, search_criteria_filter_groups_filters_condition_type=search_criteria_filter_groups_filters_condition_type, search_criteria_sort_orders_field=search_criteria_sort_orders_field, search_criteria_sort_orders_direction=search_criteria_sort_orders_direction, search_criteria_page_size=search_criteria_page_size, search_criteria_current_page=search_criteria_current_page)
Lists transactions that match specified search criteria. This call returns an array of objects, but detailed information about each object’s attributes might not be included. See http://devdocs.magento.com/codelinks/attributes.html#TransactionRepositoryInterface to determine which call to use to get detailed information about all attributes for an object.
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.SalesTransactionRepositoryV1Api()
search_criteria_filter_groups_filters_field = 'search_criteria_filter_groups_filters_field_example' # str | Field (optional)
search_criteria_filter_groups_filters_value = 'search_criteria_filter_groups_filters_value_example' # str | Value (optional)
search_criteria_filter_groups_filters_condition_type = 'search_criteria_filter_groups_filters_condition_type_example' # str | Condition type (optional)
search_criteria_sort_orders_field = 'search_criteria_sort_orders_field_example' # str | Sorting field. (optional)
search_criteria_sort_orders_direction = 'search_criteria_sort_orders_direction_example' # str | Sorting direction. (optional)
search_criteria_page_size = 56 # int | Page size. (optional)
search_criteria_current_page = 56 # int | Current page. (optional)
try:
api_response = api_instance.sales_transaction_repository_v1_get_list_get(search_criteria_filter_groups_filters_field=search_criteria_filter_groups_filters_field, search_criteria_filter_groups_filters_value=search_criteria_filter_groups_filters_value, search_criteria_filter_groups_filters_condition_type=search_criteria_filter_groups_filters_condition_type, search_criteria_sort_orders_field=search_criteria_sort_orders_field, search_criteria_sort_orders_direction=search_criteria_sort_orders_direction, search_criteria_page_size=search_criteria_page_size, search_criteria_current_page=search_criteria_current_page)
pprint(api_response)
except ApiException as e:
print("Exception when calling SalesTransactionRepositoryV1Api->sales_transaction_repository_v1_get_list_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
search_criteria_filter_groups_filters_field | str | Field | [optional] |
search_criteria_filter_groups_filters_value | str | Value | [optional] |
search_criteria_filter_groups_filters_condition_type | str | Condition type | [optional] |
search_criteria_sort_orders_field | str | Sorting field. | [optional] |
search_criteria_sort_orders_direction | str | Sorting direction. | [optional] |
search_criteria_page_size | int | Page size. | [optional] |
search_criteria_current_page | int | Current page. | [optional] |
SalesDataTransactionSearchResultInterface
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]