Method: Peddler::APIs::ApplicationIntegrations20240401#create_notification

Defined in:
lib/peddler/apis/application_integrations_2024_04_01.rb

#create_notification(body, rate_limit: 1.0) ⇒ Peddler::Response

Note:

This operation can make a static sandbox call.

Create a notification for sellers in Seller Central.

Parameters:

  • body (Hash)

    The request body for the ‘createNotification` operation.

  • rate_limit (Float) (defaults to: 1.0)

    Requests per second

Returns:



20
21
22
23
24
# File 'lib/peddler/apis/application_integrations_2024_04_01.rb', line 20

def create_notification(body, rate_limit: 1.0)
  path = "/appIntegrations/2024-04-01/notifications"
  parser = -> { CreateNotificationResponse }
  meter(rate_limit).post(path, body:, parser:)
end