Sign in

Activate product

documented

Activate catalog product.

POST /v1/catalogs/products/{product_id}/activateCatalog Productsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

I couldn't find an official PayPal Catalog Products API endpoint at POST /v1/catalogs/products/{product_id}/activate. The PayPal Catalog Products API documents the following operations for products:
- Create product: POST /v1/catalogs/products
- List products: GET /v1/catalogs/products
- Show product details: GET /v1/catalogs/products/{product_id}
- Update product: PATCH /v1/catalogs/products/{product_id}
There is no documented activate/deactivate endpoint for catalog products. If activation is required, PayPal's docs do not describe a separate endpoint for this action (activation for billing plans/subscriptions exists, e.g., POST /v1/billing/plans/{plan_id}/activate). ([developer.paypal.com](https://developer.paypal.com/docs/api/catalog-products/v1/?utm_source=openai))

If you’d like, I can provide a ready-to-run keychains curl command for a documented PayPal endpoint (e.g., Create product) using the PayPal sandbox base. Here are example commands you can adapt:

1) Create a product (sandbox)

npx -y keychains@latest curl "https://api-m.sandbox.paypal.com/v1/catalogs/products" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "PayPal-Request-Id: {{$request_id}}" \
  -d '{"id": "{{$product_id}}", "name": "{{$name}}", "description": "{{$description}}", "type": "{{$type}}", "category": "{{$category}}", "image_url": "{{$image_url}}", "home_url": "{{$home_url}}"}'

Variables
- OAUTH2_ACCESS_TOKEN: OAuth 2 access token
- request_id: Unique id for idempotency (e.g., req-1234)
- product_id: Product ID (SKU) or let PayPal generate one
- name: Product name
- description: Product description
- type: PHYSICAL | DIGITAL | SERVICE
- category: Product category
- image_url: Image URL
- home_url: Home URL

2) Show a product (sandbox)

npx -y keychains@latest curl "https://api-m.sandbox.paypal.com/v1/catalogs/products/{{$product_id}}" \
  -X GET \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}"

3) Update a product (PATCH) (sandbox)

npx -y keychains@latest curl "https://api-m.sandbox.paypal.com/v1/catalogs/products/{{$product_id}}" \
  -X PATCH \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -d '[{"op": "replace", "path": "/description", "value": "{{$description}}"}]'

Notes:
- Production base: https://api.paypal.com; Sandbox base examples above use the Merchant sandbox host (api-m.sandbox.paypal.com). See PayPal docs and example payloads for catalog products in sandbox. ([developer.paypal.com](https://developer.paypal.com/docs/multiparty/subscriptions/integrate/?utm_source=openai))
- If you truly need an activate-like action for subscriptions, use the Billing Plans activation endpoint documented in the Subscriptions API (POST /v1/billing/plans/{plan_id}/activate). ([developer.paypal.com](https://developer.paypal.com/docs/subscriptions/test-subscriptions/?utm_source=openai))

Would you like me to tailor a curl command for a specific documented endpoint (e.g., Create product or Show product details) and provide the exact variables list for your use case? If you can confirm whether you’re targeting Sandbox or Production, I’ll deliver a complete, executable keychains command set.