For the complete documentation index, see llms.txt. This page is also available as Markdown.

Oracle Commerce Cloud

Overview of Violet's Oracle Commerce Cloud integration for channel developers

Oracle Commerce Cloud (OCC) is an enterprise ecommerce platform. Violet integrates using an application key registered in the OCC admin, which is exchanged for a short-lived access token via the OCC admin API.

Connection

Merchants provide two credentials:

Field
Description

Store URL

OCC instance hostname (e.g. mystore.oracle.com)

Application Key

JWT generated when the integration is registered in the OCC admin UI

The application key is created in the OCC admin under the integrations or third-party applications section. Violet authenticates server-to-server via /ccadmin/v1/login using the application key as a bearer token with a grant_type=client_credentials body.

Note: Username/password authentication (/ccadmin/v1/mfalogin) is reserved for internal admin users and is not used by Violet.

Scope Validation

OCC permissions are determined by the application's assigned role at registration time, not per-call requested scopes. Violet validates credentials by performing a test authentication during connection — a successful token exchange confirms the key is valid and active.

Webhooks

OCC ships a fixed catalog of webhook slots. Violet registers the following slots automatically after a merchant connects:

Slot ID
Event

order-submit

New order placed

order-update

Order status changed

shipment-create

Shipment created

shipment-update

Shipment updated

Registration is performed via PUT /ccadmin/v1/webhooks/{slotId}. Failures on individual slots are logged but do not abort overall registration.

Notable Behavior

  • Application key: The application key is a JWT, not a username/password pair. It is generated once in the OCC admin when an integration is registered and does not expire on its own (expiry is determined by the application's configuration in OCC).

  • Token refresh: Violet does not use OAuth refresh tokens for this platform. Each request exchanges the application key for a short-lived access token as needed.

  • Shipping methods: Violet verifies that shipping methods are configured on the store during connection by querying the OCC shipping methods endpoint.

Last updated

Was this helpful?