Types
In addition to GraphQL's native scalar types, and a few of Shopify's, Submarine defines its own types.
AppliedDiscountType
The valid discount types that can be applied to an order.
Value | Description |
---|---|
FIXED_AMOUNT | A fixed amount in the store's currency. |
PERCENTAGE | A percentage of the order subtotal. |
CountryCode
The supported country codes.
Value | Description |
---|---|
AU | Australia. |
US | United States. |
CurrencyCode
The supported currency codes.
Value | Description |
---|---|
AUD | Australian dollars. |
USD | United States dollars. |
MetafieldTypeKind
The type of metafield.
Value | Description |
---|---|
INTEGER | An integer. |
JSON_STRING | A JSON string. |
STRING | A string. |
Updated over 2 years ago