🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

node-red-contrib-autodist-api-v062

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-autodist-api-v062

Node-RED node for autodist-api-v062

0.6.2
latest
npm
Version published
Weekly downloads
1
-75%
Maintainers
1
Weekly downloads
 
Created
Source

node-red-contrib-autodist-api-v062

Node-RED node for autodist-api-v062

Possible error codes
HTTP 500 : E000 - Unspecified internal error
HTTP 401 : E001 - Authorization error
HTTP 423 : E002 - API access is disabled
HTTP 403 : E003 - Too Many Requests
HTTP 406 : E004 - HTTP is not allowed, use HTTPS instead
** HTTP 422 : E005 - The item number is restricted for processing
HTTP 400 : E100 - Validation error
HTTP 503 : E200 - Unspecified Gateway service error
HTTP 404 : E201 - Not found on the Gateway service side
HTTP 400 : E202 - No shipping options available

Install

To install the stable version use the Menu - Manage palette - Install option and search for node-red-contrib-autodist-api-v062, or run the following command in your Node-RED user directory, typically ~/.node-red

npm install node-red-contrib-autodist-api-v062

Usage

Methods

GET /item/avail/{number}

Availability check for item with the given number

Authorization : string
number : string
quantity : integer
 
Accept : 'application/json'

POST /order/calculate

Calculate order parameters without order creation

Authorization : string
body : 
 
Accept : 'application/json'
Content-Type : 'application/json'

POST /order/create

Create order with given parameters

Authorization : string
body : 
 
Accept : 'application/json'
Content-Type : 'application/json'

GET /order/find

Bulk retrieve the orders by order numbers and/or order purchase numbers

Authorization : string
orderNumbers : array
purchaseNumbers : array
 
Accept : 'application/json'

GET /order/find/range

Bulk retrieve the orders by invoice or created date range

Authorization : string
dateType : string
endDate : string
startDate : string
 
Accept : 'application/json'

GET /order/headers

Bulk retrieve the order statuses by order numbers and/or order purchase numbers. Intended to track the order statuses and tracking numbers quickly.

Authorization : string
orderNumbers : array
purchaseNumbers : array
 
Accept : 'application/json'

POST /order/number/cancel/{order}

Cancel order info by order number

Authorization : string
order : string
 
Accept : 'application/json'

GET /order/number/{order}

Retrieve order info by order number

Authorization : string
order : string
 
Accept : 'application/json'

GET /order/number/{order}/tracking-numbers

Get order's tracking numbers

Authorization : string
order : string
 
Accept : 'application/json'

POST /order/purchase-number/cancel/{order}

Cancel order info by order purchase number

Authorization : string
order : string
 
Accept : 'application/json'

GET /order/purchase-number/{order}

Retrieve order info by order purchase number

Authorization : string
order : string
 
Accept : 'application/json'

GET /order/purchase-number/{order}/tracking-numbers

Get order's tracking numbers

Authorization : string
order : string
 
Accept : 'application/json'

License

Apache-2.0

Keywords

node-red-nodegen

FAQs

Package last updated on 08 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts