Using Guzzle for PHP


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?


Hey Dom,

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


Support Engineer



Just found - was a simple typo. Sorry…