phpclassic / php-shopify

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

how to obtain location list #318

Open aogg2023 opened 10 months ago

aogg2023 commented 10 months ago

I am not yet able to adapt to the SDK method. May I know if there are any documents available for me to check or who can tell me about their previous usage methods

aogg2023 commented 10 months ago

What I currently know is:fulfillments 、fulfillment_order、order

aogg2023 commented 10 months ago

I try get locations:

get $shopify->Location->locations(); return :No action named locations is defined for Location.

get $shopify->Location() return {"countEnabled":false,"readOnly":true,"searchEnabled":false,"id":null}

aogg2023 commented 10 months ago

I understand through examples

$shopify ->Location ->get(); We need to use a delivery method later on

pynner commented 10 months ago

$shopify->Location->get(); should return the list of locations available