php-shopify icon indicating copy to clipboard operation
php-shopify copied to clipboard

how to obtain location list

Open aogg2023 opened this issue 1 year ago • 4 comments

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 avatar Jan 17 '24 03:01 aogg2023

What I currently know is:fulfillments 、fulfillment_order、order

aogg2023 avatar Jan 17 '24 03:01 aogg2023

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 avatar Jan 17 '24 03:01 aogg2023

I understand through examples

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

aogg2023 avatar Jan 17 '24 06:01 aogg2023

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

pynner avatar Jan 25 '24 00:01 pynner