Skip to main content

PayPal Community

  • Dashboard
  • Send and Request
  • Wallet
  • Business
  • Help
Log in

Le Forum de la communauté n’est pas disponible pour les nouveaux messages ou les réponses; les articles précédents restent disponibles pour vérification. Afin de connaître les options d’assistance complètes, rendez-vous sur PayPal.com/HelpCenter

Si vous souhaitez signaler du contenu illégal et contraire au Règlement sur les services numériques de l’Union Européenne (DSA), veuillez cliquer ici.

since ‎Jan-26-2022
Country: United States
Type: Business
Bencol3289
Bencol3289 Contributor
Contributor
1
Post
0
Kudos
0
Solutions
The Return
Active
View all
Latest Contributions by Bencol3289
  • Topics Bencol3289 has Participated In
  • Latest Contributions by Bencol3289

Can I create a product using curl? and why do I ke...

by Bencol3289 Contributor in REST APIs
‎Jan-26-2022 11:53 PM
‎Jan-26-2022 11:53 PM
This is what I am using...   curl -v -X POST https://api-m.paypal.com/v1/catalogs/products \ -H "Content-Type: application/json" \ -H "Authorization: Bearer  <Access-Token>" \ -H "PayPal-Request-Id: PRODUCT-18062020-001" \ -d "{"name": "", "description": "", "type": "", "category": "", "image_url": "", "home_url": "" }"   This is what I keep getting?? why?? {"name":"INVALID_REQUEST","message":"Request is not well-formed, syntactically incorrect, or violates schema.","debug_id":"1f2d7a6b83b06","details":[{"location":"body","issue":"MALFORMED_REQUEST_JSON","description":"The request JSON is not well formed."}],"links":[]}* ... View more
Paypal Logo
  • Help
  • Contact Us
  • Security
  • Fees
  • © 1999-2025 PayPal, Inc. All rights reserved.
  • Privacy
  • Legal
  • Cookies
  • Policy Updates

The money in your balance is eligible for pass-through FDIC insurance.

The PayPal Cash Mastercard is issued by The Bancorp Bank pursuant to a license by Mastercard International Incorporated. The Bancorp Bank; Member FDIC.

Powered by Khoros