phpclassic / php-shopify

PHP SDK for Shopify API
Apache License 2.0
568 stars 211 forks source link

I want to add some data in metafields. I use this code but this is not working #271

Open KomalDeveloper01 opened 1 year ago

KomalDeveloper01 commented 1 year ago

$GetAgentId ="789459879696"; $data = array('key' => 'agent_customers','value'=>'abc','type' =>'multi_line_text_field','namespace' =>'custom'); $Customer = $shopify->Customer($GetAgentId)->Metafield()->put($data);