Appearance
App4Sales Platform
The App4Sales Platform connector integrates with the App4Sales Platform Gateway to retrieve projected stock in real time and export intake orders to the gateway's third-party order service.
| Connector | Supported Features |
|---|---|
| Items | ❌ Not supported |
| Prices | ❌ Not supported |
| Projected Stock | ✅ Real-time projected stock from the App4Sales Platform Gateway |
| Orders | ✅ Export intake orders to the App4Sales Platform Gateway |
| Customers | ❌ Not supported |
Projected Stock
The connector can be used as the connector in a projected stock flow. When projected stock is requested, OCP calls the App4Sales Platform Gateway directly and calculates the projected quantity for the requested item and date.
The projected quantity is based on:
| Value | Usage |
|---|---|
| Shelf stock | Current stock baseline for the item. |
| To be delivered | Outgoing quantity without date information, subtracted from baseline. |
| Delivery date entries | Incoming quantities with dates up to and including the requested date. |
Delivery date entries without a real date are ignored for date-based projections.
Orders
The connector can be used as an order export connector. When an intake order is exported, OCP sends the order to the App4Sales Platform Gateway third-party order endpoint.
The order export maps the OCP connector order fields as follows:
| OCP field | Gateway field |
|---|---|
| Customer code | customerCode |
| Intake order ID | externalId |
| Our reference | reference |
| Your reference | yourReference |
| Notes | notes |
| Order lines | lines |
The current OCP connector order contract does not contain shipping costs, so the connector sends shippingCosts as 0. Additional order-level information such as the intake order ID, creation timestamp, line sequence, and original line prices is sent in the gateway metadata object.
Settings
Configure the following fields in the OCP App when setting up the App4Sales Platform connector:
| Field | Description |
|---|---|
| AdministrationName | Administration name used by the gateway to route App4Sales Platform requests. |
| UseRawOrderEndpoint | Sends exported orders to /v1/thirdparty/orders/send/raw instead of /v1/thirdparty/orders/send when enabled. |
The App4Sales Platform Gateway URL is platform configuration and is not configured per connector.
Usage in Flows
- As order export connector: sends intake orders to the App4Sales Platform Gateway.
- As projected stock connector: provides real-time projected stock values for item availability checks.
- As source or enrichment connector: not supported.