Skip to content

v1.4.0

Choose a tag to compare

@wjhsf wjhsf released this 18 Nov 17:08

New Features

  • TypeScript type definitions are now exported! 🎉
  • Any parameter for any method can now be specified in the client configuration.
    • Parameters not used by an endpoint will now be ignored, rather than included.
  • A custom user agent is now sent with requests (node.js only)

API Changes

Shopper Baskets

  • New endpoints
Endpoint Name Description
transferBasket Transfer the previous shopper's basket to the current shopper by updating the basket's owner. No other values change. You must obtain the shopper authorization token via SLAS, and it must contain both the previous and current shopper IDs.
mergeBasket Merge data from the previous shopper's basket into the current shopper's active basket and delete the previous shopper's basket. This endpoint doesn't merge Personally Identifiable Information (PII). You must obtain the shopper authorization token via SLAS, and it must contain both the previous and current shopper IDs. After the merge, all basket amounts are recalculated and totaled, including lookups for prices, taxes, shipping, and promotions.
updatePaymentInstrumentInBasket Success, the response body contains the basket with the updated payment instrument.

Shopper Login

  • New endpoints
Endpoint Name Description
retrieveCredQualityUserInfo Retrieve credential quality statistics for a user.