Edit Blocked Item

PUT /self/{shopId}/blacklist/{blockedItemId}

Path parameters

  • shopId integer(int32) Required
  • blockedItemId integer(int64) Required

Body

  • data string | null
  • note string | null
  • type integer(int32)

    " Ip = 0 Email = 1 Country = 2 "

    Values are 0, 1, or 2.

  • customerForShopId integer(int64) | null

Body

  • data string | null
  • note string | null
  • type integer(int32)

    " Ip = 0 Email = 1 Country = 2 "

    Values are 0, 1, or 2.

  • customerForShopId integer(int64) | null

Body

  • data string | null
  • note string | null
  • type integer(int32)

    " Ip = 0 Email = 1 Country = 2 "

    Values are 0, 1, or 2.

  • customerForShopId integer(int64) | null

Responses

  • 200

    Blocked item edited

PUT /self/{shopId}/blacklist/{blockedItemId}
curl \
 --request PUT 'https://dev.sellpass.io/self/{shopId}/blacklist/{blockedItemId}' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"data":"string","note":"string","type":0,"customerForShopId":42}'
curl \
 --request PUT 'https://dev.sellpass.io/self/{shopId}/blacklist/{blockedItemId}' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: text/json"
curl \
 --request PUT 'https://dev.sellpass.io/self/{shopId}/blacklist/{blockedItemId}' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/*+json"
Request examples
{
  "data": "string",
  "note": "string",
  "type": 0,
  "customerForShopId": 42
}
Request examples
{
  "data": "string",
  "note": "string",
  "type": 0,
  "customerForShopId": 42
}
Request examples
{
  "data": "string",
  "note": "string",
  "type": 0,
  "customerForShopId": 42
}