From a703139760c348d01681d16d8a939a1b9b56ad4f Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Fri, 27 Mar 2026 16:34:01 -0600 Subject: [PATCH] Update API docss --- docs/Plugin API/shipping.md | 4 +++- docs/Plugin API/ui.md | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/Plugin API/shipping.md b/docs/Plugin API/shipping.md index c0a2474..be6cb32 100644 --- a/docs/Plugin API/shipping.md +++ b/docs/Plugin API/shipping.md @@ -260,7 +260,9 @@ Add a shipping insurance provider. **Example** ```js -async function getQuote(value, parcel, carrier, service) { +async function getQuote(value, parcel, carrier, service, rateObject) { + // See shipping rate provider documentation for rateObject structure. + // Do math, etc var cost = value / 100; diff --git a/docs/Plugin API/ui.md b/docs/Plugin API/ui.md index 3076ee0..8da1b59 100644 --- a/docs/Plugin API/ui.md +++ b/docs/Plugin API/ui.md @@ -244,7 +244,7 @@ the customerSignatureCollected event is emitted with the data | Param | Type | Default | Description | | --- | --- | --- | --- | -| title | string | null | Display a title/header on the customer screen. Currently ignored, but may be used in the future. | +| title | string | null | Display some title/header text on the customer screen near the signature box. Not shown if terms are set. | | terms | string \| boolean | false | Set to a string to display terms and conditions or other text content next to the signature pad. | | termstype | string | "body" | "html", "pdf", "raw", or "body". See setCustomerScreen() |