Module: AmznSpApi::MessagingApiModel

Defined in:
lib/messaging_api_model/version.rb,
lib/messaging_api_model.rb,
lib/messaging_api_model/api_error.rb,
lib/messaging_api_model/api_client.rb,
lib/messaging_api_model/models/error.rb,
lib/messaging_api_model/configuration.rb,
lib/messaging_api_model/models/schema.rb,
lib/messaging_api_model/api/messaging_api.rb,
lib/messaging_api_model/models/attachment.rb,
lib/messaging_api_model/models/error_list.rb,
lib/messaging_api_model/models/link_object.rb,
lib/messaging_api_model/models/invoice_request.rb,
lib/messaging_api_model/models/invoice_response.rb,
lib/messaging_api_model/models/messaging_action.rb,
lib/messaging_api_model/models/get_schema_response.rb,
lib/messaging_api_model/models/create_warranty_request.rb,
lib/messaging_api_model/models/get_attributes_response.rb,
lib/messaging_api_model/models/create_warranty_response.rb,
lib/messaging_api_model/models/get_schema_response__links.rb,
lib/messaging_api_model/models/create_amazon_motors_request.rb,
lib/messaging_api_model/models/create_amazon_motors_response.rb,
lib/messaging_api_model/models/get_attributes_response_buyer.rb,
lib/messaging_api_model/models/get_messaging_action_response.rb,
lib/messaging_api_model/models/create_legal_disclosure_request.rb,
lib/messaging_api_model/models/create_legal_disclosure_response.rb,
lib/messaging_api_model/models/create_digital_access_key_request.rb,
lib/messaging_api_model/models/create_unexpected_problem_request.rb,
lib/messaging_api_model/models/create_digital_access_key_response.rb,
lib/messaging_api_model/models/create_unexpected_problem_response.rb,
lib/messaging_api_model/models/create_confirm_order_details_request.rb,
lib/messaging_api_model/models/get_messaging_action_response__links.rb,
lib/messaging_api_model/models/create_confirm_order_details_response.rb,
lib/messaging_api_model/models/create_confirm_service_details_request.rb,
lib/messaging_api_model/models/create_confirm_delivery_details_request.rb,
lib/messaging_api_model/models/create_confirm_service_details_response.rb,
lib/messaging_api_model/models/get_messaging_action_response__embedded.rb,
lib/messaging_api_model/models/create_confirm_delivery_details_response.rb,
lib/messaging_api_model/models/get_messaging_actions_for_order_response.rb,
lib/messaging_api_model/models/create_negative_feedback_removal_response.rb,
lib/messaging_api_model/models/create_confirm_customization_details_request.rb,
lib/messaging_api_model/models/create_confirm_customization_details_response.rb,
lib/messaging_api_model/models/get_messaging_actions_for_order_response__links.rb,
lib/messaging_api_model/models/get_messaging_actions_for_order_response__embedded.rb

Overview

#Selling Partner API for Messaging

With the Messaging API you can build applications that send messages to buyers. You can get a list of message types that are available for an order that you specify, then call an operation that sends a message to the buyer for that order. The Messaging API returns responses that are formed according to the <a href=tools.ietf.org/html/draft-kelly-json-hal-08>JSON Hypertext Application Language</a> (HAL) standard.

OpenAPI spec version: v1

Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 3.0.36

Defined Under Namespace

Classes: ApiClient, ApiError, Attachment, Configuration, CreateAmazonMotorsRequest, CreateAmazonMotorsResponse, CreateConfirmCustomizationDetailsRequest, CreateConfirmCustomizationDetailsResponse, CreateConfirmDeliveryDetailsRequest, CreateConfirmDeliveryDetailsResponse, CreateConfirmOrderDetailsRequest, CreateConfirmOrderDetailsResponse, CreateConfirmServiceDetailsRequest, CreateConfirmServiceDetailsResponse, CreateDigitalAccessKeyRequest, CreateDigitalAccessKeyResponse, CreateLegalDisclosureRequest, CreateLegalDisclosureResponse, CreateNegativeFeedbackRemovalResponse, CreateUnexpectedProblemRequest, CreateUnexpectedProblemResponse, CreateWarrantyRequest, CreateWarrantyResponse, Error, ErrorList, GetAttributesResponse, GetAttributesResponseBuyer, GetMessagingActionResponse, GetMessagingActionResponseEmbedded, GetMessagingActionResponseLinks, GetMessagingActionsForOrderResponse, GetMessagingActionsForOrderResponseEmbedded, GetMessagingActionsForOrderResponseLinks, GetSchemaResponse, GetSchemaResponseLinks, InvoiceRequest, InvoiceResponse, LinkObject, MessagingAction, MessagingApi, Schema

Constant Summary collapse

VERSION =
'1.0.0'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

AmznSpApi::MessagingApiModel.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



66
67
68
69
70
71
72
# File 'lib/messaging_api_model.rb', line 66

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end