new module:api/OrdersApi(apiClient)
Constructs a new OrdersApi.
Parameters:
Name | Type | Description |
---|---|---|
apiClient |
module:ApiClient | Optional API client implementation to use, default to module:ApiClient#instance if unspecified. |
- Source:
Methods
getOrder(code, opts) → {Promise}
getOrder Returns details of a specific order based on order GUID (Globally Unique Identifier) or order CODE. The response contains a detailed order information. Security: Allowed only for trusted client
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
code |
String | Order GUID (Globally Unique Identifier) or order CODE |
||||||
opts |
Object | Optional parameters Properties
|
- Source:
Returns:
a Promise">www.promisejs.org/|Promise}, with data of type module:models/Order
- Type
- Promise
ordersByCodeWithHttpInfo(code, opts) → {Promise}
getOrder Returns details of a specific order based on order GUID (Globally Unique Identifier) or order CODE. The response contains a detailed order information. Security: Allowed only for trusted client
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
code |
String | Order GUID (Globally Unique Identifier) or order CODE |
||||||
opts |
Object | Optional parameters Properties
|
- Source:
Returns:
a Promise">www.promisejs.org/|Promise}, with an object containing data of type module:models/Order and HTTP response
- Type
- Promise