shipstation-client
Version:
ShipStation V2 SDK
66 lines (43 loc) • 2 kB
Markdown
All URIs are relative to *https://api.shipstation.com*
|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**stopTracking**](
> string stopTracking()
Unsubscribe from tracking updates for a package.
### Example
```typescript
import {
TrackingApi,
Configuration
} from 'shipstation-client';
const configuration = new Configuration();
const apiInstance = new TrackingApi(configuration);
let carrierCode: string; //A [shipping carrier] , such as `fedex`, `dhl_express`, `stamps_com`, etc. (optional) (default to undefined)
let trackingNumber: string; //The tracking number associated with a shipment (optional) (default to undefined)
const { status, data } = await apiInstance.stopTracking(
carrierCode,
trackingNumber
);
```
|Name | Type | Description | Notes|
|------------- | ------------- | ------------- | -------------|
| **carrierCode** | [**string**] | A [shipping carrier] , such as &
| **trackingNumber** | [**string**] | The tracking number associated with a shipment | (optional) defaults to undefined|
**string**
[](../README.md
- **Content-Type**: Not defined
- **Accept**: text/plain, application/json
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**204** | The request was successful. | - |
|**400** | The request contained errors. | - |
|**404** | The specified resource does not exist. | - |
|**500** | The request was successful. | - |
[[Back to top]](