yellowgrid-api-ts 3.2.5-dev.0 → 3.2.7-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -5
- package/api.ts +131 -66
- package/dist/api.d.ts +68 -36
- package/dist/api.js +143 -69
- package/docs/AccountsApi.md +1 -1
- package/docs/AdminOrderRequestDTO.md +2 -0
- package/docs/NumberPortingApi.md +27 -27
- package/docs/OAuth20Api.md +3 -3
- package/docs/ProductsApi.md +48 -0
- package/package.json +1 -1
package/docs/ProductsApi.md
CHANGED
|
@@ -5,6 +5,7 @@ All URIs are relative to *http://api.yellowgrid.local*
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**getGetAttributeSets**](#getgetattributesets) | **GET** /products/attributes | Get Attribute Sets|
|
|
8
|
+
|[**getGetCustomerPriceLists**](#getgetcustomerpricelists) | **GET** /products/prices/lists | Get Customer Price Lists|
|
|
8
9
|
|[**getGetLegacyStockList**](#getgetlegacystocklist) | **GET** /products/stock/legacy | Get Current Stock & Pricing|
|
|
9
10
|
|[**getGetProducts**](#getgetproducts) | **GET** /products | Get Products|
|
|
10
11
|
|[**getGetStockList**](#getgetstocklist) | **GET** /products/stock | Get Current Stock & Pricing|
|
|
@@ -60,6 +61,53 @@ No authorization required
|
|
|
60
61
|
|
|
61
62
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
62
63
|
|
|
64
|
+
# **getGetCustomerPriceLists**
|
|
65
|
+
> Array<CustomerPriceListEnum> getGetCustomerPriceLists()
|
|
66
|
+
|
|
67
|
+
Get Customer Price Lists
|
|
68
|
+
|
|
69
|
+
### Example
|
|
70
|
+
|
|
71
|
+
```typescript
|
|
72
|
+
import {
|
|
73
|
+
ProductsApi,
|
|
74
|
+
Configuration
|
|
75
|
+
} from 'yellowgrid-api-ts';
|
|
76
|
+
|
|
77
|
+
const configuration = new Configuration();
|
|
78
|
+
const apiInstance = new ProductsApi(configuration);
|
|
79
|
+
|
|
80
|
+
const { status, data } = await apiInstance.getGetCustomerPriceLists();
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### Parameters
|
|
84
|
+
This endpoint does not have any parameters.
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
### Return type
|
|
88
|
+
|
|
89
|
+
**Array<CustomerPriceListEnum>**
|
|
90
|
+
|
|
91
|
+
### Authorization
|
|
92
|
+
|
|
93
|
+
No authorization required
|
|
94
|
+
|
|
95
|
+
### HTTP request headers
|
|
96
|
+
|
|
97
|
+
- **Content-Type**: Not defined
|
|
98
|
+
- **Accept**: application/json
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
### HTTP response details
|
|
102
|
+
| Status code | Description | Response headers |
|
|
103
|
+
|-------------|-------------|------------------|
|
|
104
|
+
|**200** | Price Lists | - |
|
|
105
|
+
|**400** | Bad Request | - |
|
|
106
|
+
|**401** | Unauthorised | - |
|
|
107
|
+
|**403** | Access Denied | - |
|
|
108
|
+
|
|
109
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
110
|
+
|
|
63
111
|
# **getGetLegacyStockList**
|
|
64
112
|
> string getGetLegacyStockList()
|
|
65
113
|
|