Introduction

This page will help you understand about information from the API Plugg.to

ENDPOINTS

A API PluggTo pode ser acessada pelo URL https://api.plugg.to

PluggTo API is accessible by the URL https://api.plugg.to

Actualy exists 7 types of resources:

  • Products
  • Skus
  • Orders
  • Messages
  • Shipping
  • Labels
  • Places

Products and Skus is the same, the Skus endpoint was builded to avoid the need to to know the internal id of some sku to view it or updated.

We recommeded to use the Products endpoint ONLY if you need to search some product by attribute or get all, or if you received a notification with the product resource id and with notication type = product.

AUTHENTICATION
To make any request, you will need a valid access token that is sent in the call header.
Example:

Authorization: Bearer {ACCESS_TOKEN}
curl --request PUT \
  --url https://api.plugg.to/orders/plugg_id \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer {ACCESS_TOKEN}' \
  --header 'Content-Type: application/json'

To get a access tokens you have to make authenticate using APP authentication method or Plugin authentication method.

Check the Authentication Api