Skip to content

Return location header as array if response is 303 #221

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 15, 2021

Conversation

liamjcooper
Copy link
Contributor

A useful fix for endpoints such as discount code lookup, which returns a 303 HTTP status code along with a header indicating the full URI of the discount code on the shop.

See more: https://shopify.dev/docs/admin-api/rest/reference/discounts/discountcode#lookup-2021-01

@tareqtms tareqtms merged commit 0d86fc5 into phpclassic:master Jun 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants