Using Guzzle for PHP

php

#1

I tried to use guzzle for API calls in PHP but to “Create a Product” it’s requested to use a mixure of JSON and ARRAY (for the price object) which seems not to be the standard behaviour of the json_encode function.

Any suggestions?


#2

Hey Dom,

Can you give me some more details? Arrays are valid in JSONAPI are you seeing any error messages?

Thanks

Drew,
Support Engineer


#3

Hi.

Just found - was a simple typo. Sorry…


#4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.