API ReferenceIntegrationsKnowledge Base

Items

An Item can be a service/good that you as a merchant wish to sell to a customer. You can predefine an Item on your Razorpay Dashboard or via API, so you can quickly call them out anytime. When an item is created, it will appear on the list of items in the Dashboard.

Tip:
If your business requires you to create custom items, you can create many pre-defined item template at the ready so you can use later as a line item.

Items Entity#

Following is a list of attributes of an item entity and their explanation:

id string
Mandatory. Unique Id of the item
name string
Mandatory. Name of the item
description string
Optional. A text description about the item
amount integer
Mandatory. Expected to be in paise format
currency string in: INR
Mandatory. Currency of the item. Select from the list of currencies here.

active boolean string :Mandatory

Create an Item#

The Items API allows you create an item and perform other operation corresponding to that item.

/items

Once an item is created, it will appear on the list of created item and also in the drop-down menu at the time of invoice creation. You can also edit the details of a created customer by going to the list of customers and clicking on edit under Actions.

Fetch an Item#

/items/:id

The response for getting an item id: item_7Oxp4hmm6T4SCn is shown below:

Fetch Multiple Items#

/items

Update an Item#

/item/:id

The response for getting an item id: item_7Oy8OMV6BdEAac is shown below:

Delete an Item#

/items/:id

The response for deleting an item id: item_7Oy8OMV6BdEAac is shown below: