Skip to content
Navigation

Turns notification types on or off for the caller in this store, in their list and by browser push.

PATCH
https://api.sherpo.io/merchant/v1/stores/{store}/me/notification_settings

Authorization

  • bearer
    HTTP
    required

Path parameters

  • store
    string
    required

    The store's id.

Request body JSON required

  • types
    object
    required

    Each type to change; a type left out keeps its setting, a field left out keeps its own.

    • new_sale
      optional
      object
      • list
        optional
        boolean

        Whether it lands in the caller's list.

      • push
        optional
        boolean

        Whether it is pushed to the caller's browsers; never without list.

    • new_subscription
      optional
      object
      • list
        optional
        boolean

        Whether it lands in the caller's list.

      • push
        optional
        boolean

        Whether it is pushed to the caller's browsers; never without list.

    • subscription_canceled
      optional
      object
      • list
        optional
        boolean

        Whether it lands in the caller's list.

      • push
        optional
        boolean

        Whether it is pushed to the caller's browsers; never without list.

    • renewal_failed
      optional
      object
      • list
        optional
        boolean

        Whether it lands in the caller's list.

      • push
        optional
        boolean

        Whether it is pushed to the caller's browsers; never without list.

    • refund_needs_hand
      optional
      object
      • list
        optional
        boolean

        Whether it lands in the caller's list.

      • push
        optional
        boolean

        Whether it is pushed to the caller's browsers; never without list.

    • dispute
      optional
      object
      • list
        optional
        boolean

        Whether it lands in the caller's list.

      • push
        optional
        boolean

        Whether it is pushed to the caller's browsers; never without list.

    • payouts
      optional
      object
      • list
        optional
        boolean

        Whether it lands in the caller's list.

      • push
        optional
        boolean

        Whether it is pushed to the caller's browsers; never without list.

    • approval_request
      optional
      object
      • list
        optional
        boolean

        Whether it lands in the caller's list.

      • push
        optional
        boolean

        Whether it is pushed to the caller's browsers; never without list.

    • waitlist_join
      optional
      object
      • list
        optional
        boolean

        Whether it lands in the caller's list.

      • push
        optional
        boolean

        Whether it is pushed to the caller's browsers; never without list.

    • new_review
      optional
      object
      • list
        optional
        boolean

        Whether it lands in the caller's list.

      • push
        optional
        boolean

        Whether it is pushed to the caller's browsers; never without list.

    • plan_limit
      optional
      object
      • list
        optional
        boolean

        Whether it lands in the caller's list.

      • push
        optional
        boolean

        Whether it is pushed to the caller's browsers; never without list.

    • plan_changed
      optional
      object
      • list
        optional
        boolean

        Whether it lands in the caller's list.

      • push
        optional
        boolean

        Whether it is pushed to the caller's browsers; never without list.

    • work_stopped
      optional
      object
      • list
        optional
        boolean

        Whether it lands in the caller's list.

      • push
        optional
        boolean

        Whether it is pushed to the caller's browsers; never without list.

    • call_booking
      optional
      object
      • list
        optional
        boolean

        Whether it lands in the caller's list.

      • push
        optional
        boolean

        Whether it is pushed to the caller's browsers; never without list.

    • ai_output_ready
      optional
      object
      • list
        optional
        boolean

        Whether it lands in the caller's list.

      • push
        optional
        boolean

        Whether it is pushed to the caller's browsers; never without list.

    • plan_features_paused
      optional
      object
      • list
        optional
        boolean

        Whether it lands in the caller's list.

      • push
        optional
        boolean

        Whether it is pushed to the caller's browsers; never without list.

Returns

200

Turns notification types on or off for the caller in this store, in their list and by browser push.

JSON
  • types
    array of
    object
    required
    • type
      string
      required
    • list
      boolean
      required
    • push
      boolean
      required
    • available
      boolean
      required

      Whether the caller's access lets them hear of it at all.

    • business
      boolean
      required

      Told once for the whole business, its setting shared by every store.

JSON
  • type
    string
    required
    format: uri
  • title
    string
    required
  • status
    integer
    required
  • detail
    string
    required
  • code
    optional
    string
  • context
    optional
    object
  • reached_core
    optional
    boolean
  • core_answer
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close