Skip to content
Last updated

Each Engage capability maps to one adapter method exposed by the partner integration. After these methods are implemented, Engage routes the relevant operation to them automatically.

The reference mappings below show how the Nector implementation satisfies the contract.

See the Fynd Engage API Reference ↗ for the current API schemas.

Required capabilities

Engage to adapter mapping

CapabilityEngage endpointAdapter method
Search or get customerGET /v2/users/:userIdgetUser
Register customerPOST /v2/usersregisterUser
Update customerPATCH /v2/users/:userIdupdateUser
Wallet balanceGET /v2/wallet/:userIdgetWalletDetails
Redeemable or earn previewPOST /v2/order/loyalty/calculatecalculateLoyaltyPoints
Discount previewPOST /v2/order/discountcalculateDiscount
Apply points and hold on cartPOST /v2/ordercreateOrder
Revert holdPOST /v2/order/transaction/cancelcancelOrder
Credit earned pointsWebhook drivenaddPoints
Health checkNot applicabletestConnection

Nector reference mappings

CapabilityReference mapping
Search or get customerPOST /search-customer by mobile number
Register customerCreated from the user_create webhook
Update customerPOST /search-customer
Wallet balancesearch-customer response field wallet.available
Redeemable, earn, or discount previewPOST /redemption with action:list
Apply points and hold on cartredemption with action:perform and reference <salesChannelId>:<cartId>
Revert holdredemption with action:revert
Credit earned pointsPOST /issue-credits
Health checksearch-customer probe
Contract notes

Customer identity is passed as a mobile number. The redemption reference ID is always <salesChannelId>:<cartId>. Use the same key to perform, revert, or confirm the hold so the operation remains idempotent. The wallet type in the Nector reference implementation is coins

Adapter behavior

Customer operations

  • Resolve customers by mobile number.
  • Map the provider record into the Engage User schema.
  • Create customers from user_create events.
  • Synchronize profile changes from user_update events.

Wallet and preview operations

  • Return the available wallet balance in real time.
  • Calculate available loyalty points and discounts without creating an order.
  • Return values in the Engage response schema.

Redemption operations

  • Create a reversible hold using <salesChannelId>:<cartId>.
  • Revert a hold using the same reference.
  • Confirm the hold after the matching order-placed event.
  • Credit earned points only after a qualifying shipment reaches a terminal delivery status.

Connection test

Expose a lightweight test that Engage can use to validate credentials and provider availability before live traffic is enabled.

Keep the reference stable

Do not replace the cart-based reference with an order ID. The order does not exist when points are applied during checkout