phpclassic / php-shopify

PHP SDK for Shopify API
Apache License 2.0
570 stars 210 forks source link

Add Shopify API headers as a config to the SDK #165

Closed wissem closed 3 years ago

wissem commented 4 years ago

Hi,

Shopify now asks for some headers for certain new features (i.e: price presentment for Product Variant https://shopify.dev/docs/admin-api/rest/reference/products/product-variant?api[version]=2020-04 ) I'm guessing that they will add more features that could be activated using that HTTP header.

I have added this in my app since I needed it. Not sure if others would find this useful too?