Menu
storeCreditConfiguration
Returns the store credit configuration for a shop, including whether store credit is enabled for customers at checkout.
Use it in a workflow
- Add a step and choose the Shopify connector.
- Pick the storeCreditConfiguration action (under Store).
- Fill in the fields below, then reference the result from later steps as
{{storecreditconfiguration.response.data}}.
Query
This is the query the action sends by default. Edit it in the step's Query field to change which fields come back.
query StoreCreditConfiguration {
storeCreditConfiguration {
storeCreditEnabled
}
}
Response
Read the result with {{storecreditconfiguration.response.data.data.storeCreditConfiguration}}. If the API returns errors, the step fails and they are at {{storecreditconfiguration.response.data.errors}}.
Need more? See the Shopify guide for connection setup and behaviour shared by every action.
Was this page helpful?