Discussions

Ask a Question
Back to All

sellbrite api assistance

I want to use sellbrite's Inventory API with php. I'm not a newbie with APIs, but am a novice.

I've copied the code that sellbrite has suggested:

INSTALLATION

$ composer require guzzlehttp/guzzle

REQUEST

request('GET', 'https://api.sellbrite.com/v1/inventory?limit=100&page=1', [ 'headers' => [ 'Accept' => 'application/json', ], ]); echo $response->getBody(); Question 1: Is INSTALLATION on the server? Question 2: What is the following, and where/how is it used? $ composer require guzzlehttp/guzzle Question 3: How/where does the vendor folder get populated? Question 3: I don't see any code for Authentication.???? Thabnk you, Lynn