Hi, I’m having trouble understanding the discrepancy between the documentation and the actual data I’m receiving.
In the documentation for the “placements” field in “paymentMethods” it states the following:
“Placements supported by this payment method. Only available for API clients installed on a Shopify Plus store.”
I’m particularly interested in the phrase: “Only available for API clients installed on a Shopify Plus store” because, in reality, I’m constantly receiving “placements” for a store with a “Basic” plan!
So I have two questions:
- Is this an incorrect or outdated description, or does the issue happen due to the legacy setup, or is there another reason why I’m getting this data in the input even though the documentation says I shouldn’t? Documentation link
- The “placements” property is also available for the “FunctionRunResult” → “HideOperation”. The documentation doesn’t mention any restrictions here. Is this value available for passing in the result for non-Shopify Plus stores? Documentation link
We’re developing an app, and I want to avoid a situation where we rely on this data and display it in the UI for non-Shopify Plus stores, but then at some point, this data stops being available.
Here’s an example of the data I’ve tested with API versions “2024-10” and “2025-01”
{
"paymentMethods": [
{
"id": "gid://shopify/PaymentCustomizationPaymentMethod/0",
"name": "Deferred",
"placements": [
"PAYMENT_METHOD"
]
},
{
"id": "gid://shopify/PaymentCustomizationPaymentMethod/1",
"name": "Shopify Payments",
"placements": [
"PAYMENT_METHOD"
]
},
{
"id": "gid://shopify/PaymentCustomizationPaymentMethod/2",
"name": "Apple Pay",
"placements": [
"ACCELERATED_CHECKOUT"
]
},
{
"id": "gid://shopify/PaymentCustomizationPaymentMethod/3",
"name": "Google Pay",
"placements": [
"ACCELERATED_CHECKOUT"
]
},
{
"id": "gid://shopify/PaymentCustomizationPaymentMethod/4",
"name": "Shop Pay",
"placements": [
"PAYMENT_METHOD",
"ACCELERATED_CHECKOUT"
]
},
{
"id": "gid://shopify/PaymentCustomizationPaymentMethod/5",
"name": "Shop Pay Installments",
"placements": [
"PAYMENT_METHOD"
]
},
{
"id": "gid://shopify/PaymentCustomizationPaymentMethod/6",
"name": "Redeemable payment method",
"placements": [
"PAYMENT_METHOD"
]
},
{
"id": "gid://shopify/PaymentCustomizationPaymentMethod/7",
"name": "Cash on Delivery (COD)",
"placements": [
"PAYMENT_METHOD"
]
}
],
"paymentCustomization": {
"metafield": {
"jsonValue": {
"operations": []
}
}
}
}