דלגו לתוכן
תיעוד
תפריט
צפייה כ־Markdown

Add

This endpoint allows you to create products. You can specify details such as category, name, price, currency, VAT type, and additional product information. The product will be added to your catalog and can be used in transactions, recurring payments, Invoice+, etc.

POSThttps://restapidev.payplus.co.il/api/v1.0/Products/Add

סביבה

כותרות (Headers)

stringחובה
API Key
stringחובה
Secret Key

גוף הבקשה application/json

שדהסוגתיאור
nameחובהstringProduct name. This is a required field and should be unique for each product for better identification.
priceחובהinteger (int)Sell price
validbooleanSets if the product is valid or not. If set to false, the product will not be available accross the system.
valuestringCost price
barcodestringBarcode of the product. This is an optional field, but it can be used to identify the product in a more convenient way.
vat_typeחובהinteger (int)0 - VAT Included 1 - VAT Not Included 2 - VAT Exemptאחד מ: 0, 1, 2
descriptionstringProduct description, can be used for additional information about the product.
category_uidsstring[]Array of strings, each string is a different category_uid. This allows you to assign your product to multiple categories. If not set, the product will be assigned to system's default category.
currency_codeחובהstringאחד מ: ILS, USD, EUR, GPB
guide_document_urlstringMostly used for invoies to send manual docmentation of a product when customer buying product
percentage_discountinteger (flout)Percentage discount for the product. This is a discount that will be applied to the product price as a percentage.
fixed_amount_discountinteger (flout)Fixed amount discount for the product. This is a discount that will be applied to the product price.
עריכת גוף הבקשה

תשובות

200 200
400 400
האם העמוד עזר לך?
שאלו את ה־AI

שאלו שאלה על PayPlus. התשובות מבוססות על התיעוד שפורסם, עם קישורים לעמודים שמהם נלקחו.

תשובות AI עלולות לטעות. כדאי לבדוק בעמודים המקושרים.

החשבון שלך ב־PayPlusפתיחה בכרטיסייה חדשה
Add · PayPlus Docs