All URIs are relative to http://localhost/rest/default
Method | HTTP request | Description |
---|---|---|
sales_shipment_track_repository_v1_delete_by_id_delete | DELETE /V1/shipment/track/{id} | |
sales_shipment_track_repository_v1_save_post | POST /V1/shipment/track |
bool sales_shipment_track_repository_v1_delete_by_id_delete(id)
Deletes a specified shipment track by ID.
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.SalesShipmentTrackRepositoryV1Api()
id = 56 # int | The shipment track ID.
try:
api_response = api_instance.sales_shipment_track_repository_v1_delete_by_id_delete(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling SalesShipmentTrackRepositoryV1Api->sales_shipment_track_repository_v1_delete_by_id_delete: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | The shipment track ID. |
bool
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SalesDataShipmentTrackInterface sales_shipment_track_repository_v1_save_post(body=body)
Performs persist operations for a specified shipment track.
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.SalesShipmentTrackRepositoryV1Api()
body = swagger_client.Body100() # Body100 | (optional)
try:
api_response = api_instance.sales_shipment_track_repository_v1_save_post(body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling SalesShipmentTrackRepositoryV1Api->sales_shipment_track_repository_v1_save_post: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | Body100 | [optional] |
SalesDataShipmentTrackInterface
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]