API
Manage Incoming Orders
Manage your Catalog of products
SFTP
Manage your Catalog of products
Manage your Promotions
Testing Integration#
Click below to jump to the topics:
In order to test your integration, you’ll need to:#
Have a test user
You must share with your Account Manager an email address you have access to, but that does not already exist in PedidosYa. This email will be used to create a test user so you can view your test store from the PedidosYa mobile app.
Have a test store
Your Account Manager must provide you with the ID, name, and address of your test store.
Have access to the test store in Partner Portal
Your Account Manager must ensure that you have access to the test store in Partner Portal.
Validate your integration
You can test the different functionalities you develop in your test store and see their impact in Partner Portal or in the PedidosYa app.
All tests for this integration are carried out in the live environment. Before updating a product, make sure it is included in your test store catalog.
How do I perform E2E testing?#
It is important to go through the end-to-end testing process. To ensure a smooth integration, you need to test various scenarios by following these steps.
Single product update using PUT
/catalog
endpoint
Modify the request body withsku
,price
,active
, andmax_sales_quantity
fieldsCheck the API response as
200
Check your catalog and frontend for changes to the
sku
Bulk product updates using PUT
/catalog
endpoint (recommended to configure webhook to visibility on job logs)Add multiple SKUs with the product attributes
sku
,price
,active
, andmax_sales_quantity
Check for API response
202
Async job details are sent to configured webhook, containing downloadURL
Use GET on the
downloadURL
with the bearer tokenDownload the logs at
sku
level
POST
/export
endpointRequest with vendor-id
Check for API response 202
Async job details are sent to configured webhook, containing downloadURL
Use GET on the downloadURL with the bearer token
Download the assortment data includes,
SKU
,price
,active
,max_sales_quantity
fields
GET
/categories
Retrieves list of available vendor categoriesGET
/catalog
Contains catalog information in paginated format SKU, translations, product descriptions, image URLs, etc
If all updates are correctly processed without errors, the integration is ready to go live. You can schedule a meeting here with our Integrations Support team to certify your integration.