cx-composer--for=liferay

Commerce Shipping Engine

Custom shipping-rate provider for Liferay Commerce.

type: commerceShippingEngine·Commerce

# description

Registers a shipping-rate calculator. Commerce calls out to your service to get shipping options at checkout.

Payment, shipping, tax, and checkout integrations for Liferay Commerce.

# when to use

  • You need a shipping provider Commerce doesn't ship (regional carriers, custom 3PL).
  • Real-time shipping quotes require a live third-party call.

# how to use

  1. 01Ship a paired oAuthApplicationUserAgent.
  2. 02Return shipping options at your endpoint.

# optional fields

fieldtypedescription
namestringDisplay name.
keystringInternal Commerce reference code.
oAuth2ApplicationExternalReferenceCodestringRef code of the paired oAuthApplicationUserAgent.
shippingEngineTypeSettingsmapProvider-specific settings.

# example

client-extension.yaml
dhl-shipping:
    type: commerceShippingEngine
    name: DHL
    key: dhl-shipping
    oAuth2ApplicationExternalReferenceCode: shipping-oauth
    shippingEngineTypeSettings:
        apiKey: ...
        accountNumber: ...

# related types

Usually shipped alongside Commerce Shipping Engine:

# more in commerce