Jump to content

API Assistance


MoveableJupiter

Recommended Posts

Good evening,

New to Prestashop.

I have a client who was utilizing ZenCart and wanted something "more modern," so we are building his site on Prestashop.

Everything has been going smoothly, except I need to add an API to connect his site to his suppliers catalogue (as it does automatic price updating at 6:30am every day)

The only information I have from the supplier is:

Inventory Detail File

Downloads a list of inventory items.

This file contains several fields, including pricing, description, brand and discount category. Click here for a full list of fields found in this file. This file is created by 6:30 AM EST, and ideally should be downloaded after that time.

There is a maximum of ten requests per 24 hour period.

Resource URL

GET https://{URL HERE}

Returns

A ZIP file containing the requested data.

Example

Download the inventory detail file:

Request

curl https://{URL HERE} \
  -H "Authorization: Bearer [token]" \
  -H "Accept: application/zip" \
  -o inventory.zip

 

 

I can't seem for the life of me figure this out.

Can anyone help?!

thank you!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...