@shipengine/connect-order-source-runtime
TypeScript icon, indicating that this package has built-in type declarations

1.27.6 • Public • Published

Developer Experience Order App Runtime

🚫 This package is deprecated. Only legacy (v1) connect apps use this package, v2 does not need it. 🚫

This is an HTTP runtime host for the ShipEngine Integration Platform's Order App.

In default mode this runtime exposes the eCommerce API 1.0 HTTP specification and serves as a mapping layer between that specification, and the function calls that an Order App implements. ShipStation ultimately makes calls to this API with the ModuleClient, but are first routed through a Gateway using the HTTP header api-code as the discriminator.

The ShipEngine Integration Platform Loader loads the Order App from a directory specified by the environment variable DX_APP_PATH.

The runtime can run Order Apps of two types:

  1. ShipEngine Order App (default)
  2. A proxy for HTTP requests
    1. Set config.runtime_proxy: true in the App package.json
    2. Implement and default export the ProxyApp interface. See ecom-proxy for an example
    3. Mapping is not performed with the proxy app type

Developing

This runtime is invisible to a user of the ShipEngine Integration Platform ecosystem, as it is deployed by an app:publish triggering a build and deployment within the Function Manager.

To run this project locally you must set the DX_APP_PATH env variable to the root directory of your App. You can use .env.local, a .gitignore file.

An example order export of the eCommerce 1.0 specification

curl -X POST 'http://localhost:3006/export_sales_orders' \
    -H 'Content-Type: application/json' \
    -d '{
        "transaction_id": "754e4fc9-a7cd-4718-b029-9876c89267c2",
        "auth": {
            "base_url": "http://mock-custom-store-stage.kubedev.sslocal.com/"
        },
        "from_date_time": "2020-01-27T17:00:00.000Z",
        "to_date_time": "2020-01-27T18:00:00.000Z"
    }'

See Also

This project is based on the Shipping App Runtime found here.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.27.60latest

Version History

VersionDownloads (Last 7 Days)Published
1.27.60
1.27.50
1.27.40
1.27.30
1.27.20
1.27.11
1.27.00
1.26.00
1.25.60
1.25.50
1.25.40
1.25.30
1.25.20
1.25.10
1.25.00
1.24.80
1.24.70
1.24.61
1.24.50
1.24.40
1.24.30
1.24.20
1.24.10
1.24.00
1.23.00
1.22.40
1.22.30
1.22.20
1.22.10
1.22.01
1.21.00
1.20.50
1.20.40
1.20.30
1.20.20
1.20.10
1.20.01
1.19.10
1.19.00
1.18.00
1.17.30
1.17.20
1.17.10
1.17.00
1.16.29
1.16.10
1.15.00
1.14.10
1.14.00
1.13.00
1.12.20
1.12.10
1.12.00
1.11.50
1.11.40
1.11.30
1.11.21
1.11.10
1.11.00
1.10.00
1.9.00
1.8.00
1.7.50
1.7.40
1.7.30
1.7.20
1.7.10
1.7.00
1.6.11
1.6.00
1.3.00

Package Sidebar

Install

npm i @shipengine/connect-order-source-runtime

Weekly Downloads

15

Version

1.27.6

License

Apache-2.0

Unpacked Size

168 kB

Total Files

95

Last publish

Collaborators

  • bibhusan-shah
  • alvarofidalgomoran
  • arjun.modi
  • christian.casado
  • lzhang
  • lukasz.parala
  • deeepawesome
  • akowalczyk
  • ddygas
  • pspringerauct
  • dangnguyen91
  • arapicki
  • prasadjoshi29
  • zjaholkowska
  • maciej_sabik_auctane
  • kdobrzynskiactn
  • bmusielak
  • mmilowska
  • bartoszzurawski
  • mspiaczka-auctane
  • maciej_adamek
  • marcin_karwat_auctane
  • krzysztof.malcher
  • auctome
  • sushithegreat
  • agustin.martin.auctane
  • brock.bouchard.auctane
  • auctane.joshua.semar
  • romofel
  • chunter-auctane
  • luxehahn
  • jeffrysparrow
  • uiuxdeveloper
  • ckroutterauctane
  • shipengine_it
  • kaseycantu-se
  • joshuaflanagan
  • anthonyshull
  • binkard-auctane
  • dlblom
  • rickyr
  • dbernazal
  • auc-rhibbeler
  • harris.butler