Development discussions around Shopify APIs
I am using this for my Laravel project, https://github.com/phpclassic/php-shopify
Has anyone came across this issue:
PHPShopify\Exception\ApiException: signature - has already been taken
(new Shopify())->Customer($data['customer_id'])->Address($shopify_address_id)->put($forUpdate);
This is the value of my $dataForUpdate
{
"address1": "Urthaleramt 7",
"first_name": "John",
"last_name": "Doe",
"zip": "3684",
"city": "St.Oswald"
}
And this is the response:
{ "errors": { "signature": [ "has already been taken" ] } }
Can someone help me clarify what does the error mean?
Thank you
Solved! Go to the solution
This is an accepted solution.
Hey @rexb,
I believe each address needs to be unique - try removing similar addresses and try again.
Let me know if you're still stuck.
Scott | Developer Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
This is an accepted solution.
Hey @rexb,
I believe each address needs to be unique - try removing similar addresses and try again.
Let me know if you're still stuck.
Scott | Developer Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Thanks Scot.
Hey @SBD_,
It seems I have a similar issue. Could you please provide a bit more information? What combination of fields should be unique?
User | RANK |
---|---|
8 | |
7 | |
3 | |
3 | |
3 |
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By