Created
July 19, 2024 23:24
-
-
Save alejoasotelo/3af2e410cdeb8ae17c9ad6336a54cccf to your computer and use it in GitHub Desktop.
API Prestashop 1.7 (webservice) endpoints para VS Code Rest Client
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@baseUrl = https://midominio.com.ar/api/ | |
@apiKey = MI_API_KEY_CREADA_EN_PRESTASHOP | |
@authorizationKey = {{apiKey}}: | |
### | |
GET {{baseUrl}}?output_format=JSON HTTP/1.1 | |
Authorization: Basic {{authorizationKey}} | |
### | |
# @name products | |
GET {{baseUrl}}products?output_format=JSON&limit=10 HTTP/1.1 | |
Authorization: Basic {{authorizationKey}} | |
### | |
# @name product | |
GET {{baseUrl}}products/{{products.response.body.products[0].id}}?output_format=JSON HTTP/1.1 | |
Authorization: Basic {{authorizationKey}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment