POST
/
v2
/
product
/
list
curl --request POST \
  --url https://app.getswipe.in/api/partner/v2/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": "Message",
  "error_code": "",
  "errors": {},
  "data": {
    "message": "No data found!"
  }
}

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:

"Message"

error_code
string

Error Code

Example:

""

errors
object

Errors

data
object