@shopify/ui-extensions 2026.4.0 → 2026.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. package/build/ts/surfaces/admin/api/generated/generated.d.ts +62 -0
  2. package/build/ts/surfaces/admin/api/generated/generated.d.ts.map +1 -0
  3. package/build/ts/surfaces/admin/api.d.ts +1 -0
  4. package/build/ts/surfaces/admin/api.d.ts.map +1 -1
  5. package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts +1 -1
  6. package/build/ts/surfaces/checkout/api/standard/standard.d.ts +2 -2
  7. package/build/ts/surfaces/checkout/components/Abbreviation.d.ts +1 -4
  8. package/build/ts/surfaces/checkout/components/Announcement.d.ts +2 -6
  9. package/build/ts/surfaces/checkout/components/Badge.d.ts +1 -3
  10. package/build/ts/surfaces/checkout/components/Banner.d.ts +2 -6
  11. package/build/ts/surfaces/checkout/components/Box.d.ts +1 -3
  12. package/build/ts/surfaces/checkout/components/Button.d.ts +12 -8
  13. package/build/ts/surfaces/checkout/components/Checkbox.d.ts +2 -9
  14. package/build/ts/surfaces/checkout/components/Chip.d.ts +3 -11
  15. package/build/ts/surfaces/checkout/components/Choice.d.ts +2 -8
  16. package/build/ts/surfaces/checkout/components/ChoiceList.d.ts +2 -9
  17. package/build/ts/surfaces/checkout/components/Clickable.d.ts +12 -8
  18. package/build/ts/surfaces/checkout/components/ClickableChip.d.ts +4 -15
  19. package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +2 -8
  20. package/build/ts/surfaces/checkout/components/ConsentCheckbox.d.ts +8 -9
  21. package/build/ts/surfaces/checkout/components/ConsentPhoneField.d.ts +9 -14
  22. package/build/ts/surfaces/checkout/components/DateField.d.ts +2 -9
  23. package/build/ts/surfaces/checkout/components/DatePicker.d.ts +2 -9
  24. package/build/ts/surfaces/checkout/components/Details.d.ts +7 -16
  25. package/build/ts/surfaces/checkout/components/DropZone.d.ts +2 -9
  26. package/build/ts/surfaces/checkout/components/EmailField.d.ts +3 -14
  27. package/build/ts/surfaces/checkout/components/Form.d.ts +2 -9
  28. package/build/ts/surfaces/checkout/components/Grid.d.ts +1 -3
  29. package/build/ts/surfaces/checkout/components/GridItem.d.ts +1 -3
  30. package/build/ts/surfaces/checkout/components/Heading.d.ts +1 -4
  31. package/build/ts/surfaces/checkout/components/Link.d.ts +2 -8
  32. package/build/ts/surfaces/checkout/components/ListItem.d.ts +1 -4
  33. package/build/ts/surfaces/checkout/components/MapMarker.d.ts +3 -6
  34. package/build/ts/surfaces/checkout/components/MoneyField.d.ts +2 -9
  35. package/build/ts/surfaces/checkout/components/NumberField.d.ts +3 -14
  36. package/build/ts/surfaces/checkout/components/Option.d.ts +1 -4
  37. package/build/ts/surfaces/checkout/components/OrderedList.d.ts +1 -4
  38. package/build/ts/surfaces/checkout/components/Paragraph.d.ts +12 -4
  39. package/build/ts/surfaces/checkout/components/PasswordField.d.ts +3 -14
  40. package/build/ts/surfaces/checkout/components/PhoneField.d.ts +3 -14
  41. package/build/ts/surfaces/checkout/components/PressButton.d.ts +2 -8
  42. package/build/ts/surfaces/checkout/components/Progress.d.ts +3 -5
  43. package/build/ts/surfaces/checkout/components/ScrollBox.d.ts +1 -3
  44. package/build/ts/surfaces/checkout/components/Select.d.ts +2 -9
  45. package/build/ts/surfaces/checkout/components/SkeletonParagraph.d.ts +1 -4
  46. package/build/ts/surfaces/checkout/components/Spinner.d.ts +1 -3
  47. package/build/ts/surfaces/checkout/components/Stack.d.ts +1 -3
  48. package/build/ts/surfaces/checkout/components/Summary.d.ts +1 -4
  49. package/build/ts/surfaces/checkout/components/Switch.d.ts +2 -9
  50. package/build/ts/surfaces/checkout/components/Text.d.ts +18 -5
  51. package/build/ts/surfaces/checkout/components/TextArea.d.ts +2 -9
  52. package/build/ts/surfaces/checkout/components/TextField.d.ts +3 -14
  53. package/build/ts/surfaces/checkout/components/Time.d.ts +1 -4
  54. package/build/ts/surfaces/checkout/components/UnorderedList.d.ts +1 -4
  55. package/build/ts/surfaces/checkout/components/UrlField.d.ts +3 -14
  56. package/build/ts/surfaces/checkout/components/components-shared.d.ts +126 -127
  57. package/build/ts/surfaces/checkout/components/components.d.ts +9 -11
  58. package/build/ts/surfaces/customer-account/api/docs.d.ts +12 -19
  59. package/build/ts/surfaces/customer-account/api/docs.d.ts.map +1 -1
  60. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +7 -9
  61. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
  62. package/build/ts/surfaces/customer-account/api/shared.d.ts +1 -2
  63. package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
  64. package/build/ts/surfaces/customer-account/components/Abbreviation.d.ts +1 -4
  65. package/build/ts/surfaces/customer-account/components/Announcement.d.ts +2 -6
  66. package/build/ts/surfaces/customer-account/components/Badge.d.ts +1 -3
  67. package/build/ts/surfaces/customer-account/components/Banner.d.ts +2 -6
  68. package/build/ts/surfaces/customer-account/components/Box.d.ts +1 -3
  69. package/build/ts/surfaces/customer-account/components/Button.d.ts +12 -8
  70. package/build/ts/surfaces/customer-account/components/Checkbox.d.ts +2 -9
  71. package/build/ts/surfaces/customer-account/components/Chip.d.ts +3 -11
  72. package/build/ts/surfaces/customer-account/components/Choice.d.ts +2 -8
  73. package/build/ts/surfaces/customer-account/components/ChoiceList.d.ts +2 -9
  74. package/build/ts/surfaces/customer-account/components/Clickable.d.ts +12 -8
  75. package/build/ts/surfaces/customer-account/components/ClickableChip.d.ts +4 -15
  76. package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +2 -8
  77. package/build/ts/surfaces/customer-account/components/ConsentCheckbox.d.ts +8 -9
  78. package/build/ts/surfaces/customer-account/components/ConsentPhoneField.d.ts +9 -14
  79. package/build/ts/surfaces/customer-account/components/DateField.d.ts +2 -9
  80. package/build/ts/surfaces/customer-account/components/DatePicker.d.ts +2 -9
  81. package/build/ts/surfaces/customer-account/components/Details.d.ts +7 -16
  82. package/build/ts/surfaces/customer-account/components/DropZone.d.ts +2 -9
  83. package/build/ts/surfaces/customer-account/components/EmailField.d.ts +3 -14
  84. package/build/ts/surfaces/customer-account/components/Form.d.ts +2 -9
  85. package/build/ts/surfaces/customer-account/components/Grid.d.ts +1 -3
  86. package/build/ts/surfaces/customer-account/components/GridItem.d.ts +1 -3
  87. package/build/ts/surfaces/customer-account/components/Heading.d.ts +1 -4
  88. package/build/ts/surfaces/customer-account/components/Link.d.ts +2 -8
  89. package/build/ts/surfaces/customer-account/components/ListItem.d.ts +1 -4
  90. package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +3 -6
  91. package/build/ts/surfaces/customer-account/components/MoneyField.d.ts +2 -9
  92. package/build/ts/surfaces/customer-account/components/NumberField.d.ts +3 -14
  93. package/build/ts/surfaces/customer-account/components/Option.d.ts +1 -4
  94. package/build/ts/surfaces/customer-account/components/OrderedList.d.ts +1 -4
  95. package/build/ts/surfaces/customer-account/components/Paragraph.d.ts +12 -4
  96. package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +3 -14
  97. package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +3 -14
  98. package/build/ts/surfaces/customer-account/components/PressButton.d.ts +2 -8
  99. package/build/ts/surfaces/customer-account/components/Progress.d.ts +3 -5
  100. package/build/ts/surfaces/customer-account/components/ScrollBox.d.ts +1 -3
  101. package/build/ts/surfaces/customer-account/components/Select.d.ts +2 -9
  102. package/build/ts/surfaces/customer-account/components/SkeletonParagraph.d.ts +1 -4
  103. package/build/ts/surfaces/customer-account/components/Spinner.d.ts +1 -3
  104. package/build/ts/surfaces/customer-account/components/Stack.d.ts +1 -3
  105. package/build/ts/surfaces/customer-account/components/Summary.d.ts +1 -4
  106. package/build/ts/surfaces/customer-account/components/Switch.d.ts +2 -9
  107. package/build/ts/surfaces/customer-account/components/Text.d.ts +18 -5
  108. package/build/ts/surfaces/customer-account/components/TextArea.d.ts +2 -9
  109. package/build/ts/surfaces/customer-account/components/TextField.d.ts +3 -14
  110. package/build/ts/surfaces/customer-account/components/Time.d.ts +1 -4
  111. package/build/ts/surfaces/customer-account/components/UnorderedList.d.ts +1 -4
  112. package/build/ts/surfaces/customer-account/components/UrlField.d.ts +3 -14
  113. package/build/ts/surfaces/customer-account/components/components-shared.d.ts +126 -127
  114. package/build/ts/surfaces/customer-account/components/components.d.ts +9 -11
  115. package/build/tsconfig.tsbuildinfo +1 -1
  116. package/package.json +1 -1
  117. package/src/surfaces/admin/api/generated/generated.ts +76 -0
  118. package/src/surfaces/admin/api.ts +6 -0
  119. package/src/surfaces/checkout/api/address-autocomplete/standard.ts +1 -1
  120. package/src/surfaces/checkout/api/standard/standard.ts +2 -2
  121. package/src/surfaces/checkout/components/Abbreviation.d.ts +1 -4
  122. package/src/surfaces/checkout/components/Announcement.d.ts +2 -6
  123. package/src/surfaces/checkout/components/Badge.d.ts +1 -3
  124. package/src/surfaces/checkout/components/Banner.d.ts +2 -6
  125. package/src/surfaces/checkout/components/Box.d.ts +1 -3
  126. package/src/surfaces/checkout/components/Button.d.ts +12 -8
  127. package/src/surfaces/checkout/components/Checkbox.d.ts +2 -9
  128. package/src/surfaces/checkout/components/Chip.d.ts +3 -11
  129. package/src/surfaces/checkout/components/Choice.d.ts +2 -8
  130. package/src/surfaces/checkout/components/ChoiceList.d.ts +2 -9
  131. package/src/surfaces/checkout/components/Clickable.d.ts +12 -8
  132. package/src/surfaces/checkout/components/ClickableChip.d.ts +4 -15
  133. package/src/surfaces/checkout/components/ClipboardItem.d.ts +2 -8
  134. package/src/surfaces/checkout/components/ConsentCheckbox.d.ts +8 -9
  135. package/src/surfaces/checkout/components/ConsentPhoneField.d.ts +9 -14
  136. package/src/surfaces/checkout/components/DateField.d.ts +2 -9
  137. package/src/surfaces/checkout/components/DatePicker.d.ts +2 -9
  138. package/src/surfaces/checkout/components/Details.d.ts +7 -16
  139. package/src/surfaces/checkout/components/DropZone.d.ts +2 -9
  140. package/src/surfaces/checkout/components/EmailField.d.ts +3 -14
  141. package/src/surfaces/checkout/components/Form.d.ts +2 -9
  142. package/src/surfaces/checkout/components/Grid.d.ts +1 -3
  143. package/src/surfaces/checkout/components/GridItem.d.ts +1 -3
  144. package/src/surfaces/checkout/components/Heading.d.ts +1 -4
  145. package/src/surfaces/checkout/components/Link.d.ts +2 -8
  146. package/src/surfaces/checkout/components/ListItem.d.ts +1 -4
  147. package/src/surfaces/checkout/components/MapMarker.d.ts +3 -6
  148. package/src/surfaces/checkout/components/MoneyField.d.ts +2 -9
  149. package/src/surfaces/checkout/components/NumberField.d.ts +3 -14
  150. package/src/surfaces/checkout/components/Option.d.ts +1 -4
  151. package/src/surfaces/checkout/components/OrderedList.d.ts +1 -4
  152. package/src/surfaces/checkout/components/Paragraph.d.ts +12 -4
  153. package/src/surfaces/checkout/components/PasswordField.d.ts +3 -14
  154. package/src/surfaces/checkout/components/PhoneField.d.ts +3 -14
  155. package/src/surfaces/checkout/components/PressButton.d.ts +2 -8
  156. package/src/surfaces/checkout/components/Progress.d.ts +3 -5
  157. package/src/surfaces/checkout/components/ScrollBox.d.ts +1 -3
  158. package/src/surfaces/checkout/components/Select.d.ts +2 -9
  159. package/src/surfaces/checkout/components/SkeletonParagraph.d.ts +1 -4
  160. package/src/surfaces/checkout/components/Spinner.d.ts +1 -3
  161. package/src/surfaces/checkout/components/Stack.d.ts +1 -3
  162. package/src/surfaces/checkout/components/Summary.d.ts +1 -4
  163. package/src/surfaces/checkout/components/Switch.d.ts +2 -9
  164. package/src/surfaces/checkout/components/Text.d.ts +18 -5
  165. package/src/surfaces/checkout/components/TextArea.d.ts +2 -9
  166. package/src/surfaces/checkout/components/TextField.d.ts +3 -14
  167. package/src/surfaces/checkout/components/Time.d.ts +1 -4
  168. package/src/surfaces/checkout/components/UnorderedList.d.ts +1 -4
  169. package/src/surfaces/checkout/components/UrlField.d.ts +3 -14
  170. package/src/surfaces/checkout/components/components-shared.d.ts +126 -127
  171. package/src/surfaces/checkout/components/components.d.ts +9 -11
  172. package/src/surfaces/customer-account/api/docs.ts +12 -19
  173. package/src/surfaces/customer-account/api/order-status/order-status.ts +7 -9
  174. package/src/surfaces/customer-account/api/shared.ts +1 -2
@@ -1392,7 +1392,7 @@ export interface InteractionProps {
1392
1392
  /**
1393
1393
  * ID of a component that should respond to activations (e.g. clicks) on this component.
1394
1394
  *
1395
- * See `command` for how to control the behavior of the target.
1395
+ * Pair with the `command` property to specify what action to perform on the target component.
1396
1396
  *
1397
1397
  * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#commandfor
1398
1398
  */
@@ -1517,7 +1517,7 @@ export interface MultipleInputProps extends BaseInputProps {
1517
1517
  */
1518
1518
  onInput?: (event: Event) => void;
1519
1519
  /**
1520
- * An array of the `value`s of the selected options.
1520
+ * An array of `value` attributes for the currently selected options.
1521
1521
  *
1522
1522
  * This is a convenience prop for setting the `selected` prop on child options.
1523
1523
  */
@@ -1907,7 +1907,7 @@ interface ClickableProps$1 extends GlobalProps, BaseBoxProps, BaseClickableProps
1907
1907
  /**
1908
1908
  * Disables the clickable, meaning it cannot be clicked or receive focus.
1909
1909
  *
1910
- * In this state, onClick will not fire.
1910
+ * In this state, `click` won't fire.
1911
1911
  * If the click event originates from a child element, the event will immediately stop propagating from this element.
1912
1912
  *
1913
1913
  * However, items within the clickable can still receive focus and be interacted with.
@@ -2094,9 +2094,7 @@ interface DatePickerProps$1 extends GlobalProps, InputProps, FocusEventProps {
2094
2094
  */
2095
2095
  type?: "single" | "multiple" | "range";
2096
2096
  /**
2097
- * Dates that can be selected.
2098
- *
2099
- * A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
2097
+ * Restricts which dates the user can select. Accepts a comma-separated list of dates and date ranges. Whitespace is allowed after commas.
2100
2098
  *
2101
2099
  * The default `''` allows all dates.
2102
2100
  *
@@ -2147,7 +2145,7 @@ interface DatePickerProps$1 extends GlobalProps, InputProps, FocusEventProps {
2147
2145
  */
2148
2146
  disallow?: string;
2149
2147
  /**
2150
- * Days of the week that can be selected. These intersect with the result of `allow` and `disallow`.
2148
+ * Restricts which days of the week the user can select. These intersect with the result of `allow` and `disallow`.
2151
2149
  *
2152
2150
  * A comma-separated list of days. Whitespace is allowed after commas.
2153
2151
  *
@@ -3035,7 +3033,7 @@ interface ProgressProps$1 extends GlobalProps {
3035
3033
  /**
3036
3034
  * Specifies how much of the task has been completed.
3037
3035
  *
3038
- * It must be a valid floating point number between 0 and `max`, or between 0 and 1 if `max` is omitted.
3036
+ * It must be a valid floating point number between `0` and `max`, or between `0` and `1` if `max` is omitted.
3039
3037
  * If there is no value attribute, the progress bar is indeterminate;
3040
3038
  * this indicates that an activity is ongoing with no indication of how long it is expected to take.
3041
3039
  *
@@ -3049,7 +3047,7 @@ interface ProgressProps$1 extends GlobalProps {
3049
3047
  /**
3050
3048
  * This attribute describes how much work the task indicated by the progress element requires.
3051
3049
  *
3052
- * The `max` attribute, if present, must have a value greater than 0 and be a valid floating point number.
3050
+ * The `max` attribute, if present, must have a value greater than `0` and be a valid floating point number.
3053
3051
  *
3054
3052
  * @default 1
3055
3053
  *
@@ -4334,7 +4332,7 @@ declare const tagName$v = "s-map-marker";
4334
4332
  /** @publicDocs */
4335
4333
  interface MapMarkerElementProps extends Pick<MapMarkerProps$1, 'accessibilityLabel' | 'blockSize' | 'command' | 'commandFor' | 'clusterable' | 'inlineSize' | 'latitude' | 'longitude'> {
4336
4334
  /**
4337
- * Sets the action the `commandFor` target should take when this marker is activated. See the documentation of particular components for the actions they support. Learn more about the [`command` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command).
4335
+ * Sets the action the `commandFor` target should take when this component is activated. Learn more about the [`command` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command).
4338
4336
  *
4339
4337
  * - `--auto`: a default action for the target component.
4340
4338
  * - `--show`: shows the target component.
@@ -4345,7 +4343,7 @@ interface MapMarkerElementProps extends Pick<MapMarkerProps$1, 'accessibilityLab
4345
4343
  */
4346
4344
  command?: Extract<MapMarkerProps$1['command'], '--auto' | '--show' | '--hide' | '--toggle'>;
4347
4345
  /**
4348
- * The ID of a component that should respond to activations (for example, clicks) on this component. Refer to the `command` property for how to control the behavior of the target. Learn more about the [`commandfor` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#commandfor).
4346
+ * The ID of the component to control when this component is activated. Pair with the `command` property to specify what action to perform on the target component. Learn more about the [`commandFor` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#commandfor).
4349
4347
  */
4350
4348
  commandFor?: MapMarkerProps$1['commandFor'];
4351
4349
  }
@@ -37,27 +37,21 @@ interface ButtonProps {
37
37
  */
38
38
  accessibilityLabel?: string;
39
39
  /**
40
- * ID of a component that should respond to activations (e.g. clicks) on this component.
41
- *
42
- * See `command` for how to control the behavior of the target.
43
- *
44
- * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#commandfor
40
+ * The ID of the component to control when this component is activated. Pair with the `command` property to specify what action to perform on the target component. Learn more about the [`commandFor` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#commandfor).
45
41
  */
46
42
  commandFor?: string;
47
43
  /**
48
- * Sets the action the `commandFor` should take when this clickable is activated.
44
+ * Sets the action the `commandFor` target should take when this component is activated.
49
45
  *
50
- * See the documentation of particular components for the actions they support.
46
+ * - `--auto`: A default action for the target component.
47
+ * - `--show`: Shows the target component.
48
+ * - `--hide`: Hides the target component.
49
+ * - `--toggle`: Toggles the target component.
50
+ * - `--copy`: Copies the target clipboard item.
51
51
  *
52
- * - `--auto`: a default action for the target component.
53
- * - `--show`: shows the target component.
54
- * - `--hide`: hides the target component.
55
- * - `--toggle`: toggles the target component.
56
- * - `--copy`: copies the target ClipboardItem.
52
+ * Learn more about the [`command` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command).
57
53
  *
58
54
  * @default '--auto'
59
- *
60
- * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command
61
55
  */
62
56
  command?: '--auto' | '--show' | '--hide' | '--toggle' | '--copy';
63
57
  /**
@@ -103,9 +97,8 @@ interface ButtonProps {
103
97
  /**
104
98
  * The behavior of the button.
105
99
  *
106
- * - `'submit'` - Used to indicate the component acts as a submit button, meaning it submits the closest form.
107
- * - `'button'` - Used to indicate the component acts as a button, meaning it has no default action.
108
- * - `'reset'` - Used to indicate the component acts as a reset button, meaning it resets the closest form (returning fields to their default values).
100
+ * - `'submit'`: Submits the nearest containing form.
101
+ * - `'button'`: Performs no default action, relying on the `click` event handler for behavior.
109
102
  *
110
103
  * This property is ignored if the component supports `href` or `commandFor`/`command` and one of them is set.
111
104
  *
@@ -360,7 +353,7 @@ export interface Docs_Page_Button_PrimaryAction
360
353
  */
361
354
  command?: ButtonProps['command'];
362
355
  /**
363
- * The `id` of a component that should respond to activations on this button. See `command` for how to control the behavior of the target.
356
+ * The ID of the component to control when this component is activated. Pair with the `command` property to specify what action to perform on the target component. Learn more about the [`commandFor` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#commandfor).
364
357
  */
365
358
  commandFor?: ButtonProps['commandFor'];
366
359
  /**
@@ -416,7 +409,7 @@ export interface Docs_Page_Button_SecondaryAction
416
409
  */
417
410
  command?: ButtonProps['command'];
418
411
  /**
419
- * The `id` of a component that should respond to activations on this button. See `command` for how to control the behavior of the target.
412
+ * The ID of the component to control when this component is activated. Pair with the `command` property to specify what action to perform on the target component. Learn more about the [`commandFor` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#commandfor).
420
413
  */
421
414
  commandFor?: ButtonProps['commandFor'];
422
415
  /**
@@ -225,12 +225,12 @@ export interface OrderStatusApi<Target extends ExtensionTarget> {
225
225
 
226
226
  /**
227
227
  * The [metafields](/docs/apps/build/custom-data/metafields) requested in the
228
- * [`shopify.extension.toml`](/docs/api/customer-account-ui-extensions/latest#configuration)
228
+ * [`shopify.extension.toml`](/docs/apps/build/customer-accounts/metafields#create-the-metafield-definition)
229
229
  * file. Metafields are custom data fields that store additional information on Shopify resources
230
230
  * such as products, variants, customers, and the shop. These metafields are updated when there's
231
231
  * a change in the merchandise items being purchased by the customer.
232
232
  *
233
- * App owned metafields are supported and are returned using the `$app` format. The fully qualified reserved namespace format such as `app--{your-app-id}[--{optional-namespace}]` is not supported. See [app owned metafields](/docs/apps/build/custom-data/ownership#reserved-prefixes) for more information.
233
+ * App owned metafields are supported and are returned using the `$app` format. The fully qualified reserved namespace format such as `app--{your-app-id}[--{optional-namespace}]` is not supported. See [app owned metafields](/docs/apps/build/metafields#app-owned-metafields) for more information.
234
234
  *
235
235
  * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data) when accessing metafields attached to `customer`, `company`, or `companyLocation` resources.
236
236
  */
@@ -284,8 +284,7 @@ export interface OrderStatusApi<Target extends ExtensionTarget> {
284
284
  * The identifier that specifies where in Shopify's UI your code is being injected. This will be one of the targets you have included in your extension's configuration file.
285
285
  *
286
286
  * @example 'customer-account.order-status.block.render'
287
- * @see /docs/api/customer-account-ui-extensions/extension-targets-overview
288
- * @see /docs/apps/app-extensions/configuration#targets
287
+ * Learn more about [targets](/docs/api/customer-account-ui-extensions/{API_VERSION}/targets) and [target configuration](/docs/api/customer-account-ui-extensions/{API_VERSION}#configuration).
289
288
  *
290
289
  * @deprecated Deprecated as of version `2023-07`, use `extension.target` instead.
291
290
  */
@@ -300,7 +299,7 @@ export interface OrderStatusApi<Target extends ExtensionTarget> {
300
299
  /**
301
300
  * The buyer's locale, currency, time zone, country, and market context for the order.
302
301
  * Use these values to adapt your extension's content to the buyer's region. For formatted
303
- * dates, numbers, and translated strings, use the [Localization API](/docs/api/customer-account-ui-extensions/target-apis/platform-apis/localization-api)
302
+ * dates, numbers, and translated strings, use the [Localization API](/docs/api/customer-account-ui-extensions/{API_VERSION}/target-apis/platform-apis/localization-api)
304
303
  * instead.
305
304
  */
306
305
  localization: OrderStatusLocalization;
@@ -321,8 +320,7 @@ export interface OrderStatusApi<Target extends ExtensionTarget> {
321
320
  /**
322
321
  * The token that identifies the checkout session used to create the order. Use this value
323
322
  * to correlate the order with analytics events or backend API calls. This matches the
324
- * `token` field in the [WebPixel checkout payload](/docs/api/pixels/customer-events#checkout)
325
- * and the `checkout_token` field in the [Admin REST API Order resource](/docs/api/admin-rest/unstable/resources/order#resource-object).
323
+ * `token` field in the [WebPixel checkout payload](/docs/api/pixels/customer-events#checkout).
326
324
  * The value is `undefined` if the checkout token is unavailable.
327
325
  */
328
326
  checkoutToken: SubscribableSignalLike<CheckoutToken | undefined>;
@@ -815,7 +813,7 @@ export interface SelectedPaymentOption {
815
813
  /**
816
814
  * The handle of the payment option the buyer selected, corresponding to a `PaymentOption.handle` value.
817
815
  *
818
- * See [availablePaymentOptions](/docs/api/checkout-ui-extensions/apis/payments#standardapi-propertydetail-selectedpaymentoptions).
816
+ * See [availablePaymentOptions](/docs/api/customer-account-ui-extensions/{API_VERSION}/target-apis/order-apis/payments-api).
819
817
  */
820
818
  handle: string;
821
819
  }
@@ -1004,7 +1002,7 @@ export interface PaymentTermsTemplate {
1004
1002
  */
1005
1003
  id: string;
1006
1004
  /**
1007
- * The name of the payment terms translated to the buyer's current language, such as "Net 30" or "Due on receipt". See [localization.language](/docs/api/customer-account-ui-extensions/apis/localization#standardapi-propertydetail-localization).
1005
+ * The name of the payment terms translated to the buyer's current language, such as "Net 30" or "Due on receipt". See [localization.language](/docs/api/customer-account-ui-extensions/{API_VERSION}/apis/localization#standardapi-propertydetail-localization).
1008
1006
  */
1009
1007
  name: string;
1010
1008
  /**
@@ -120,8 +120,7 @@ export interface I18n {
120
120
  /**
121
121
  * Returns a localized date value. Behaves like the standard `Intl.DateTimeFormat()` and uses the buyer's locale by default.
122
122
  *
123
- * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat
124
- * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#using_options
123
+ * Learn more about [`Intl.DateTimeFormat`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat) and its [formatting options](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#using_options).
125
124
  *
126
125
  * @param options.inExtensionLocale - if true, use the extension's locale
127
126
  */