PayPal

Catalog Products

Merchants can use the Catalog Products API to create products, which are goods and services.

Payments#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Merchants can use the Catalog Products API to create products, which are goods and services.

Endpoints 4

products

  • GETList products/v1/catalogs/products?page_size=10&page=1&total_required=falseLists products.
  • POSTCreate product/v1/catalogs/productsCreates a product.
  • GETShow product details/v1/catalogs/products/:product_idShows details for a product, by ID.
  • PATCHUpdate product/v1/catalogs/products/:product_idUpdates a product, by ID. You can patch these attributes and objects:<table><thead><tr><th>Attribute or…

API details

Base URL
https://api-m.sandbox.paypal.com
https://api-m.paypal.com
Authentication
OAuth 2.0 (client credentials flow) with 1 scope
Operations
4 operations on 2 pathsGET 2POST 1PATCH 1
Main resources
products 4
Response formats
application/json
Description format
OpenAPI 3.0.3, API version 1.0

How to test the Catalog Products in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Catalog Products collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (client credentials flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “List products” (GET /v1/catalogs/products?page_size=10&page=1&total_required=false), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Catalog Products?

Merchants can use the Catalog Products API to create products, which are goods and services. It is listed under Payments and has 4 endpoints.

Who publishes the Catalog Products?

It is listed from PayPal's public API description (an OpenAPI document), not published by PayPal on Swastik Codes. Anyone who controls paypal.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Catalog Products?

Its description lists 2 base URLs: https://api-m.sandbox.paypal.com, https://api-m.paypal.com. The first is the usual one; the others are typically sandbox or regional servers.

How do I authenticate with the Catalog Products?

With OAuth 2.0 (client credentials flow) with 1 scope.

How many endpoints does the Catalog Products have?

4 operations on 2 paths (2 GET, 1 POST, 1 PATCH). The largest groups are products.

Is forking the Catalog Products free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.