What's the right name for Item error notification ?

  • Servitel

    523 mensajes

    Suiza

    Hi Support
    I want to add for my clients the notification Publish_Item_Error
    But using the endpoint /notification I don't find the right notification name.
    These are all notifications available as per your call:
    [0] => Curl_Default
    [1] => Curl_Seller_Item_Close_Manually
    [2] => Curl_Seller_Item_Add_Error_Image
    [3] => Curl_Seller_Item_FirstBid
    [4] => Curl_Seller_Payment_Received
    [5] => Curl_Seller_Item_Move
    [6] => Curl_Seller_Item_Restart
    [7] => Curl_Seller_Item_Close_Sold
    [8] => Curl_Seller_Item_Add
    [9] => Curl_Seller_Item_Close_Unsold
    [10] => Curl_Seller_Item_Update
    [11] => Curl_Seller_Item_Cancelled

    Peraphs the right call is the [2] ?

    Thanks
    Roberto
  • @alex
    Administrador

    8 mensajes

    Bélgica

    Hi Roberto,

    No, it's a different notification, Curl_Seller_Item_Add_Error_Image is only sent when none of the item's images could be downloaded.

    You're right, Publish_Item_Error is missing from the list returned by GET /notification, so it currently cannot be subscribed to on its own. But we are working on it.

    In the meantime, you can receive it through a Curl_Default setting. It receives every notification type for which you have no specific setting, including Publish_Item_Error. Its payload contains item_title, personal_reference and error (item_not_found, cant_load_image or unknown_error).

    Best regards,
    Alex