Hi, we made API development for a client and we have a problem. Our client has a primary domain that is the live and there is the test-site domain that redirect to the primary domain. Both domains are for the same shop.
We are able to get the orders on any of the 2 domains.
We are getting a “Not found” error on the fulfillment API when using the active domain, but it works fine if we use the test-site url.
How can we get the APIs used in our application to work on any domains of a single shop (well, preferably on the primary domain)
Here is basically what we get (an empty request was used here for test purpose).
https://www.mydomain.co/admin/api/2024-01/fulfillments.json
{
“errors”: “Not Found”
}
https://mydomain-co-test-site.myshopify.com/admin/api/2024-01/fulfillments.json
{
“errors”: [
“Fulfillment payloads fulfillment order must be greater than 0”
]
}