Development discussions around Shopify APIs
Hi-
I am trying to create a marketing activity extension for our app, but cannot get it working. I have already made the extension and the server endpoint POST:preload_form_data. When the shop owner clicks "Create campaign", that endpoint is called by Shopify, as expected. My app responds with 200:OK and payload
{
form_data: {
}
}
Hello. Budget field is a required field to create a campaign. In the preload_form_data you need to return response with the budget_id field (the id is your own created during extension creation). The budget response is required to return currency. By the way, you can just copy an example to return
{
"form_data": {
"budget": {
"amount": 5,
"currency": "CAD",
"help_text": "Your shop will perform best with a $20 daily budget."
}
}
}
User | RANK |
---|---|
8 | |
7 | |
3 | |
3 | |
3 |
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By