phpclassic / php-shopify

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

CancellationRequest (am I missing it?) #300

Open Spotnyk opened 1 year ago

Spotnyk commented 1 year ago

Greetings,

I am not able to locate any support for handling CancellationRequests (API).

Is there existing support? I want to be sure I'm not missing it somewhere before I put together a PR.

(note: This is different from FulfillmentRequest API)

Thanks

sf71 commented 1 year ago

it would appear that CancellationRequest.php is missing... not sure how this is working; is anyone else trying to perform cancellation requests?

if you can make a PR for this, i would like one, please.

DuncJM commented 1 year ago

Created pull requests that add CancellationRequest.php and update FulfillmentOrder.php to fix this issue. Hopefully it gets merged into the main repo.

https://github.com/phpclassic/php-shopify/pull/309

https://github.com/phpclassic/php-shopify/pull/310

Spotnyk commented 1 year ago

I just migrated that portion of our code to graphql. 🤷🏼‍♂️