Skip to content
Navigation

Updates whether a notification is enabled.

PATCH
https://api.sherpo.io/merchant/v1/stores/{store}/notifications/{notification}

Authorization

  • bearer
    HTTP
    required

Path parameters

  • store
    string
    required

    The store's id.

  • notification
    string
    required
    minLength: 1

Header parameters

  • Idempotency-Key
    optional
    string

    Repeats within 24 hours answer the first result; the same key with other arguments is a conflict.

    maxLength: 255 · minLength: 1 · pattern: ^[\x21-\x7E]+$

Request body JSON optional

  • enabled
    optional
    boolean

Returns

200

Updates whether a notification is enabled.

JSON
  • id
    string
    required
  • event
    string
    required
  • target
    required

    One of the following:

    • object
    • null
  • locale
    string
    required
  • channel
    string
    required
  • enabled
    boolean
    required
  • in_effect
    boolean
    required
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