Update an item
Changed onUpdates an item's master record in the catalog. This is the only way to change catalog details — item fields sent inside a document apply to that document only.
Request
- Base URLhttps://app.getswipe.in/api/partner
- URLhttps://app.getswipe.in/api/partner/v2/product
- AuthHTTP bearer
Query parameters
Unique id for each item
Name of the Product
Opening Quantity
Price per item without Tax
Tax percentage for each item
Price per item with Tax
Purchase Price per item with Tax
Item Description
HSN Code
Product or Service enum
Item quantity unit
Cess Percent of the Item
Cess Amount of the Item
Barcode
Category
JSON string of alternative units
JSON string of custom fields
JSON string of product preferences
Request body multipart/form-data
Response
Success
Example response
{
"success": true,
"message": "Message",
"data": {
"message": "No data found!"
}
}Changes
- breaking
added the new required
queryrequest parameterid - breaking
added the new required
queryrequest parameteritem_type - breaking
added the new required
queryrequest parametername - breaking
added the new required
queryrequest parameterprice_with_tax - breaking
added the new required
queryrequest parameterquantity - breaking
added the new required
queryrequest parameterunit_price - breaking
removed the media type
application/jsonfrom the request body - warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- info
api operation id
v2_put_productremoved and replaced withput_product - info
added the new optional
queryrequest parameteralternative_units - info
added the new optional
queryrequest parameterbarcode - info
added the new optional
queryrequest parametercategory - info
added the new optional
queryrequest parametercess_amount - info
added the new optional
queryrequest parametercess_rate - info
added the new optional
queryrequest parametercustom_columns - info
added the new optional
queryrequest parameterdescription - info
added the new optional
queryrequest parameterhsn_code - info
added the new optional
queryrequest parameterpreferences - info
added the new optional
queryrequest parameterpurchase_price_with_tax - info
added the new optional
queryrequest parametertax_rate - info
added the new optional
queryrequest parameterunit - info
request body became optional
- breaking