Closed rachel-carvalho closed 2 months ago
We want to perform mutations with a POST instead of a GET.
GET /api/products/create
POST /api/products
web/frontend
fetch
/api/products
/api/products/count
VerifyCsrfToken
variants
populateProduct
https://github.com/Shopify/shopify-app-template-php/assets/446046/a4b1b1dc-ee39-4d00-a18b-bccc79bc81b5
Note: once this PR is merged, it becomes a new release for this template.
README.md
WHY are these changes introduced?
We want to perform mutations with a POST instead of a GET.
WHAT is this pull request doing?
GET /api/products/create
toPOST /api/products
web/frontend
submodule to the commit which updatesfetch
call https://github.com/Shopify/shopify-frontend-template-react/pull/259/api/products
and/api/products/count
to theVerifyCsrfToken
middleware's list of excepted pathsvariants
field frompopulateProduct
mutation because it's not valid anymorehttps://github.com/Shopify/shopify-app-template-php/assets/446046/a4b1b1dc-ee39-4d00-a18b-bccc79bc81b5
Checklist
Note: once this PR is merged, it becomes a new release for this template.
README.md
file and other related documentation, if applicable~ N/A