POST
/
v1
/
product
/
list
curl --request POST \
  --url https://app.getswipe.in/api/partner/v1/product/list \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "item_mapping": [
    {
      "item_id": "<string>",
      "swipe_id": "1",
      "force_update": true
    }
  ]
}'
{
  "success": true,
  "message": "Product added successfully"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
item_mapping
object[]
required

Response

200
application/json
Updated successfully
success
boolean

Success flag

Example:

true

message
string

Response message

Example:

"Product added successfully"