Skip to content

Latest commit

 

History

History
104 lines (68 loc) · 3.14 KB

SalesShipmentTrackRepositoryV1Api.md

File metadata and controls

104 lines (68 loc) · 3.14 KB

swagger_client.SalesShipmentTrackRepositoryV1Api

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

sales_shipment_track_repository_v1_delete_by_id_delete

bool sales_shipment_track_repository_v1_delete_by_id_delete(id)

Deletes a specified shipment track by ID.

Example

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)

Parameters

Name Type Description Notes
id int The shipment track ID.

Return type

bool

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

sales_shipment_track_repository_v1_save_post

SalesDataShipmentTrackInterface sales_shipment_track_repository_v1_save_post(body=body)

Performs persist operations for a specified shipment track.

Example

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)

Parameters

Name Type Description Notes
body Body100 [optional]

Return type

SalesDataShipmentTrackInterface

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]