You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'The API for invoking Shopify intents to request workflows.',
7
-
description: `Entry point for Shopify intents. Intents pair an \`action\` (verb) with a resource \`type\` and optional \`value\` and \`data\` to request a workflow.`,
7
+
description: `The Intents API provides a way to invoke existing customer account workflows for managing buyer information.`,
8
8
isVisualComponent: false,
9
9
category: 'APIs',
10
10
type: 'API',
11
-
definitions: [
12
-
{
13
-
title: 'Intents',
14
-
description: 'Intents API for invoking Shopify workflows.',
description: `The \`invoke\` API is a function that accepts either a string query or an options object describing the intent to invoke and returns a Promise that resolves to an activity handle for the workflow.
27
+
28
+
## Intent Format
29
+
30
+
Intents are invoked using a string query format: \`\${action}:\${type},\${value}\`
31
+
32
+
Where:
33
+
- \`action\` - The operation to perform (\`create\`, \`edit\` or \`open\`)
34
+
- \`type\` - The resource type (e.g., \`shopify/SubscriptionContract\`)
0 commit comments