Cloud

Build 24.0.9175
  • Amazon Marketplace
    • Getting Started
      • Establishing a Connection
      • Amazon Marketplace Data Retention Policy
      • SSL Configuration
      • Firewall and Proxy
    • Data Model
      • Seller Central Data Model
        • Tables
          • Destinations
          • InboundDeliveryWindowOptions
          • InboundItemComplianceDetails
          • InboundPackingOptions
          • InboundPlacementOptions
          • InboundPlan
          • InboundSelfShipAppointmentSlots
          • InboundShipmentContentUpdatePreview
          • ListingsItems
          • ListingsItemsAttributes
          • OutboundFulfillmentOrders
          • Subscriptions
        • Views
          • CatalogItems
          • CatalogItemsClassifications
          • CompetitivePricing
          • Feeds
          • FeesEstimate
          • InboundDeliveryChallanDocument
          • InboundOperationStatus
          • InboundPackingGroupBoxes
          • InboundPackingGroupItems
          • InboundPlanBoxes
          • InboundPlanItems
          • InboundPlanPallets
          • InboundShipmentBoxes
          • InboundShipmentItems
          • InboundShipmentPallets
          • InboundShipments
          • InboundTransportationOptions
          • InventorySupply
          • ItemOffers
          • ListingOffers
          • ListingsItemsIssues
          • ListingsItemsOffers
          • ListingsItemsSummaries
          • OrderItems
          • OrderMetrics
          • Orders
          • OutboundFeatures
          • OutboundFulfillmentOrderItems
          • OutboundFulfillmentsPreview
          • OutboundPackageTracking
          • OutboundReturnItems
          • OutboundReturnReasons
          • ProductPricing
          • ReportList
          • ReportTypes
          • ShippingDocuments
          • ShippingRates
          • ShippingTracking
        • Stored Procedures
          • CancelFeed
          • CancelFulfillmentOrder
          • CancelInboundPlan
          • CancelReport
          • CancelSelfShipAppointment
          • CancelShipment
          • ConfirmDeliveryWindowOptions
          • ConfirmPackingOption
          • ConfirmPlacementOption
          • ConfirmShipment
          • ConfirmShipmentContentUpdatePreview
          • ConfirmTransportationOptions
          • CreateFulfillmentReturn
          • CreateMarketplaceItemLabels
          • CreateProductReviewAndSellerFeedbackSolicitation
          • CreateReportSchema
          • CreateScheduledPackage
          • CreateScheduledPackageBulk
          • CreateTransportationOption
          • GetAdditionalInputsSchema
          • GetFeedProcessingReport
          • GetInboundShipmentBillOfLading
          • GetInboundShipmentLabel
          • GetReport
          • GetScheduledPackage
          • GetSolicitationActionsForOrder
          • ListHandoverSlots
          • PurchaseShipment
          • RequestReport
          • ScheduleSelfShipAppointment
          • SetPackingInformation
          • SubmitCartonContentFeed
          • SubmitFulfillmentOrderStatus
          • SubmitImageFeed
          • SubmitInventoryFeed
          • SubmitOrderAcknowledgementFeed
          • SubmitOrderAdjustmentFeed
          • SubmitOrderFulfillmentFeed
          • SubmitOverrideFeed
          • SubmitPriceFeed
          • SubmitProductFeed
          • SubmitRelationshipFeed
          • SubmitSourcingOnDemandFeed
          • SubmitVATInvoiceFeed
          • UpdateScheduledPackages
          • UpdateShipmentStatus
          • UpdateShipmentTrackingDetails
      • Vendor Central Data Model
        • Tables
          • Destinations
          • ListingsItems
          • ListingsItemsAttributes
          • Subscriptions
          • VendorCustomerInvoices
          • VendorPackingSlips
          • VendorShippingLabels
        • Views
          • CatalogItems
          • CatalogItemsClassifications
          • ListingsItemsIssues
          • ListingsItemsOffers
          • ListingsItemsSummaries
          • ReportList
          • ReportTypes
          • VendorOrders
        • Stored Procedures
          • CancelReport
          • CheckVendorTransactionStatus
          • CreateReportSchema
          • GetReport
          • RequestReport
          • SubmitVendorOrderAcknowledgement
          • SubmitVendorPayments
          • SubmitVendorShipmentConfirmations
      • System Tables
        • sys_catalogs
        • sys_schemas
        • sys_tables
        • sys_tablecolumns
        • sys_procedures
        • sys_procedureparameters
        • sys_keycolumns
        • sys_foreignkeys
        • sys_primarykeys
        • sys_indexes
        • sys_connection_props
        • sys_sqlinfo
        • sys_identity
        • sys_information
    • Connection String Options
      • Authentication
        • Schema
        • Marketplace
        • AWSRoleARN
        • AppId
        • AWSSessionToken
        • AWSAccessKey
        • AWSSecretKey
        • IncludeRestrictedData
        • UseSandbox
        • AWSRegion
      • OAuth
        • OAuthClientId
        • OAuthClientSecret
        • OAuthAppStatus
      • SSL
        • SSLServerCert
      • Logging
        • Verbosity
      • Schema
        • BrowsableSchemas
      • Miscellaneous
        • IncludeReports
        • MaxRows
        • ProcedurePooling
        • PseudoColumns
        • ReportTypes
        • RowScanDepth
        • SellerId
        • Timeout
        • TypeDetectionScheme
        • UseSimpleNames

Amazon Marketplace - CData Cloud

Overview

CData Cloud offers access to Amazon Marketplace across several standard services and protocols, in a cloud-hosted solution. Any application that can connect to a MySQL or SQL Server database can connect to Amazon Marketplace through CData Cloud.

CData Cloud allows you to standardize and configure connections to Amazon Marketplace as though it were any other OData endpoint, or standard SQL Server/MySQL database.

Key Features

  • Full SQL Support: Amazon Marketplace appears as standard relational databases, allowing you to perform operations - Filter, Group, Join, etc. - using standard SQL, regardless of whether these operations are supported by the underlying API.
  • CRUD Support: Both read and write operations are supported, restricted only by security settings that you can configure in Cloud or downstream in the source itself.
  • Secure Access: The administrator can create users and define their access to specific databases and read-only operations or grant full read & write privileges.
  • Comprehensive Data Model & Dynamic Discovery: CData Cloud provides comprehensive access to all of the data exposed in the underlying data source, including full access to dynamic data and easily searchable metadata.

CData Cloud

Getting Started

This page provides a guide to Establishing a Connection to Amazon Marketplace in CData Cloud, as well as information on the available resources, and a reference to the available connection properties.

Connecting to Amazon Marketplace

Establishing a Connection shows how to authenticate to Amazon Marketplace and configure any necessary connection properties to create a database in CData Cloud

Accessing Data from CData Cloud Services

Accessing data from Amazon Marketplace through the available standard services and CData Cloud administration is documented in further details in the CData Cloud Documentation.

CData Cloud

Establishing a Connection

Connect to Amazon Marketplace by selecting the corresponding icon in the Database tab. Required properties are listed under Settings. The Advanced tab lists connection properties that are not typically required.

Connecting to Amazon Marketplace

The following properties are required:

  • Schema: Set this to SellerCentral.
  • InitiateOAuth: Set this to GETANDREFRESH.
  • Marketplace: Set this to the Marketplace region that you are registered to sell in.

Authenticate to Amazon Marketplace

OAuth

Amazon Marketplace uses the OAuth authentication standard.

To authenticate using OAuth, you must either use the embedded application or create a new custom OAuth app. The embedded application supports desktop applications and headless machines. Web applications require that you create a custom OAuth application.

You can use a custom OAuth application to authenticate with a service account or a user account. See Creating a Custom OAuth App for more information.

Downloading Embedded Credentials

Because Amazon Marketplace requires that embedded credentials rotate every six months, CData credentials are hosted on oa.cdata.com. If you do not specify custom credentials, the embedded credentials are downloaded from our web service and saved in the location specified in OAuthClientLocation by default. NOTE: Make sure your firewall does not block oa.cdata.com.

CData Cloud

Amazon Marketplace Data Retention Policy

For security, Amazon Marketplace restricts access to PII (Personally Identifiable Information). You can only retain PII for 30 days after order delivery and only for the purpose of, and as long as is necessary to

  • fulfill orders
  • calculate and remit taxes
  • produce tax invoices
  • meet legal requirements, including tax or regulatory requirements.
If you are required by law to retain archival copies of PII for tax or other regulatory purposes, you must store PII as a "cold" or offline encrypted backup (e.g., not available for immediate or interactive use).

This means, for example, that the Amazon Marketplace driver no longer displays customer shipping address information after 30 days. See the Amazon documentation for more information:

Amazon Marketplace Data Protection Policy

CData Cloud

SSL Configuration

Customizing the SSL Configuration

By default, the Cloud attempts to negotiate TLS with the server. The server certificate is validated against the default system trusted certificate store. You can override how the certificate gets validated using the SSLServerCert connection property.

To specify another certificate, see the SSLServerCert connection property.

CData Cloud

Firewall and Proxy

Connecting Through a Firewall or Proxy

HTTP Proxies

To authenticate to an HTTP proxy, set the following:

  • ProxyServer: the hostname or IP address of the proxy server that you want to route HTTP traffic through.
  • ProxyPort: the TCP port that the proxy server is running on.
  • ProxyAuthScheme: the authentication method the Cloud uses when authenticating to the proxy server.
  • ProxyUser: the username of a user account registered with the proxy server.
  • ProxyPassword: the password associated with the ProxyUser.

Other Proxies

Set the following properties:

  • To use a proxy-based firewall, set FirewallType, FirewallServer, and FirewallPort.
  • To tunnel the connection, set FirewallType to TUNNEL.
  • To authenticate, specify FirewallUser and FirewallPassword.
  • To authenticate to a SOCKS proxy, additionally set FirewallType to SOCKS5.

CData Cloud

Data Model

The CData Cloud models Amazon Marketplace objects as relational tables and views. An Amazon Marketplace object has relationships to other objects; in the tables, these relationships are expressed through foreign keys. The following sections show the available API objects and provide more information on executing SQL to Amazon Marketplace APIs.

Schemas for most database objects are defined in simple, text-based configuration files.

Using SellerCentral API

See Seller Central Data Model for the available entities in the Seller Central API.

Using VendorCentral API

See Vendor Central Data Model for the available entities in the Vendor Central API.

CData Cloud

Seller Central Data Model

The CData Cloud models the Seller Central API as relational views, and stored procedures.

To use Amazon Seller Central Data Model, simply set Schema to SellerCentral.

Views

Views are tables that cannot be modified, such as Orders, OrderItems. Typically, data that are read-only and cannot be updated are shown as views.

Stored Procedures

Stored Procedures are function-like interfaces to the data source. They can be used to search, update, and modify information in the data source.

Using Reports

For each report type there is a view exposed. For example, report type FEE_DISCOUNTS_REPORT will be exposed as a view named REPORT_FEE_DISCOUNTS_REPORT. These views can then be queried by using 'DataStartTime' and 'DataEndTime' optional datetime parameters. When both datetime parameters are specified, the driver automatically searches for an existing report that matches the specified interval, and if not found a new report is created. Reports can be manually created with the RequestReport stored procedure. You can also use ReportOptions JSON-aggregate pseudo-column to specify additional fields that may be required depending on report type. For more details about report options please check Amazon Selling-Partner API Documentation

After a report has been created and pushed to the result set, the next time you query this report type with the 'DataStartTime' and 'DataEndTime' same filters, the previously created report is downloaded instead of creating a new report.

CData Cloud

Tables

The Cloud models the data in Amazon Marketplace as a list of tables in a relational database that can be queried using standard SQL statements.

CData Cloud - Amazon Marketplace Tables

Name Description
Destinations Returns information about all destinations.
InboundDeliveryWindowOptions Retrieves all delivery window options for a shipment.
InboundItemComplianceDetails List the inbound compliance details for MSKUs in a given marketplace.
InboundPackingOptions Retrieves a list of all packing options for an inbound plan.
InboundPlacementOptions Provides a list of all placement options for an inbound plan.
InboundPlan Provides a list of inbound plans with minimal information.
InboundSelfShipAppointmentSlots Retrieves a list of available self-ship appointment slots used to drop off a shipment at a warehouse.
InboundShipmentContentUpdatePreview Retrieve a paginated list of shipment content update previews for a given shipment.
ListingsItems Returns details about a listings item for a selling partner.
ListingsItemsAttributes Returns details about a listings item attributes for a selling partner.
OutboundFulfillmentOrders Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the next token parameter.
Subscriptions Returns information about subscriptions of the specified notification type.

CData Cloud

Destinations

Returns information about all destinations.

Columns

Name Type ReadOnly References Description
DestinationId [KEY] String False

The destination identifier generated when you created the destination.

Name String False

The developer-defined name for this destination.

ResourceSqsArn String False

The Amazon Resource Name (ARN) associated with the SQS queue (Amazon Simple Queue Service queue destination).

ResourceEventBridgeName String False

The name of the partner event source associated with the destination (Amazon EventBridge destination).

ResourceEventBridgeRegion String False

The AWS region in which you will be receiving the notifications (Amazon EventBridge destination).

ResourceEventBridgeAccountId String False

The identifier for the AWS account that is responsible for charges related to receiving notifications (Amazon EventBridge destination).

CData Cloud

InboundDeliveryWindowOptions

Retrieves all delivery window options for a shipment.

Columns

Name Type ReadOnly References Description
InboundPlanId [KEY] String False

Identifier of an inbound plan.

ShipmentId [KEY] String False

The shipment to generate delivery window options for.

DeliveryWindowOptionId [KEY] String False

Identifier of a delivery window option. A delivery window option represent one option for when a shipment is expected to be delivered.

StartDate Datetime False

The timestamp at which this delivery window option starts. This is based in ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.

EndDate Datetime False

The timestamp at which this delivery window option ends. This is based in ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.

ValidUntil Datetime False

The timestamp at which this window delivery option becomes no longer valid. This is based in ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.

AvailabilityType String False

Identifies type of Delivery Window Availability. Values: `AVAILABLE`, `CONGESTED`

CData Cloud

InboundItemComplianceDetails

List the inbound compliance details for MSKUs in a given marketplace.

Columns

Name Type ReadOnly References Description
Msku [KEY] String False

The merchant SKU, a merchant-supplied identifier for a specific SKU.

HsnCode String False

Harmonized System of Nomenclature code.

Amount Decimal False

Decimal value of the currency.

Code String False

ISO 4217 standard of a currency code.

Asin String False

The Amazon Standard Identification Number, which identifies the detail page identifier.

MarketplaceId String False

The Marketplace ID. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a list of possible values.

Fnsku String False

The Fulfillment Network SKU, which identifies a real fulfillable item with catalog data and condition.

TaxRate String False

Contains the type and rate of tax.

CData Cloud

InboundPackingOptions

Retrieves a list of all packing options for an inbound plan.

Columns

Name Type ReadOnly References Description
PackingOptionId [KEY] String False

Identifier of a packing option.

InboundPlanId [KEY] String False

Identifier of an inbound plan.

Discounts String False

Discount for the offered option.

Fees String False

Fee for the offered option.

Expiration Datetime False

The timestamp at which this packing option becomes no longer valid. This is based in ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.

Status String False

The status of the packing option. Can be: `OFFERED`, `ACCEPTED`, or `EXPIRED`.

ShippingConfiguration String False

List of supported shipping modes.

PackingGroups String False

Packing group IDs.

CData Cloud

InboundPlacementOptions

Provides a list of all placement options for an inbound plan.

Columns

Name Type ReadOnly References Description
PlacementOptionId [KEY] String False

The identifier of a placement option. A placement option represents the shipment splits and destinations of SKUs.

InboundPlanId [KEY] String False

Identifier of an inbound plan.

Discounts String False

Contains details about cost related modifications to the placement cost.

Fees String False

Contains details about cost related modifications to the placement cost.

Expiration Datetime False

The timestamp at which this packing option becomes no longer valid. This is based in ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.

Status String False

The status of a placement option. Can be: `OFFERED`, `ACCEPTED`, or `EXPIRED`.

ShipmentIds String False

Shipment ids.

CustomPlacementInput String False

Provide units going to the warehouse.

CData Cloud

InboundPlan

Provides a list of inbound plans with minimal information.

Columns

Name Type ReadOnly References Description
InboundPlanId [KEY] String False

Identifier of an inbound plan.

Name String False

Human-readable name of the inbound plan.

MarketplaceIds String False

A list of marketplace IDs.

CreatedAt Datetime False

The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.

LastUpdatedAt Datetime False

The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.

Status String False

Current status of the inbound plan. Can be: `ACTIVE`, `VOIDED`, `SHIPPED`, 'ERRORED'.

ShipmentSummary String False

Summary information about a shipment.

PlacementOptionSummary String False

Summary information about a placement option.

PackingOptionSummary String False

Summary information about a packing option.

StateOrProvinceCode String False

The state or province code.

PhoneNumber String False

The phone number.

City String False

The city.

Email String False

The email address.

CompanyName String False

The name of the business.

PostalCode String False

The postal code.

AddressLine2 String False

Additional street address information.

AddressLine1 String False

Street address information.

CountryCode String False

The country code in two-character ISO 3166-1 alpha-2 format.

AddressName String False

The name of the customer in the specified address.

InboundPlanAggregate String False

Parameter used for creating new inbound plans by passing the JSON aggregate.

InboundPlanItems String False

Inbound plan item's input parameters. Used for creating an inbound plan.

CData Cloud

InboundSelfShipAppointmentSlots

Retrieves a list of available self-ship appointment slots used to drop off a shipment at a warehouse.

Columns

Name Type ReadOnly References Description
ShipmentId [KEY] String False

Identifier of a shipment. A shipment contains the boxes and units being inbounded.

InboundPlanId [KEY] String False

Identifier of an inbound plan.

SlotId [KEY] String False

An identifier to a self-ship appointment slot.

StartTime Datetime False

The start timestamp of the appointment in UTC.

EndTime Datetime False

The end timestamp of the appointment in UTC.

ExpiresAt Datetime False

The time at which the self ship appointment slot expires. In ISO 8601 datetime format.

CData Cloud

InboundShipmentContentUpdatePreview

Retrieve a paginated list of shipment content update previews for a given shipment.

Columns

Name Type ReadOnly References Description
ShipmentId String False

Identifier of a shipment. A shipment contains the boxes and units being inbounded.

ContentUpdatePreviewId String False

Identifier of a content update preview.

InboundPlanId String False

Identifier of an inbound plan.

Expiration Datetime False

The date in ISO 8601 format for when the content update expires.

BoxUpdateInput String False

Input information for updating a box

ItemInput String False

Defines an item's input parameters.

VoidableUntil Datetime False

Voidable until timestamp.

Name String False

The name of the carrier.

EndTime Datetime False

The end timestamp of the appointment in UTC.

ShippingMode String False

Mode of shipment transportation that this option will provide. Can be: `GROUND_SMALL_PARCEL`, `FREIGHT_LTL`, `FREIGHT_FTL_PALLET`, `FREIGHT_FTL_NONPALLET`, `OCEAN_LCL`, `OCEAN_FCL`, `AIR_SMALL_PARCEL`, `AIR_SMALL_PARCEL_EXPRESS`.

QuoteExpiration Datetime False

The time at which this transportation option quote expires.

TransportationOptionId String False

Identifier of a transportation option. A transportation option represent one option for how to send a shipment.

StartTime Datetime False

The start timestamp of the appointment in UTC.

AlphaCode String False

The carrier code. For example, USPS or DHLEX.

Amount Decimal False

Decimal value of the currency.

Code String False

ISO 4217 standard of a currency code.

ShippingSolution String False

Shipping program for the option. Can be: `AMAZON_PARTNERED_CARRIER`, `USE_YOUR_OWN_CARRIER`.

CData Cloud

ListingsItems

Returns details about a listings item for a selling partner.

The following filters are required:

  • SKU
  • SellerId: You can either specify SellerId as a pseudo-column condition in WHERE filters, or in the connection string.
Some example queries:
SELECT * FROM ListingsItems WHERE SKU = '12345' AND SellerId = 'XXXXXXXXXXXXXX'

INSERT INTO ListingsItems (ProductType, Requirements, Attributes, SKU, SellerId)
VALUES ('product_type', 'LISTING', '{\"AttributeName\": \"test_attribute\", \"AttributeValue\": \"value\"}', '12345', 'XXXXXXXXXXXXXX')

DELETE FROM ListingsItems WHERE SKU = '12345' AND SellerId = 'XXXXXXXXXXXXXX'
When inserting, you can also use temp tables in order to insert multiple attributes, as shown in the example below:
INSERT INTO Attributes#TEMP (AttributeName, AttributeValue) VALUES ('attr1', 'val1')
INSERT INTO Attributes#TEMP (AttributeName, AttributeValue) VALUES ('attr2', 'val2')
INSERT INTO Attributes#TEMP (AttributeName, AttributeValue) VALUES ('attr3', 'val3')

INSERT INTO ListingsItems (ProductType, Requirements, Attributes, SKU, SellerId)
VALUES ('product_type', 'LISTING', 'Attributes#TEMP', '12345', 'XXXXXXXXXXXXXX')

*The temporary table must be defined and used within the same connection. Closing the connection will clear out any temporary tables in memory.

Columns

Name Type ReadOnly References Description
SKU [KEY] String False

A selling partner provided identifier for an Amazon listing.

FulfillmentAvailability String False

Fulfillment availability for the listings item.

Procurements String False

The vendor procurement information for the listings item.

ProcurementCostCurrency String False

The price (ISO4217 currency code) that you want Amazon to pay you for this product.

ProcurementCostAmount String False

The price (numeric value) that you want Amazon to pay you for this product.

Attributes String False

This field is required for INSERT statements. Aggregate field containing structured 'AttributeName' and 'AttributeValue' fields.

SellerId [KEY] String False

A selling partner identifier, such as a merchant account or vendor code.

Requirements String False

This field can be specified for INSERT statements.

The allowed values are LISTING, LISTING_PRODUCT_ONLY, LISTING_OFFER_ONLY.

ProductType String False

This field is required for INSERT statements.

CData Cloud

ListingsItemsAttributes

Returns details about a listings item attributes for a selling partner.

The following filters are required:

  • SKU
  • SellerId: You can either specify SellerId as a pseudo-column condition in WHERE filters, or in the connection string.
Some example queries:
SELECT * FROM ListingsItemsAttributes WHERE SKU = '12345' AND SellerId = 'XXXXXXXXXXXXXX'
UPDATE ListingsItemsAttributes SET AttributeValue = 'test_value', ProductType = 'LUGGAGE'
       WHERE SKU = '12345' AND AttributeName = 'item_name_value'
You can also retrieve all SKU fields from another sub-query, for example:
SELECT * FROM ListingsItems WHERE SellerId = 'XXXXXXXXXXXXXX' AND SKU IN (
        SELECT DISTINCT(SKUIdentifierSellerSKU) FROM CatalogItems WHERE MarketplaceId = 'XXXXXXXXXXXXXX' AND Query = 'test' AND SkuIdentifierSellerSku IS NOT NULL
)

Columns

Name Type ReadOnly References Description
SKU [KEY] String True

A selling partner provided identifier for an Amazon listing.

AttributeName [KEY] String False

The attribute name for the listings item.

AttributeValue String False

The attribute value for the listings item.

ProductType String False

The Amazon product type of the listings item. Required for Updating an attribute.

SellerId [KEY] String True

A selling partner identifier, such as a merchant account or vendor code.

AttributePath String True

The attribute path for the listings item.

AttributeGroup String True

The attribute group for the listings item.

CData Cloud

OutboundFulfillmentOrders

Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the next token parameter.

Columns

Name Type ReadOnly References Description
SellerFulfillmentOrderId [KEY] String False

The fulfillment order identifier

DisplayableOrderId String False

A fulfillment order identifier submitted when creating a fulfillment order. Displays as the order identifier in recipient-facing materials such as the packing slip.

DisplayableOrderComment String False

A text block submitted when creating a fulfillment order. Displays in recipient-facing materials such as the packing slip.

DisplayableOrderDate Datetime False

A date and time submitted when creating a fulfillment order. Displays as the order date in recipient-facing materials such as the packing slip.

FeatureConstraints String False

A list of features and their fulfillment policies to apply to the order.

FulfillmentAction String False

Specifies whether the fulfillment order should ship now or have an order hold put on it.

FulfillmentOrderStatus String False

The current status of the fulfillment order.

FulfillmentPolicy String False

The FulfillmentPolicy value specified when creating a fulfillment order.

ReceivedDate Datetime False

The date and time that the fulfillment order was received by an Amazon fulfillment center.

ShippingSpeedCategory String False

The shipping method used for the fulfillment order.

StatusUpdatedDate Datetime False

The date and time that the status of the fulfillment order last changed, in ISO 8601 date time format.

AddressLine1 String False

The first line of the address.

AddressLine2 String False

Additional address information.

AddressLine3 String False

Additional address information.

City String False

The city where the person, business, or institution is located. This property is required in all countries except Japan. It should not be used in Japan.

CountryCode String False

The two digit country code. In ISO 3166-1 alpha-2 format.

DistrictOrCounty String False

The district or county where the person, business, or institution is located.

AddressName String False

The name of the person, business or institution at the address.

PostalCode String False

The postal code of the address.

StateOrRegion String False

The state or region where the person, business or institution is located.

Phone String False

The phone number of the person, business, or institution located at the address.

ReturnAuthorizations String False

A JSON object of return authorization information.

ReturnItems String False

A JSON object of items that Amazon accepted for return. Returns empty if no items were accepted for return.

FulfillmentShipments String False

A JSON object of fulfillment shipment information.

FulfillmentOrderItems String False

A JSON object of fulfillment order item information.

MarketplaceId String False

The marketplace identifier.

QueryStartDate String False

A date used to select fulfillment orders that were last updated after (or at) a specified time. An update is defined as any change in fulfillment order status, including the creation of a new fulfillment order.

PaymentInformation String False

A JSON object of various payment attributes related to this fulfillment order. Required for India but is optional for all other marketplaces.

CData Cloud

Subscriptions

Returns information about subscriptions of the specified notification type.

Columns

Name Type ReadOnly References Description
SubscriptionId [KEY] String False

The subscription identifier generated when the subscription is created.

NotificationType [KEY] String False

The type of notification.

The allowed values are ACCOUNT_STATUS_CHANGED, ANY_OFFER_CHANGED, B2B_ANY_OFFER_CHANGED, BRANDED_ITEM_CONTENT_CHANGE, FBA_INVENTORY_AVAILABILITY_CHANGES, FBA_OUTBOUND_SHIPMENT_STATUS, FEE_PROMOTION, FEED_PROCESSING_FINISHED, FULFILLMENT_ORDER_STATUS, ITEM_PRODUCT_TYPE_CHANGE, LISTINGS_ITEM_STATUS_CHANGE, LISTINGS_ITEM_ISSUES_CHANGE, ORDER_STATUS_CHANGE, PRICING_HEALTH, PRODUCT_TYPE_DEFINITIONS_CHANGE, REPORT_PROCESSING_FINISHED.

PayloadVersion String False

The version of the payload object to be used in the notification.

DestinationId String False

The identifier for the destination where notifications will be delivered.

MarketplaceIds String False

A list of marketplace identifiers to subscribe to (e.g. ATVPDKIKX0DER). To receive notifications in every marketplace, do not provide this list.

AggregationTimePeriod String False

The supported time period to use to perform marketplace-ASIN level aggregation.

The allowed values are FiveMinutes, TenMinutes.

EventFilterType String False

An eventFilterType value that is supported by the specific notificationType. This is used by the subscription service to determine the type of event filter.

CData Cloud

Views

Views are similar to tables in the way that data is represented; however, views are read-only.

Queries can be executed against a view as if it were a normal table.

CData Cloud - Amazon Marketplace Views

Name Description
CatalogItems The Catalog Items table helps you retrieve item details for items in the catalog.
CatalogItemsClassifications The Catalog Items Classifications table helps you retrieve classification details for items in the catalog.
CompetitivePricing Returns competitive pricing information for a seller's offer listings based on seller SKU or ASIN.
Feeds The GetFeedSubmissionList operation returns a list of feed submissions.
FeesEstimate Returns the estimated fees for the listed products.
InboundDeliveryChallanDocument Provide delivery challan document for PCP transportation in India marketplace.
InboundOperationStatus Gets the status of the processing of an asynchronous API call.
InboundPackingGroupBoxes Retrieves a page of boxes from a given packing group.
InboundPackingGroupItems Retrieves a page of items in a given packing group.
InboundPlanBoxes Provides a paginated list of box packages in an inbound plan.
InboundPlanItems Provides a paginated list of item packages in an inbound plan.
InboundPlanPallets Provides a paginated list of pallet packages in an inbound plan.
InboundShipmentBoxes Provides a paginated list of box packages in a shipment.
InboundShipmentItems Returns a list of items in a specified inbound shipment.
InboundShipmentPallets Provides a paginated list of pallet packages in a shipment.
InboundShipments Returns a list of inbound shipments based on criteria that you specify.
InboundTransportationOptions Retrieves all transportation options for a shipment.
InventorySupply Returns information about the availability of inventory that a seller has in Amazon's fulfillment network and in current inbound shipments. You can check the current availability status for your Fulfillment by Amazon inventory as well as discover when availability status changes.
ItemOffers Returns the lowest priced offers for a single item based on ASIN.
ListingOffers Generated schema file.
ListingsItemsIssues Returns details about a listings item issues for a selling partner.
ListingsItemsOffers Returns details about a listings item offers for a selling partner.
ListingsItemsSummaries Returns details about a listings item summaries for a selling partner.
OrderItems Returns order items based on the Amazon Order Id that you specify.
OrderMetrics Returns aggregated order metrics for a given interval, broken down by granularity, for a given buyer type.
Orders Returns orders created or updated during a time frame that you specify.
OutboundFeatures Returns a list of features available for Multi-Channel Fulfillment orders in the marketplace you specify, and whether the seller for which you made the call is enrolled for each feature.
OutboundFulfillmentOrderItems Returns the fulfillment order items indicated by the specified order identifier.
OutboundFulfillmentsPreview Returns a list of fulfillment order previews based on shipping criteria that you specify.
OutboundPackageTracking Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order.
OutboundReturnItems An array of items that Amazon accepted for return. Returns empty if no items were accepted for return.
OutboundReturnReasons Returns a list of return reason codes for a seller SKU in a given marketplace.
ProductPricing Generated schema file.
ReportList Returns report details for the reports that match the filters that you specify.
ReportTypes Returns report details for the reports that match the filters that you specify.
ShippingDocuments Returns the shipping documents associated with a package in a shipment.
ShippingRates Returns the available shipping service offerings.
ShippingTracking Returns tracking information for a purchased shipment.

CData Cloud

CatalogItems

The Catalog Items table helps you retrieve item details for items in the catalog.

The following filters are required:

  • MarketplaceId
  • One of the following: Query, SellerSKU, UPC, EAN, ISBN, JAN
For example:
SELECT * FROM CatalogItems WHERE MarketplaceID = 'XXXXXXXXXXXXX' AND ISBN = 'XXXXXXXXXXXXX'

Columns

Name Type References Description
MarketplaceASIN [KEY] String The Marketplace ASIN.
AdultProduct Boolean Identifies an Amazon catalog item is intended for an adult audience or is sexual in nature.
Autographed Boolean Identifies an Amazon catalog item is autographed by a player or celebrity.
Brand String Name of the brand associated with an Amazon catalog item.
BrowseClassificationClassificationId String Classification Id (browse node) associated with an Amazon catalog item.
BrowseClassificationDisplayName String Classification Name (browse node) associated with an Amazon catalog item.
Color String Name of the color associated with an Amazon catalog item.
ContributorsRole String Role of an individual contributor in the creation of an item, such as author or actor.
ContributorsName String Name of the contributor.
ItemClassification String Classification type associated with the Amazon catalog item.
ItemName String Name, or title, associated with an Amazon catalog item.
Manufacturer String Name of the manufacturer associated with an Amazon catalog item.
Memorabilia Boolean Identifies an Amazon catalog item is memorabilia valued for its connection with historical events, culture, or entertainment.
ModelNumber String Model number associated with an Amazon catalog item.
PackageQuantity Integer Quantity of an Amazon catalog item in one package.
PartNumber String Part number associated with an Amazon catalog item.
ReleaseDate String First date on which an Amazon catalog item is shippable to customers.
Size String Name of the size associated with an Amazon catalog item.
Style String Name of the style associated with an Amazon catalog item.
TradeInEligible Boolean Identifies an Amazon catalog item is eligible for trade-in.
WebsiteDisplayGroup String Identifier of the website display group associated with an Amazon catalog item.
WebsiteDisplayGroupName String Display name of the website display group associated with an Amazon catalog item.
Attributes String A JSON object containing structured item attribute data keyed by attribute name. Catalog item attributes conform to the related Amazon product type definitions available in the Selling Partner API for Product Type Definitions.
Classifications String A JSON array of classifications (browse nodes) associated with the item in the Amazon catalog by Amazon marketplace.
Dimensions String A JSON object of the dimensions for an item in the Amazon catalog.
Identifiers String A JSON object of the identifiers associated with the item in the Amazon catalog, such as UPC and EAN identifiers.
Images String A JSON object of the images for an item in the Amazon catalog.
ProductTypes String A JSON object of the product types associated with the Amazon catalog item.
Relationships String A JSON object of the relationship details of an Amazon catalog item (for example, variations).
SalesRankings String A JSON object of the sales ranks of an Amazon catalog item.
VendorDetails String A JSON object of the vendor details associated with an Amazon catalog item. Vendor details are available to vendors only.
ASIN String Amazon Standard Identification Number that identifies a product.
EAN String A European Article Number that uniquely identifies the catalog item, manufacturer, and its attributes.
GTIN String A Global Trade Item Number that uniquely identifies a product.
ISBN String The unique commercial book identifier used to identify books internationally.
JAN String A Japanese article number that uniquely identifies the product, manufacturer, and its attributes.
MINSAN String A Minsan Code that uniquely identifies an item.
SellerSKU String Used to identify an item in the given marketplace. SellerSKU is qualified by the seller's SellerId
UPC String A 12-digit bar code used for retail packaging.
IncludedData String A comma-delimited list of item details to request. If none are specified, will default to returning summaries data. Values: attributes, dimensions, identifiers, images, productTypes, relationships, salesRanks, summaries, vendorDetails.
Locale String Locale for retrieving localized summaries. Defaults to the primary locale of the marketplace.
SellerId String A selling partner identifier, such as a seller account or vendor code. Note: Required when setting identifier SellerSKU.
PageSize String Number of results to be returned per page.
Query String Keyword(s) to use to search for items in the catalog.
BrandNames String A comma-delimited list of brand names to limit the search for keywords-based queries. Note: Cannot be used with identifiers.
ClassificationIds String A comma-delimited list of classification identifiers to limit the search for keywords-based queries. Note: Cannot be used with identifiers.
KeywordsLocale String The language of the keywords provided for keywords-based queries. Defaults to the primary locale of the marketplace. Note: Cannot be used with identifiers.
MarketplaceId String Specifies the marketplace for which items are returned.

CData Cloud

CatalogItemsClassifications

The Catalog Items Classifications table helps you retrieve classification details for items in the catalog.

Columns

Name Type References Description
ClassificationId [KEY] String Identifier of the classification (browse node identifier).
MarketplaceASIN [KEY] String Amazon Standard Identification Number that identifies a product.
DisplayName String Display name for the classification (browse node).
ParentClassificationId String Parent classification (browse node) ID of the current classification.
MarketplaceId String Specifies the marketplace for which items are returned.
ShowParentClassifications Boolean Specifies whether to list all browse nodes for the item(s) or just the top-level browse node. By default, only the top-level browse nodes are listed.
EAN String A European Article Number that uniquely identifies the catalog item, manufacturer, and its attributes.
GTIN String A Global Trade Item Number that uniquely identifies a product.
ISBN String The unique commercial book identifier used to identify books internationally.
JAN String A Japanese article number that uniquely identifies the product, manufacturer, and its attributes.
MINSAN String A Minsan Code that uniquely identifies an item.
SellerSKU String Used to identify an item in the given marketplace. SellerSKU is qualified by the seller's SellerId
UPC String A 12-digit bar code used for retail packaging.
Locale String Locale for retrieving localized summaries. Defaults to the primary locale of the marketplace.
SellerId String A selling partner identifier, such as a seller account or vendor code. Note: Required when setting identifier SellerSKU.
Query String Keyword(s) to use to search for items in the catalog.
BrandNames String A comma-delimited list of brand names to limit the search for keywords-based queries. Note: Cannot be used with identifiers.
ItemClassifications String A comma-separated list of classification IDs for filtering keyword searches. The results may vary, as the classification could refer to either the item's classification or its parent classification. Note: Cannot be used with identifiers.
KeywordsLocale String The language of the keywords provided for keywords-based queries. Defaults to the primary locale of the marketplace. Note: Cannot be used with identifiers.

CData Cloud

CompetitivePricing

Returns competitive pricing information for a seller's offer listings based on seller SKU or ASIN.

Columns

Name Type References Description
ASIN [KEY] String The value of Amazon Standard Identification Number for the product.
SellerSKU String Stock Keeping Unit that identifies a product in the Amazon catalog.
MarketplaceId String A marketplace identifier. Specifies the marketplace for which prices are returned.
CompetitivePriceId String The competitive price Id of the product.
LandedPriceAmount Decimal The landed price amount of the price.
LandedPriceCurrencyCode String The landed price currency code of the price.
ListingPriceAmount Decimal The listing price amount of the price.
ListingPriceCurrencyCode String The listing price currency code of the price.
PointsNumber Integer The points number of the price.
PointsMonetaryValueAmount Decimal The points monetary value amount of the price.
PointsMonetaryValueCurrencyCode String The points monetary value currency code of the price.
ShippingAmount Decimal The shipping amount of the buyying price.
ShippingCurrencyCode String The shipping currency code of the buyying price.
TradeInValueAmount Decimal The trade-in value amount of the buyying price.
TradeInValueCurrencyCode String The trade-in value currency code of the buyying price.
BelongsToRequester Boolean The boolean value if the product belongs to the requester.
Condition String The condition of the product.
Status String The status of the product.
SalesRankings String A JSON aggregate containing the list of sales rank information for the item, by category.
ItemType String Required. Indicates whether ASIN values or seller SKU values are used to identify items.

The allowed values are Asin, Sku.

CustomerType String Indicates whether to request pricing information from the point of view of consumer or business buyers. Default is Consumer.

The allowed values are Consumer, Business.

CData Cloud

Feeds

The GetFeedSubmissionList operation returns a list of feed submissions.

Select

The Cloud will use the Amazon Marketplace API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.

Note: 'FeedType' attribute is required to query the view. You can view available values for 'FeedType' here.

  • FeedId supports the '=' comparison.
  • FeedType supports the '=' and 'IN' comparisons.
  • MarketplaceIds supports the '=' and 'IN' comparisons.
  • ProcessingStatus supports the '=' and 'IN' comparisons.
  • CreatedTime supports the '=', '<', '>', '<=' and '>=' comparisons.

Following are example queries that are processed server side:

SELECT * FROM Feeds WHERE FeedId = '50950018754'

SELECT * FROM Feeds WHERE FeedType = 'POST_PRODUCT_PRICING_DATA'

SELECT * FROM Feeds WHERE FeedType IN ( 'POST_PRODUCT_PRICING_DATA', 'POST_INVENTORY_AVAILABILITY_DATA' )

SELECT * FROM Feeds WHERE FeedType = 'POST_PRODUCT_PRICING_DATA' AND MarketplaceIds = 'A1VC38T7YXB528'

SELECT * FROM Feeds WHERE FeedType = 'POST_PRODUCT_PRICING_DATA' AND ProcessingStatus = 'DONE'

SELECT * FROM Feeds WHERE FeedType = 'POST_PRODUCT_PRICING_DATA' AND CreatedTime > '2021-06-20' AND CreatedTime < '2021-08-01 12:00:00'

Note: When filtering with CreatedTime, values older than 90 days will not be accepted.

Columns

Name Type References Description
FeedId [KEY] String The Id of the Feed. This identifier is unique only in combination with a seller ID.
FeedType String The Type of the feed. FeedType is not required when UseSandbox=True.
MarketplaceIds String A list of marketplace identifiers for the report.
CreatedTime Datetime The date and time when the feed was created. While filtering, CreatedTime value is only accepted till 90 days old.
ProcessingStatus String The processing status of the report.
ProcessingStartTime Datetime The Date when the feed processing started.
ProcessingEndTime Datetime The Date when the feed processing completed.
ResultFeedDocumentId String The identifier for the feed document. This identifier is unique only in combination with a seller ID.

CData Cloud

FeesEstimate

Returns the estimated fees for the listed products.

Columns

Name Type References Description
IdValue [KEY] String Required. The item identifier.
SellerID String The seller identifier.
TimeOfFeesEstimation Datetime The time at which the fees were estimated.
TotalFeesEstimateAmount Decimal Total estimated fees for a given item, price and fulfillment channel.
TotalFeesEstimateCurrencyCode String The currency code for the total estimated fees.
FeeType String The type of fee charged to a seller.
FeeAmount Decimal The amount charged for a given fee.
FeeAmountCurrencyCode String The currency code for the charged amount.
FeePromotionAmount Decimal The promotion amount for a given fee.
FeePromotionCurrencyCode String The currency code for the promotion amount.
TaxAmount Decimal The tax amount for a given fee.
TaxCurrencyCode String The currency code for the tax amount .
FinalFeeAmount Decimal The final fee amount for a given fee.
FinalFeeCurrencyCode String The currency code for the final fee amount.
MarketplaceId String Required. The marketplace identifier.
IdType String Required. The item type.

The allowed values are ASIN, SellerSku.

Identifier String Required. The unique identifier provided by the caller to track this request.
IsAmazonFulfilled Boolean When true, the offer is fulfilled by Amazon.
ListingPriceAmount Decimal Required. The price of the item.
ListingPriceCurrencyCode String Required. The currency code for the price of the item.
ShippingAmount Decimal Required. The shipping cost.
ShippingCurrencyCode String Required. The currency code for the shipping cost.
PointsNumber Decimal Required. The number of Amazon Points offered with the purchase of an item.
PointsAmount Decimal Required. The monetary value for points.
PointsCurrencyCode String Required. The currency code for points.

CData Cloud

InboundDeliveryChallanDocument

Provide delivery challan document for PCP transportation in India marketplace.

Columns

Name Type References Description
InboundPlanId [KEY] String Identifier of an inbound plan.
ShipmentId [KEY] String Identifier of a shipment. A shipment contains the boxes and units being inbounded.
Uri String Uniform resource identifier to identify where the document is located.
Expiration Datetime The timestamp of expiration of the URI. This is in ISO 8601 datetime format with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
DownloadType String The type of download. Can be `URL`.

CData Cloud

InboundOperationStatus

Gets the status of the processing of an asynchronous API call.

Columns

Name Type References Description
OperationId [KEY] String The operation ID returned by the asynchronous API call.
OperationProblem String A problem with additional properties persisted to an operation.
Operation String The name of the operation in the asynchronous API call.
OperationStatus String The status of an operation.

CData Cloud

InboundPackingGroupBoxes

Retrieves a page of boxes from a given packing group.

Columns

Name Type References Description
PackageId [KEY] String Primary key to uniquely identify a Package (Box or Pallet).
InboundPlanId [KEY] String Identifier of an inbound plan.
ContentInformationSource String Indication of how box content is meant to be provided.
Item String Information associated with a single SKU in the seller's catalog.
BoxId String The ID provided by Amazon that identifies a given box. This ID is comprised of the external shipment ID (which is generated after transportation has been confirmed) and the index of the box.
CountryCode String ISO 3166 standard alpha-2 country code.
State String State.
WarehouseId String An identifier for a warehouse, such as a FC, IXD, upstream storage.
Value Decimal Value of a weight.
UnitOfWeight String Unit of the weight being measured.
TemplateName String Template name of the box.
Width Decimal The width of a package.
Height Decimal The height of a package.
UnitOfMeasurement String Unit of linear measure.
Length Decimal The length of a package.
Quantity Int The number of containers where all other properties like weight or dimensions are identical.
PackingGroupId [KEY] String Identifier of a packing group.

CData Cloud

InboundPackingGroupItems

Retrieves a page of items in a given packing group.

Columns

Name Type References Description
PackingGroupId [KEY] String Identifier of a packing group.
InboundPlanId [KEY] String Identifier of an inbound plan.
Msku String The merchant defined SKU ID.
ManufacturingLotCode String The manufacturing lot code.
Fnsku String A unique identifier assigned by Amazon to products stored in and fulfilled from an Amazon fulfillment center.
Expiration String The expiration date of the MSKU in ISO 8601 format. The same MSKU with different expiration dates cannot go into the same box.
Code String ISO 4217 standard of a currency code.
Amount Decimal Decimal value of the currency.
Quantity Int The number of the specified MSKU.
PrepOwner String In some situations, special preparations are required for items and this field reflects the owner of the preparations. Options include `AMAZON`, `SELLER` or `NONE`.
PrepType String Type of preparation that should be done. Can be: `ITEM_LABELING`, `ITEM_BUBBLEWRAP`, `ITEM_POLYBAGGING`, `ITEM_TAPING`, `ITEM_BLACK_SHRINKWRAP`, `ITEM_HANG_GARMENT`, `ITEM_BOXING`, `ITEM_SETCREAT`, `ITEM_RMOVHANG`, `ITEM_SUFFOSTK`, `ITEM_CAP_SEALING`, `ITEM_DEBUNDLE`, `ITEM_SETSTK`, `ITEM_SIOC`, `ITEM_NO_PREP`, `ADULT`, `BABY`, `TEXTILE`, `HANGER`, `FRAGILE`, `LIQUID`, `SHARP`, `SMALL`, `PERFORATED`, `GRANULAR`, `SET`, `FC_PROVIDED`, `UNKNOWN`, `NONE`.
LabelOwner String Specifies who will label the items. Options include `AMAZON`, `SELLER`, and `NONE`.
Asin String The Amazon Standard Identification Number (ASIN) of the item.

CData Cloud

InboundPlanBoxes

Provides a paginated list of box packages in an inbound plan.

Columns

Name Type References Description
BoxId [KEY] String The ID provided by Amazon that identifies a given box. This ID is comprised of the external shipment ID (which is generated after transportation has been confirmed) and the index of the box.
InboundPlanId [KEY] String Identifier of an inbound plan.
LabelOwner String Specifies who will label the items. Options include `AMAZON`, `SELLER`, and `NONE`.
Msku String The merchant defined SKU ID.
UnitOfMeasurement String Unit of linear measure.
PackageId String Primary key to uniquely identify a Package (Box or Pallet).
ContentInformationSource String Indication of how box content is meant to be provided.
Value Decimal Value of a weight.
Fnsku String A unique identifier assigned by Amazon to products stored in and fulfilled from an Amazon fulfillment center.
Height Decimal The height of a package.
PrepInstruction String Information pertaining to the preparation of inbound goods.
CountryCode String ISO 3166 standard alpha-2 country code.
State String State.
Width Decimal The width of a package.
WarehouseId String An identifier for a warehouse, such as a FC, IXD, upstream storage.
UnitOfWeight String Unit of the weight being measured.
TemplateName String Template name of the box.
Expiration String The expiration date of the MSKU in ISO 8601 format. The same MSKU with different expiration dates cannot go into the same box.
Length Decimal The length of a package.
ManufacturingLotCode String The manufacturing lot code.
Quantity Int The number of containers where all other properties like weight or dimensions are identical.
Asin String The Amazon Standard Identification Number (ASIN) of the item.

CData Cloud

InboundPlanItems

Provides a paginated list of item packages in an inbound plan.

Columns

Name Type References Description
InboundPlanId [KEY] String Identifier of an inbound plan.
Msku String The merchant defined SKU ID.
ManufacturingLotCode String The manufacturing lot code.
Fnsku String A unique identifier assigned by Amazon to products stored in and fulfilled from an Amazon fulfillment center.
Expiration String The expiration date of the MSKU in ISO 8601 format. The same MSKU with different expiration dates cannot go into the same box.
Quantity Int The number of the specified MSKU.
LabelOwner String Specifies who will label the items. Options include `AMAZON`, `SELLER`, and `NONE`.
Asin String The Amazon Standard Identification Number (ASIN) of the item.
PrepInstructions String Decimal value of the currency.

CData Cloud

InboundPlanPallets

Provides a paginated list of pallet packages in an inbound plan.

Columns

Name Type References Description
PackageId [KEY] String Primary key to uniquely identify a Package (Box or Pallet).
InboundPlanId [KEY] String Identifier of an inbound plan.
Quantity Int The number of containers where all other properties like weight or dimensions are identical.
UnitOfMeasurement String Unit of linear measure.
Length Decimal The length of a package.
Width Decimal The width of a package.
Height Decimal The height of a package.
Value Decimal Value of a weight.
UnitOfWeight String Unit of the weight being measured.
Stackability String Indicates whether pallets will be stacked when carrier arrives for pick-up.

CData Cloud

InboundShipmentBoxes

Provides a paginated list of box packages in a shipment.

Columns

Name Type References Description
InboundPlanId [KEY] String Identifier of an inbound plan.
ShipmentId [KEY] String Identifier of a shipment. A shipment contains the boxes and units being inbounded.
PackageId [KEY] String Primary key to uniquely identify a Package (Box or Pallet).
LabelOwner String Specifies who will label the items. Options include `AMAZON`, `SELLER`, and `NONE`.
Msku String The merchant defined SKU ID.
UnitOfMeasurement String Unit of linear measure.
ContentInformationSource String Indication of how box content is meant to be provided.
Region String Representation of a location used within the inbounding experience.
Value Decimal Value of a weight.
Fnsku String A unique identifier assigned by Amazon to products stored in and fulfilled from an Amazon fulfillment center.
Height Decimal The height of a package.
Unit String Unit of the weight being measured.
PrepInstruction String Information pertaining to the preparation of inbound goods.
BoxId String The ID provided by Amazon that identifies a given box. This ID is comprised of the external shipment ID (which is generated after transportation has been confirmed) and the index of the box.
CountryCode String ISO 3166 standard alpha-2 country code.
State String State.
Width Decimal The width of a package.
WarehouseId String An identifier for a warehouse, such as a FC, IXD, upstream storage.
TemplateName String Template name of the box.
Expiration String The expiration date of the MSKU in ISO 8601 format. The same MSKU with different expiration dates cannot go into the same box.
Length Decimal The length of a package.
ManufacturingLotCode String The manufacturing lot code.
Quantity Int The number of containers where all other properties like weight or dimensions are identical.
Asin String The Amazon Standard Identification Number (ASIN) of the item.

CData Cloud

InboundShipmentItems

Returns a list of items in a specified inbound shipment.

Select

The Cloud will use the Amazon Marketplace API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.

  • MarketplaceId supports the '=' comparison.
  • ShipmentId supports the '=' comparison.
  • LastUpdatedDate supports the '=', '<', '>', '<=', '>=' comparisons.
For example, the following query is processed server side:
SELECT * FROM InboundShipmentItems  WHERE MarketplaceId = 'ATVPDKIKX0DER'

SELECT * FROM InboundShipmentItems  WHERE ShipmentId = 'FBA8J3K9LZPX'

SELECT * FROM InboundShipmentItems  WHERE LastUpdatedDate > '2020-01-01'

Columns

Name Type References Description
ShipmentId [KEY] String The ID of the shipment.
SellerSKU [KEY] String The Seller SKU of the item.
QuantityShipped Int The item quantity that you are shipping.
QuantityInCase Int The item quantity in each case, for case-packed items.
QuantityReceived Int The item quantity that has been received at an Amazon fulfillment center.
FulfillmentNetworkSKU String Amazon's fulfillment network SKU of the item.
PrepDetailsList String A JSON aggregate of preparation instructions and who is responsible for that preparation.
MarketplaceId String Marketplace identifier for the report.
ReleaseDate Date The date that a pre-order item will be available for sale.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
LastUpdatedDate Datetime A date used for selecting inbound shipments that were last updated before/after a specified time.

CData Cloud

InboundShipmentPallets

Provides a paginated list of pallet packages in a shipment.

Columns

Name Type References Description
InboundPlanId [KEY] String Identifier of an inbound plan.
ShipmentId [KEY] String Identifier of a shipment. A shipment contains the boxes and units being inbounded.
PackageId [KEY] String Primary key to uniquely identify a Package (Box or Pallet).
UnitOfMeasurement String Unit of linear measure.
Length Decimal The length of a package.
Quantity Int The number of containers where all other properties like weight or dimensions are identical.
Height Decimal The height of a package.
UnitOfWeight String Unit of the weight being measured.
Stackability String Indicates whether pallets will be stacked when carrier arrives for pick-up.
Width Decimal The width of a package.
Value Decimal Value of a weight.

CData Cloud

InboundShipments

Returns a list of inbound shipments based on criteria that you specify.

Select

The Cloud will use the Amazon Marketplace API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.

  • ShipmentId supports the '=' and 'IN' comparisons.
  • ShipmentStatus supports the '='and 'IN' comparisons.
  • MarketplaceId supports the '=' comparison.
  • LastUpdatedDate supports the '=', '<', '>', '<=', '>=' comparisons.
For example, the following query is processed server side:
SELECT * FROM InboundShipments WHERE ShipmentStatus = 'Working'

SELECT * FROM InboundShipments WHERE ShipmentStatus IN ('Working', 'SHIPPED', 'IN_TRANSIT')

SELECT * FROM InboundShipments WHERE ShipmentId = '503-9993250-1405404'

SELECT * FROM InboundShipments WHERE MarketplaceId = 'ATVPDKIKX0DER'

SELECT * FROM InboundShipments WHERE LastUpdatedDate >= '2016-12-12'

Columns

Name Type References Description
ShipmentId [KEY] String The ID of the shipment.
ShipmentStatus String The status of your inbound shipment.
ShipmentName String The unique name of the inbound shipment.
ShipFromPostalCode String The PostalCode of the return address.
ShipFromName String The Name of the return address.
ShipFromCountryCode String The CountryCode of the return address.
ShipFromDistrictOrCounty String The district or county of the return address.
ShipFromStateOrProvinceCode String The State Or Province Code of the return address.
ShipFromAddressLine1 String The street address information of the return address.
ShipFromAddressLine2 String Additional street address information of the return address.
ShipFromCity String The City of the return address.
LabelPrepType String The type of label preparation.
AreCasesRequired Boolean Boolean that indicates whether or not an inbound shipment contains case-packed boxes.
DestinationFulfillmentCenterId String The Amazon fulfillment center identifier created by Amazon.
ConfirmedNeedByDate Date Date that the shipment must arrive at an Amazon fulfillment center for pre-ordered items.
MarketplaceId String Marketplace identifier for the report.
BoxContentsSource String Where the seller provided box contents information for a shipment.
EstimatedBoxContentsFeeTotalUnits Int The number of units to ship for an estimate of the manual processing fee charged by Amazon for boxes without box content information.
EstimatedBoxContentsFeePerUnitCurrencyCode String The currency code for an estimate of the manual processing fee charged by Amazon for boxes without box content information.
EstimatedBoxContentsFeePerUnitValue Decimal The manual processing fee per unit for an estimate of the manual processing fee charged by Amazon for boxes without box content information.
EstimatedBoxContentsTotalFeeCurrencyCode String The Total fee currency code for an estimate of the manual processing fee charged by Amazon for boxes without box content information.
EstimatedBoxContentsTotalFeeValue Decimal The Total fee value for an estimate of the manual processing fee charged by Amazon for boxes without box content information.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
LastUpdatedDate Datetime A date used for selecting inbound shipments that were last updated before/after a specified time.
InboundShipmentItemList String A list of inbound shipment item information.

CData Cloud

InboundTransportationOptions

Retrieves all transportation options for a shipment.

Columns

Name Type References Description
InboundPlanId [KEY] String Identifier of an inbound plan.
TransportationOptionId [KEY] String Identifier of a transportation option. A transportation option represent one option for how to send a shipment.
ShipmentId [KEY] String Identifier of a shipment. A shipment contains the boxes and units being inbounded.
VoidableUntil Datetime Voidable until timestamp.
Amount Decimal Decimal value of the currency.
Expiration Datetime The timestamp at which this transportation option quote becomes no longer valid. This is based in ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
Code String ISO 4217 standard of a currency code.
Name String The contact's name.
EndTime Datetime The end timestamp of the appointment in UTC.
ShippingMode String Mode of shipment transportation that this option will provide. Can be: `GROUND_SMALL_PARCEL`, `FREIGHT_LTL`, `FREIGHT_FTL_PALLET`, `FREIGHT_FTL_NONPALLET`, `OCEAN_LCL`, `OCEAN_FCL`, `AIR_SMALL_PARCEL`, `AIR_SMALL_PARCEL_EXPRESS`.
StartTime Datetime The start timestamp of the appointment in UTC.
AlphaCode String The carrier code. For example, USPS or DHLEX.
ShippingSolution String Shipping program for the option. Can be: `AMAZON_PARTNERED_CARRIER`, `USE_YOUR_OWN_CARRIER`.
PlacementOptionId String The placement option to generate transportation options for.

CData Cloud

InventorySupply

Returns information about the availability of inventory that a seller has in Amazon's fulfillment network and in current inbound shipments. You can check the current availability status for your Fulfillment by Amazon inventory as well as discover when availability status changes.

Select

The Cloud will use the Amazon Marketplace API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.

Note: Attributes 'GranularityType' and 'GranularityId' are required to query the view. You must set GranularityId to the MarketplaceId from the API matching your region.

  • SellerSKU supports the '=', 'IN' comparisons.
  • GranularityType supports the '='comparison.
  • GranularityId supports the '=' comparison.
  • MarketplaceId supports the '=' comparison.
  • StartDateTime supports the '=', '<', '>', '<=', '>=' comparisons.

Following are example queries which are processed server side:

SELECT * FROM InventorySupply WHERE GranularityType = 'Marketplace' AND GranularityId = 'ATVPDKIKX0DER' AND SellerSKU = '123'

SELECT * FROM InventorySupply WHERE GranularityType = 'Marketplace' AND GranularityId = 'ATVPDKIKX0DER' AND StartDateTime > '2020-01-01'

Columns

Name Type References Description
UID [KEY] String Auto Generated Primary Key field.
FNSKU String The Fulfillment Network SKU (FNSKU) of the item. The FNSKU is a unique identifier for each inventory item stored in an Amazon fulfillment center.
SellerSKU String The Seller SKU of the item. Required if the QueryStartDateTime is not specified.
ASIN String The Amazon Standard Identification Number (ASIN) of the item.
Condition String The condition of the item.
GranularityType String The granularity type for the inventory aggregation level. Acceptable value(s) are: 'Marketplace'.
GranularityId String The granularity ID for the inventory aggregation level.
TotalQuantity Integer The total number of units in an inbound shipment or in Amazon fulfillment centers.
ProductName String The localized language product title of the item within the specific marketplace.
LastUpdatedTime String The date and time that any quantity was last updated.
FulfillableQuantity Integer The item quantity that can be picked, packed, and shipped.
InboundWorkingQuantity Integer The item quantity that can be picked, packed, and shipped.
InboundShippedQuantity Integer The item quantity that can be picked, packed, and shipped.
InboundReceivingQuantity Integer The item quantity that can be picked, packed, and shipped.
TotalReservedQuantity Integer The total number of units in Amazon's fulfillment network that are currently being picked, packed, and shipped.
PendingCustomerOrderQuantity Integer The number of units reserved for customer orders.
PendingTransshipmentQuantity Integer The number of units being transferred from one fulfillment center to another.
FcProcessingQuantity Integer The number of units that have been sidelined at the fulfillment center for additional processing.
TotalUnfulfillableQuantity Integer The total number of units in Amazon's fulfillment network in unsellable condition.
CustomerDamagedQuantity Integer The number of units in customer damaged disposition.
WarehouseDamagedQuantity Integer The number of units in warehouse damaged disposition.
DistributorDamagedQuantity Integer The number of units in distributor damaged disposition.
CarrierDamagedQuantity Integer The number of units in carrier damaged disposition.
DefectiveQuantity Integer The number of units in defective disposition.
ExpiredQuantity Integer The number of units in expired disposition.
Stores String A list of seller-enrolled stores that apply to this seller SKU.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
StartDateTime Datetime A start date and time in ISO8601 format. If specified, all inventory summaries that have changed since then are returned. You must specify a date and time that is no earlier than 18 months prior to the current date and time.
MarketplaceId String The marketplace ID for the marketplace for which to return inventory summaries.

CData Cloud

ItemOffers

Returns the lowest priced offers for a single item based on ASIN.

Columns

Name Type References Description
ASIN String Required. The Amazon Standard Identification Number (ASIN) of the item.
MarketplaceId String A marketplace identifier. Specifies the marketplace for which prices are returned.
ItemCondition String The condition of the lowest priced product listed.

The allowed values are New, Used, Collectible, Refurbished, Club.

OffersListingPriceAmount Decimal The listing price amount of the offered price.
OffersListingPriceCurrencyCode String The listing price currency code of the offered price.
OffersShippingAmount Decimal The shipping amount of the offered price.
OffersShippingCurrencyCode String The shipping currency code of the offered price.
FeedbackCount Integer The feedback count.
SellerPositiveFeedbackRating Double The positive feedback rating of the seller.
SellerId [KEY] String The seller Id.
ShippingTimeAvailabilityType String The shipping time availability type.
ShippingTimeMaximumHours Integer The maximum hours of shipping time.
ShippingTimeMinimumHours Integer The minimum hours of shipping time.
ShippingTimeAvailableDate String The date when the item will be available for shipping. Only displayed for items that are not currently available for shipping.
QuantityDiscountPrices String Contains pricing information that includes special pricing when buying in bulk.
PointsNumber Integer The number of points.
PointsMonetaryValueCurrencyCode String The currency code in ISO 4217 format.
PointsMonetaryValueAmount String The monetary value.
IsBuyBoxWinner Boolean When true, the offer is currently in the Buy Box. There can be up to two Buy Box winners at any time per ASIN, one that is eligible for Prime and one that is not eligible for Prime.
IsPrime Boolean Indicates whether the offer is an Amazon Prime offer.
IsNationalPrime Boolean Indicates whether the offer is an Amazon Prime offer throughout the entire marketplace where it is listed.
ShipsFromCountry String The country from where the product is shipped.
ShipsFromState String The state from where the product is shipped.
IsFeaturedMerchant Boolean The boolean value of the merchant being featured.
IsFulfilledByAmazon Boolean The boolean value of the merchant being fulfilled by Amazon.
CustomerType String Indicates whether to request pricing information from the point of view of consumer or business buyers. Default is Consumer.

The allowed values are Consumer, Business.

MyOffer Boolean When true, this is the seller's offer.
OfferType String Indicates the type of customer that the offer is valid for.
SubCondition String The subcondition of the item. Subcondition values: New, Mint, Very Good, Good, Acceptable, Poor, Club, OEM, Warranty, Refurbished Warranty, Refurbished, Open Box, or Other.
ConditionNotes String Information about the condition of the item.

CData Cloud

ListingOffers

Generated schema file.

Columns

Name Type References Description
SellerSKU [KEY] String Identifies an item in the given marketplace.
MarketplaceId String A marketplace identifier. Specifies the marketplace for which prices are returned.
ItemCondition String The condition of the lowest priced product listed.

The allowed values are New, Used, Collectible, Refurbished, Club.

OffersListingPriceAmount Decimal The listing price amount of the offered price.
OffersListingPriceCurrencyCode String The listing price currency code of the offered price.
OffersShippingAmount Decimal The shipping amount of the offered price.
OffersShippingCurrencyCode String The shipping currency code of the offered price.
FeedbackCount Integer The feedback count.
SellerPositiveFeedbackRating Double The positive feedback rating of the seller.
SellerId String The seller Id.
ShippingTimeAvailabilityType String The shipping time availability type.
ShippingTimeMaximumHours Integer The maximum hours of shipping time.
ShippingTimeMinimumHours Integer The minimum hours of shipping time.
ShippingTimeAvailableDate String The date when the item will be available for shipping. Only displayed for items that are not currently available for shipping.
QuantityDiscountPrices String Contains pricing information that includes special pricing when buying in bulk.
PointsNumber Integer The number of points.
PointsMonetaryValueCurrencyCode String The currency code in ISO 4217 format.
PointsMonetaryValueAmount String The monetary value.
IsBuyBoxWinner Boolean When true, the offer is currently in the Buy Box. There can be up to two Buy Box winners at any time per ASIN, one that is eligible for Prime and one that is not eligible for Prime.
IsPrime Boolean Indicates whether the offer is an Amazon Prime offer.
IsNationalPrime Boolean Indicates whether the offer is an Amazon Prime offer throughout the entire marketplace where it is listed.
ShipsFromCountry String The country from where the product is shipped.
ShipsFromState String The state from where the product is shipped.
IsFeaturedMerchant Boolean The boolean value of the merchant being featured.
IsFulfilledByAmazon Boolean The boolean value of the merchant being fulfilled by Amazon.
CustomerType String Indicates whether to request pricing information from the point of view of consumer or business buyers. Default is Consumer.

The allowed values are Consumer, Business.

MyOffer Boolean When true, this is the seller's offer.
OfferType String Indicates the type of customer that the offer is valid for.
SubCondition String The subcondition of the item. Subcondition values: New, Mint, Very Good, Good, Acceptable, Poor, Club, OEM, Warranty, Refurbished Warranty, Refurbished, Open Box, or Other.
ConditionNotes String Information about the condition of the item.

CData Cloud

ListingsItemsIssues

Returns details about a listings item issues for a selling partner.

The following filters are required:

  • SKU
  • SellerId: You can either specify SellerId as a pseudo-column condition in WHERE filters, or in the connection string.
Some example queries:
SELECT * FROM ListingsItemsIssues WHERE SKU = '12345' AND SellerId = 'XXXXXXXXXXXXXX'

Columns

Name Type References Description
SKU String A selling partner provided identifier for an Amazon listing.
Code String An issue code that identifies the type of issue.
Message String A message that describes the issue.
Severity String The severity of the issue.

The allowed values are INFO, WARNING, ERROR.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
SellerId String A selling partner identifier, such as a merchant account or vendor code.

CData Cloud

ListingsItemsOffers

Returns details about a listings item offers for a selling partner.

The following filters are required:

  • SKU
  • SellerId: You can either specify SellerId as a pseudo-column condition in WHERE filters, or in the connection string.
Some example queries:
SELECT * FROM ListingsItemsOffers WHERE SKU = '12345' AND SellerId = 'XXXXXXXXXXXXXX'

Columns

Name Type References Description
SKU String A selling partner provided identifier for an Amazon listing
MarketplaceId String A marketplace identifier. Identifies the Amazon marketplace for the listings item.
OfferType String Type of offer for the listings item.

The allowed values are B2B, B2C.

PriceAmount String Purchase price amount of the listings item.
PriceCurrency String Purchase price currency of the listings item.
Points String The number of Amazon Points offered with the purchase of an item, and their monetary value. Note that the Points element is only returned in Japan (JP).

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
SellerId String A selling partner identifier, such as a merchant account or vendor code.

CData Cloud

ListingsItemsSummaries

Returns details about a listings item summaries for a selling partner.

The following filters are required:

  • SKU
  • SellerId: You can either specify SellerId as a pseudo-column condition in WHERE filters, or in the connection string.
Some example queries:
SELECT * FROM ListingsItemsSummaries WHERE SKU = '12345' AND SellerId = 'XXXXXXXXXXXXXX'

Columns

Name Type References Description
SKU String A selling partner provided identifier for an Amazon listing.
Asin String Amazon Standard Identification Number (ASIN) of the listings item.
ConditionType String Identifies the condition of the listings item.

The allowed values are new_new, new_open_box, new_oem, refurbished_refurbished, used_like_new, used_very_good, used_good, used_acceptable, collectible_like_new, collectible_very_good, collectible_good, collectible_acceptable, club_club.

CreatedDate Datetime Date the listings item was created, in ISO 8601 format.
ItemName String Name, or title, associated with an Amazon catalog item.
LastUpdatedDate Datetime Date the listings item was last updated, in ISO 8601 format.
MainImageLink String Link, or URL, for the main image.
MainImageHeight Integer Height of the main image in pixels.
MainImageWidth Integer Width of the main image in pixels.
MarketplaceId String A marketplace identifier. Identifies the Amazon marketplace for the listings item.
ProductType String The Amazon product type of the listings item.
Status String Statuses that apply to the listings item.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
SellerId String A selling partner identifier, such as a merchant account or vendor code.

CData Cloud

OrderItems

Returns order items based on the Amazon Order Id that you specify.

Select

The Cloud will use the Amazon Marketplace API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud. OrderItems table supports server side filtering with = and IN operators for AmazonOrderId field.

  • AmazonOrderId supports the '=' comparison.
For example, the following query is processed server side:
SELECT * FROM OrderItems WHERE AmazonOrderId = '503-9993250-1405404'

Columns

Name Type References Description
OrderItemId [KEY] String An Amazon-defined order item identifier.
AmazonOrderId String

Orders.AmazonOrderId

The Amazon ID of the order.
ASIN String The Amazon Standard Identification Number (ASIN) of the item.
SellerSKU String The seller stock keeping unit (SKU) of the item.
BuyerCustomizedInfoCustomizedURL String The Buyer CustomizedURL.
Title String The name of the item.
QuantityOrdered Integer The quantity of items ordered.
QuantityShipped Integer The quantity of items shipped.
GrantedPointsNumber Integer The Granted Points Number.
GrantedPointsMonetaryValueAmount Decimal The Granted Points Amount.
GrantedPointsMonetaryValueCurrencyCode String The Granted Points CurrencyCode.
NumberOfItems Integer The total number of items that are included in the ASIN.
ItemPriceAmount Decimal The Item Price Amount.
ItemPriceCurrencyCode String The Item Price Currency Code.
ShippingPriceAmount Decimal The Shipping Price Amount.
ShippingPriceCurrencyCode String The Shipping Price Currency Code.
ItemTaxAmount Decimal The Item Tax Amount.
ItemTaxCurrencyCode String The Item Tax Currency Code.
ShippingTaxAmount String The Shipping Tax Amount.
ShippingTaxCurrencyCode String The ShippingTax Currency Code.
ShippingDiscountAmount String The Shipping Discount Amount.
ShippingDiscountCurrencyCode String The Shipping Discount Currency Code.
ShippingDiscountTaxAmount String The Shipping Discount Tax Amount.
ShippingDiscountTaxCurrencyCode String The Shipping Discount Tax Currency Code.
PromotionDiscountAmount Decimal The Promotion Discount Amount.
PromotionDiscountCurrencyCode String The Promotion Discount Currency Code.
PromotionDiscountTaxAmount Decimal The Promotion Discount Tax Amount.
PromotionDiscountTaxCurrencyCode String The Promotion Discount Tax Currency Code.
PromotionIds String The IDs of Promotions.
CODFeeAmount Decimal The COD FeeAmount.
CODFeeCurrencyCode String The COD FeeCurrency Code.
CODFeeDiscountAmount String The COD FeeDiscount Amount.
CODFeeDiscountCurrencyCode String The COD FeeDiscount Currency Code.
IsGift Boolean Boolean specifying if the item is gift.
ConditionNote String The Condition Note.
ConditionId String The Condition Id.
ConditionSubtypeId String The Condition Subtype Id.
ScheduledDeliveryStartDate Datetime The Scheduled Delivery StartDate.
ScheduledDeliveryEndDate Datetime The Scheduled Delivery EndDate.
PriceDesignation String The Price Designation.
TaxCollectionModel String The tax collection model applied to the item.
TaxCollectionResponsibleParty String The party responsible for withholding the taxes and remitting them to the taxing authority.
SerialNumberRequired Boolean When true, the product type for this item has a serial number. Returned only for Amazon Easy Ship orders.
IsTransparency Boolean When true, transparency codes are required.
IossNumber String The IOSS number for the marketplace.
StoreChainStoreId String The store chain store identifier. Linked to a specific store in a store chain.
DeemedResellerCategory String Applies to selling partners that are not based in the EU and is used to help them meet the VAT Deemed Reseller tax laws in the EU and UK.
IsBuyerRequestedCancel Boolean When true, the buyer has requested cancellation.
BuyerCancelReason String The reason that the buyer requested cancellation.
BuyerCustomizedInfoURL String The location of a zip file containing Amazon Custom data.
GiftWrapPriceAmount String The Gift Wrap Price Amount.
GiftWrapPriceCurrencyCode String The Gift Wrap Price Currency Code.
GiftWrapTaxAmount String The Gift Wrap Tax Amount.
GiftWrapTaxCurrencyCode String The Gift Wrap Tax Currency Code.
GiftMessageText String A gift message provided by the buyer.
GiftWrapLevel String The gift wrap level specified by the buyer.
AssociatedItems String A list of associated items that a customer has purchased with a product. For example, a tire installation service purchased with tires.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
LastUpdateDate Datetime The last time the order is updated.

CData Cloud

OrderMetrics

Returns aggregated order metrics for a given interval, broken down by granularity, for a given buyer type.

Columns

Name Type References Description
IntervalTime String A time interval used for selecting order metrics. This takes the form of two dates separated by two hyphens (first date is inclusive; second date is exclusive). Dates are in ISO8601 format and must represent absolute time (either Z notation or offset notation). Example: 2018-09-01T00:00:00-07:00--2018-09-04T00:00:00-07:00 requests order metrics for Sept 1st, 2nd and 3rd in the -07:00 zone.
BreakdownStartTime Datetime The starting date-time of the interval used for selecting order metrics. Dates are in ISO8601 format and must represent absolute time (either Z notation or offset notation).
BreakdownEndTime Datetime The ending date-time of the interval used for selecting order metrics. Dates are in ISO8601 format and must represent absolute time (either Z notation or offset notation).
UnitCount Integer The number of units in orders based on the specified filters.
OrderItemCount Integer The number of order items based on the specified filters.
OrderCount Integer The number of orders based on the specified filters.
AverageUnitPriceCurrencyCode String Three-digit currency code. In ISO 4217 format.
AverageUnitPriceAmount Double The currency amount.
TotalSalesCurrencyCode String Three-digit currency code. In ISO 4217 format.
TotalSalesAmount Double The currency amount.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
GranularityTimeZone String An IANA-compatible time zone for determining the day boundary. Required when specifying a granularity value greater than Hour. The granularityTimeZone value must align with the offset of the specified interval value.
Granularity String The granularity of the grouping of order metrics, based on a unit of time. Specifying granularity=Hour results in a successful request only if the interval specified is less than or equal to 30 days from now. For all other granularities, the interval specified must be less or equal to 2 years from now.
MarketplaceId String A marketplace identifier. This specifies the marketplace in which the order was placed. Only one marketplace can be specified.
BuyerType String Filters the results by the buyer type that you specify, B2B (business to business) or B2C (business to customer). Example: B2B, if you want the response to include order metrics for only B2B buyers.
FulfillmentNetwork String Filters the results by the fulfillment network that you specify, MFN (merchant fulfillment network) or AFN (Amazon fulfillment network). Do not include this filter if you want the response to include order metrics for all fulfillment networks.
FirstDayOfWeek String Specifies the day that the week starts on when granularity=Week, either Monday or Sunday. Default: Monday.
Asin String Filters the results by the ASIN that you specify. Specifying both ASIN and SKU returns an error. Do not include this filter if you want the response to include order metrics for all ASINs.
Sku String Filters the results by the SKU that you specify. Specifying both ASIN and SKU returns an error. Do not include this filter if you want the response to include order metrics for all SKUs.

CData Cloud

Orders

Returns orders created or updated during a time frame that you specify.

Note: If you're retrieving personally identifiable information (PII), you must set IncludeRestrictedData to true. When retreiving PII, the OAuth application that you use to authenticate must be granted the Direct-to-consumer-shipping role to query this view. If you authenticated with the embedded OAuth application, you will need to create your own OAuth application with the Direct-to-consumer-shipping role enabled. See Creating a Custom OAuth App for more information about creating an OAuth application.

Select

The Cloud will use the Amazon Marketplace API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.

  • AmazonOrderId supports the '=' comparison.
  • SellerOrderId supports the '=' comparison.
  • PurchaseDate supports the '=', '<', '>', '<=', '>=' comparison.
  • LastUpdateDate supports the '=', '<', '>', '<=', '>=' comparison.
  • OrderStatus supports the '=', 'IN' comparison.
  • FulfillmentChannel supports the '=', 'IN' comparison.
  • PaymentMethod supports the '=', 'IN' comparison.
  • MarketplaceId supports the '=' comparison.
  • BuyerEmail supports the '=' comparison.
  • IsISPU supports the '=' comparison.
For example, the following query is processed server side:
SELECT * FROM Orders WHERE AmazonOrderId = '249-7638334-8161403'

SELECT * FROM Orders WHERE SellerOrderId = '249-7638334' AND purchasedate > '2010-01-01'

SELECT * FROM Orders WHERE LastUpdateDate >= '2016-12-12'

SELECT * FROM Orders WHERE PurchaseDate >= '2016-12-12'

SELECT * FROM Orders WHERE MarketplaceId = 'ATVPDKIKX0DER'

SELECT * FROM Orders WHERE BuyerEmail = '[email protected]'

SELECT * FROM Orders WHERE IsISPU = false

SELECT * FROM Orders WHERE PurchaseDate >= '2016-12-12' AND OrderStatus = 'Canceled'

SELECT * FROM Orders WHERE PurchaseDate >= '2016-12-12' AND FulfillmentChannel = 'MFN'

SELECT * FROM Orders WHERE PurchaseDate >= '2016-12-12' AND BuyerEmail = '[email protected]'

SELECT * FROM Orders WHERE PurchaseDate >= '2016-12-12' AND PaymentMethod = 'Other'

Columns

Name Type References Description
AmazonOrderId [KEY] String The Amazon ID of the order.
SellerOrderId String The Seller ID of the order.
PurchaseDate Datetime The date of the purchase.
LastUpdateDate Datetime The last update date.
OrderStatus String Status of the order.
FulfillmentChannel String The Fulfillment Channel.
SalesChannel String The Sales Channel.
OrderChannel String The Order Channel.
ShipServiceLevel String The level of the Ship Service.
ShippingAddressName String The Shipping Address Name.
ShippingAddressAddressLine1 String The Shipping Address AddressLine.
ShippingAddressAddressLine2 String The Shipping Address AddressLine.
ShippingAddressAddressLine3 String The Shipping Address AddressLine.
ShippingAddressCity String The Shipping Address City.
ShippingAddressCounty String The Shipping Address County.
ShippingAddressDistrict String The Shipping Address District.
ShippingAddressStateOrRegion String The Shipping Address State Or Region.
ShippingAddressPostalCode String The Shipping Address Postal Code.
ShippingAddressCountryCode String The Shipping Address Country Code.
ShippingAddressPhone String The Shipping Address Phone.
ShippingAddressMunicipality String The Shipping Municipality.
ShippingAddress_AddressType String The Shipping Address Type.
DefaultShipAddressName String The Shipping Address Name.
DefaultShipAddressLine1 String Default Ship From Location Address AddressLine.
DefaultShipAddressLine2 String Default Ship From Location Address AddressLine.
DefaultShipAddressLine3 String Default Ship From Location Address AddressLine.
DefaultShipCity String Default Ship From Location Address City.
DefaultShipCounty String Default Ship From Location Address County.
DefaultShipDistrict String Default Ship From Location Address District.
DefaultShipStateOrRegion String Default Ship From Location Address State Or Region.
DefaultShipPostalCode String Default Ship From Location Address Postal Code.
DefaultShipCountryCode String Default Ship From Location Address Country Code.
DefaultShipPhone String Default Ship From Location Address Phone.
DefaultShipMunicipality String The Default Ship Municipality.
DefaultShip_AddressType String Default Ship From Location Address Type.
OrderTotalCurrencyCode String The Order Currency Code.
OrderTotalAmount Decimal The Order Amount.
NumberOfItemsShipped Integer The Number Of Items Shipped.
NumberOfItemsUnshipped Integer The Number Of Items Unshipped.
PaymentExecutionDetail String The Payment Execution Detail.
PaymentMethod String The Payment Method.
PaymentMethodDetails String The Details of payment method.
IsReplacementOrder Boolean Boolean specifying if it is a replacement order.
ReplacedOrderId String The Replaced OrderId.
MarketplaceId String The MarketplaceId.
BuyerEmail String The Buyer Email.
BuyerName String The Buyer Name.
BuyerCounty String The Buyer Country.
BuyerTaxInfo String The Buyer Tax Info.
BuyerInvoicePreference String Can be individual or business.
ShipmentServiceLevelCategory String The Shipment Service Level Category.
ShippedByAmazonTFM Boolean The Shipped By Amazon TFM.
TFMShipmentStatus String The TFM Shipment Status.
CbaDisplayableShippingLabel String The Cba Displayable Shipping Label.
OrderType String The Type of Order.
HasAutomatedShippingSettings Boolean If true, this order has automated shipping settings generated by Amazon. This order could be identified as an SSA order.
AutomatedCarrier String Auto-generated carrier for SSA orders
AutomatedShipMethod String Auto-generated ship method for SSA orders.
EarliestShipDate Datetime The Earliest Ship Date.
EasyShipShipmentStatus String The status of the Amazon Easy Ship order. This property is included only for Amazon Easy Ship orders.
HasRegulatedItems Boolean Whether the order contains regulated items which may require additional approval steps before being fulfilled.
PromiseResponseDueDate Datetime Indicates the date by which the seller must respond to the buyer with an estimated ship date. Returned only for Sourcing on Demand orders.
LatestShipDate Datetime The Latest Ship Date.
EarliestDeliveryDate Datetime The Earliest Delivery Date .
LatestDeliveryDate Datetime The Latest Delivery Date.
IsBusinessOrder Boolean Boolean specifying if it is a Business Order.
IsEstimatedShipDateSet Boolean When true, the estimated ship date is set for the order. Returned only for Sourcing on Demand orders.
IsSoldByAB Boolean When true, the item within this order was bought and re-sold by Amazon Business EU SARL (ABEU).
IsIBA Boolean When true, the item within this order was bought and re-sold by Amazon Business EU SARL (ABEU).
IsISPU Boolean When true, this order is marked to be picked up from a store rather than delivered.
IsGlobalExpressEnabled Boolean When true, the order is a GlobalExpress order.
PurchaseOrderNumber String The Purchase Order Number.
IsPrime Boolean Boolean specifying if it is a Prime Order.
IsPremiumOrder Boolean Boolean specifying if it is a Premium Order.
CompanyName String The company name of the recipient.
ExtendedFields String The container for address extended fields. For example, street name or street number. Only available for Brazil shipping addresses.
AmazonPrograms String A list of the programs that are associated with the specified order item.

CData Cloud

OutboundFeatures

Returns a list of features available for Multi-Channel Fulfillment orders in the marketplace you specify, and whether the seller for which you made the call is enrolled for each feature.

Columns

Name Type References Description
MarketplaceId [KEY] String Required. The marketplace identifier.
FeatureName String The feature name.
FeatureDescription String The feature description.
SellerEligible Boolean Indicates whether the seller is eligible to use the feature.
SellerSku String Used to identify an item in the given marketplace. SellerSKU is qualified by the seller's SellerId, which is included with every operation that you submit.
FnSku String The unique SKU used by Amazon's fulfillment network.
Asin String The Amazon Standard Identification Number (ASIN) of the item.
SkuCount String The number of SKUs available for this service.
OverlappingSkus String Other seller SKUs that are shared across the same inventory.
IneligibleReasons String A list of one or more reasons that the seller SKU is ineligible for the feature.
QueryStartDate Datetime A date that you can use to select inventory that has been updated since a specified date.

CData Cloud

OutboundFulfillmentOrderItems

Returns the fulfillment order items indicated by the specified order identifier.

Columns

Name Type References Description
SellerFulfillmentOrderId [KEY] String The fulfillment order identifier
SellerFulfillmentOrderItemId [KEY] String A fulfillment order item identifier submitted with a call to the createFulfillmentOrder operation.
SellerSku String The seller SKU of the item.
CancelledQuantity Integer The item quantity that was cancelled by the seller.
EstimatedArrivalDate Datetime The estimated arrival date and time of the item quantity. Note that this value can change over time. If the shipment that contains the item quantity has been cancelled, estimatedArrivalDate is not returned.
EstimatedShipDate Datetime The estimated date and time that the item quantity is scheduled to ship from the fulfillment center. Note that this value can change over time. If the shipment that contains the item quantity has been cancelled, estimatedShipDate is not returned.
FulfillmentNetworkSku String Amazon's fulfillment network SKU of the item.
OrderItemDisposition String Indicates whether the item is sellable or unsellable.
Quantity Integer The item quantity.
UnfulfillableQuantity Integer The item quantity that is unfulfillable.
GiftMessage String A message to the gift recipient, if applicable.
DisplayableComment String Item-specific text that displays in recipient-facing materials such as the outbound shipment packing slip.
PerUnitDeclaredValue Decimal The monetary value assigned by the seller to this item.
PerUnitDeclaredCurrencyCode String The currency code of the monetary value assigned by the seller to this item.
PerUnitTaxValue Decimal The tax on the amount to be collected from the recipient for this item in a COD (Cash On Delivery) order.
PerUnitTaxCurrencyCode String The currency code of the tax on the amount to be collected from the recipient for this item in a COD (Cash On Delivery) order.
PerUnitPriceValue Decimal The amount to be collected from the recipient for this item in a COD (Cash On Delivery) order.
PerUnitPriceCurrencyCode String The currency code of the amount to be collected from the recipient for this item in a COD (Cash On Delivery) order.

CData Cloud

OutboundFulfillmentsPreview

Returns a list of fulfillment order previews based on shipping criteria that you specify.

Columns

Name Type References Description
SellerFulfillmentOrderItemId [KEY] String A fulfillment order item identifier that the seller created with a call to the createFulfillmentOrder operation.
EarliestArrivalDate Datetime The earliest date that the shipment is expected to arrive at its destination.
EarliestShipDate Datetime The earliest date that the shipment is expected to be sent from the fulfillment center, in ISO 8601 date time format.
EstimatedShippingWeightUnit String The estimated shipping unit weight of the item quantity for a single item, as identified by sellerSku, in a shipment.
EstimatedShippingWeightValue String The estimated shipping weight value of the item quantity for a single item, as identified by sellerSku, in a shipment.
IsCodCapable Boolean Indicates whether this fulfillment order preview is for COD (Cash On Delivery).
IsFulfillable Boolean Indicates whether this fulfillment order preview is fulfillable.
LatestArrivalDate Datetime The latest date that the shipment is expected to arrive at its destination, in ISO 8601 date time format.
LatestShipDate Datetime The latest date that the shipment is expected to be sent from the fulfillment center, in ISO 8601 date time format.
MarketplaceId String The marketplace the fulfillment order is placed against.
Quantity Integer The item quantity.
SellerSku String The seller SKU of the item.
ShippingSpeedCategory String The shipping method used for the fulfillment order. When this value is ScheduledDelivery, choose Ship for the fulfillmentAction. Hold is not a valid fulfillmentAction value when the shippingSpeedCategory value is ScheduledDelivery.
ScheduledDeliveryInfo String Provides additional insight into the shipment timeline when exact delivery dates are not able to be precomputed.
ShippingWeightCalculationMethod String The method used to calculate the estimated shipping weight.
UnfulfilledItemSellerSku String The seller SKU of the unfulfillable item.
UnfulfilledItemQuantity Integer The item quantity of the unfulfillable item.
UnfulfilledItemSellerFulfillmentOrderItemId String The fulfillment order item identifier of the unfulfillable item.
UnfulfilledItemUnfulfillableReasons String Error codes associated with the fulfillment order preview that indicate why the item is unfulfillable.
AddressLine1 String The first line of the address.
AddressLine2 String Additional address information.
AddressLine3 String Additional address information.
City String The city where the person, business, or institution is located. This property is required in all countries except Japan. It should not be used in Japan.
CountryCode String The two digit country code. In ISO 3166-1 alpha-2 format.
DistrictOrCounty String The district or county where the person, business, or institution is located.
AddressName String The name of the person, business or institution at the address.
PostalCode String The postal code of the address.
StateOrRegion String The state or region where the person, business or institution is located.
Phone String The phone number of the person, business, or institution located at the address.
IncludeCODFulfillmentPreview Boolean When true, returns all fulfillment order previews both for COD and not for COD. Otherwise, returns only fulfillment order previews that are not for COD.
IncludeDeliveryWindows Boolean When true, returns the ScheduledDeliveryInfo response object, which contains the available delivery windows for a Scheduled Delivery. The ScheduledDeliveryInfo response object can only be returned for fulfillment order previews with ShippingSpeedCategories = ScheduledDelivery.

CData Cloud

OutboundPackageTracking

Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order.

Columns

Name Type References Description
PackageNumber [KEY] Integer Required.The package identifier.
AdditionalLocationInfo String Additional location information.
CarrierCode String The name of the carrier.
CarrierPhoneNumber String The phone number of the carrier.
CarrierURL String The URL of the carrier's website.
CustomerTrackingLink String Link on swiship.com that allows customers to track the package.
CurrentStatus String The current delivery status of the package.
CurrentStatusDescription String Description corresponding to the CurrentStatus value.
EstimatedArrivalDate Datetime The estimated arrival date.
ShipDate Datetime The shipping date for the package.
ShipToAddressCity String The destination city address information for tracking the package.
ShipToAddressCountry String The destination state address information for tracking the package.
ShipToAddressState String The destination country address information for tracking the package.
SignedForBy String The name of the person who signed for the package.
EventAddressCity String The city address information where the delivery event took place.
EventAddressCountry String The country address information where the delivery event took place.
EventAddressState String The state address information where the delivery event took place.
EventCode [KEY] String The event code where the delivery event took place.
EventDate Datetime The date and time that the delivery event took place, in ISO 8601 date time format.
EventDescription String A description for the corresponding event code.
TrackingNumber String The tracking number for the package.

CData Cloud

OutboundReturnItems

An array of items that Amazon accepted for return. Returns empty if no items were accepted for return.

Columns

Name Type References Description
SellerFulfillmentOrderId [KEY] String The fulfillment order identifier.
SellerReturnItemId String An identifier assigned by the seller to the return item.
RmaPageURL String A URL for a web page that contains the return authorization barcode and the mailing label. This does not include pre-paid shipping.
ReturnAuthorizationId String An identifier for the return authorization. This identifier associates return items with the return authorization used to return them.
SellerFulfillmentOrderItemId String The identifier assigned to the item by the seller when the fulfillment order was created.
AmazonReturnReasonCode String The return reason code that the Amazon fulfillment center assigned to the return item.
AmazonShipmentId String The identifier for the shipment that is associated with the return item.
ReturnComment String An optional comment about the return item.
Status String Indicates if the return item has been processed by an Amazon fulfillment center.
StatusChangedDate Datetime Indicates when the status last changed.
SellerReturnReasonCode String The return reason code assigned to the return item by the seller.
ReturnReceivedCondition String The condition of the return item when received by an Amazon fulfillment center.
AmazonRmaId String The return merchandise authorization (RMA) that Amazon needs to process the return.
FulfillmentCenterId String An identifier for the Amazon fulfillment center that the return items should be sent to.
ReturnToAddressAddressLine1 String The first line of the address.
ReturnToAddressAddressLine2 String Additional address information.
ReturnToAddressAddressLine3 String Additional address information.
ReturnToAddressCity String The city where the person, business, or institution is located. This property is required in all countries except Japan. It should not be used in Japan.
ReturnToAddressCountryCode String The two digit country code. In ISO 3166-1 alpha-2 format.
ReturnToAddressDistrictOrCounty String The district or county where the person, business, or institution is located.
ReturnToAddressName String The name of the person, business or institution at the address.
ReturnToAddressPostalCode String The postal code of the address.
ReturnToAddressStateOrRegion String The state or region where the person, business or institution is located.

CData Cloud

OutboundReturnReasons

Returns a list of return reason codes for a seller SKU in a given marketplace.

Columns

Name Type References Description
ReturnReasonCode [KEY] String A code that indicates a valid return reason.
Description String A human readable description of the return reason code.
TranslatedDescription String A translation of the description. The translation is in the language specified in the Language request parameter.
SellerSku String Required. The seller SKU for which return reason codes are required.
MarketplaceId String The marketplace for which the seller wants return reason codes.
Language String The language that the TranslatedDescription property of the ReasonCodeDetails response object should be translated into.
SellerFulfillmentOrderId String Required. The fulfillment order identifier.

CData Cloud

ProductPricing

Generated schema file.

Columns

Name Type References Description
ASIN [KEY] String The value of Amazon Standard Identification Number for the product.
SellerSKU String Stock Keeping Unit that identifies a product in the Amazon catalog.
MarketplaceId String A marketplace identifier. Specifies the marketplace for which prices are returned.
LandedPriceAmount Decimal The landed price amount of the buying price.
LandedPriceCurrencyCode String The landed price currency code of the buying price.
ListingPriceAmount Decimal The listing price amount of the buying price.
ListingPriceCurrencyCode String The listing price currency code of the buying price.
ShippingAmount Decimal The shipping amount of the buying price.
ShippingCurrencyCode String The shipping currency code of the buying price.
FulfillmentChannel String The fulfillment channel for the product listed.
ItemCondition String The condition of the product listed.
ItemSubCondition String The sub-condition of the product listed.
RegularPriceAmount Decimal The regular price amount of the product.
RegularPriceCurrencyCode String The regular price currecny code for the product.
Status String The status of the product.
ItemType String Required. Indicates whether ASIN values or seller SKU values are used to identify items.

The allowed values are Asin, Sku.

CustomerType String Indicates whether to request pricing information from the point of view of consumer or business buyers. Default is Consumer.

The allowed values are Consumer, Business.

OfferType String Indicates whether to request pricing information for the seller's B2C (business-to-consumer) or B2B (business-to-business) offers. Default is B2C.

The allowed values are B2C, B2B.

CData Cloud

ReportList

Returns report details for the reports that match the filters that you specify.

Select

The Cloud will use the Amazon Marketplace API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.

Note: 'ReportType' attribute is required to query the view. You can view available values for 'ReportType' in Amazon Selling-Partner API Documentation, or you can query the 'ReportTypes' view.

  • ReportId supports the '=' comparison.
  • ReportType supports the '=', 'IN' comparisons.
  • MarketplaceIds supports the '=', 'IN' comparisons.
  • ProcessingStatus supports the '=', 'IN' comparisons.
  • CreatedTime supports the '=', '<', '>', '<=', '>=' comparisons.

Following are example queries that are processed server side:

SELECT * FROM ReportList WHERE ReportId = '51013018828'

SELECT * FROM ReportList WHERE ReportType = 'GET_FLAT_FILE_OPEN_LISTINGS_DATA'

SELECT * FROM ReportList WHERE ReportType = 'GET_FLAT_FILE_OPEN_LISTINGS_DATA' AND CreatedTime > '2021-06-12' AND CreatedTime < '2021-08-01 12:00:00'

SELECT * FROM ReportList WHERE ReportType = 'GET_FLAT_FILE_OPEN_LISTINGS_DATA' AND MarketplaceIds = 'A1VC38T7YXB528'

SELECT * FROM ReportList WHERE ReportType = 'GET_FLAT_FILE_OPEN_LISTINGS_DATA' AND ProcessingStatus = 'DONE'

Note: When filtering with CreatedTime, values older than 90 days will not be accepted.

Columns

Name Type References Description
ReportId [KEY] String Report Id.
ReportType String The type of the Report. ReportType is not required when UseSandbox=True.
ReportDocumentId String The identifier for the report document.
CreatedTime Datetime The date and time when the report was created. While filtering, CreatedTime value is only accepted till 90 days old.
DataStartTime Datetime The start of a date and time range used for selecting the data to report.
DataEndTime Datetime The end of a date and time range used for selecting the data to report.
MarketplaceIds String A list of marketplace identifiers for the report.
ProcessingStartTime Datetime The date and time when the report processing started.
ProcessingEndTime Datetime The date and time when the report processing completed.
ProcessingStatus String The processing status of the report.

CData Cloud

ReportTypes

Returns report details for the reports that match the filters that you specify.

Select

This view lists all the available Report Types of Seller Central API and their respective format (JSON, XML, CSV, TSV, PDF, XLSX).

SELECT * FROM ReportTypes

Columns

Name Type References Description
ReportTypeId [KEY] String Sequential id of the report type.
ReportTypeValue String Enumeration value of the report type.
ReportFormat String The download format of the report type

The allowed values are JSON, XML, CSV, TSV, PDF, XLSX.

Category String Report format category.
Description String Report format description.
URL String Amazon Selling-Partner API Documentation link of the report type.

CData Cloud

ShippingDocuments

Returns the shipping documents associated with a package in a shipment.

Columns

Name Type References Description
ShipmentId [KEY] String Required. The unique shipment identifier provided by a shipping service.
PackageClientReferenceId String Required. A client provided unique identifier for a package being shipped. This value should be saved by the client to pass as a parameter to the getShipmentDocuments operation.
PackageDocumentType String The type of shipping document.
PackageDocumentFormat String The file format of the document.
PackageDocumentContents String A Base64 encoded string of the file contents.
PackageDocumentDPI Long The resolution of the document (for example, 300 means 300 dots per inch).
TrackingId String The carrier generated identifier for a package in a purchased shipment.
ShippingBusinessId String Amazon shipping business to assume for this request. The default is AmazonShipping_UK. Refer X-amzn-shipping-business-id for other marketplaces.

CData Cloud

ShippingRates

Returns the available shipping service offerings.

Columns

Name Type References Description
ServiceId [KEY] String An identifier for the shipping service.
IsEligible Boolean A boolean value that indicates whether the shipping service offering is eligible.
RequestToken String A unique token generated to identify a getRates operation.
AvailableValueAddedServiceGroups String A JSON format of value-added services available for a shipping service offering.
BilledWeightUnit String The weight unit.
BilledWeightValue Decimal The weight value.
CarrierId String The carrier identifier for the offering, provided by the carrier.
CarrierName String The carrier name for the offering.
DeliveryWindowStartTime Datetime The promised start time of delivery.
DeliveryWindowEndTime Datetime The promised end time of delivery.
PickupWindowStartTime Datetime The promised start time of pickup.
PickupWindowEndTime Datetime The promised end time of pickup.
RequiresAdditionalInputs Boolean When true, indicates that additional inputs are required to purchase this shipment service.
RateId String An identifier for the rate (shipment offering) provided by a shipping service provider.
ServiceName String The name of the shipping service.
SupportedDocumentSpecifications String A JSON format of the document specifications supported for a shipment service offering.
TotalChargeUnit String The currency code of the total charge.
TotalChargeValue Decimal The monetary value of the total charge.
IneligibilityReasons String A JSON aggregate of reasons why a shipping service offering is ineligible.
ShipTo String Required. The ship to address.
ShipFrom String The ship from address.
ReturnTo String The return to address.
ShipDate Datetime The ship date and time (the requested pickup). This defaults to the current date and time.
Packages String A list of packages to be shipped through a shipping service offering.
ValueAddedServicesValue Decimal A collection's monetary value of supported value-added services.
ValueAddedServicesUnit String A collection's currency code of supported value-added services.
TaxDetailsType String Indicates the type of tax.
TaxDetailsRegistrationNumber String The shipper's tax registration number associated with the shipment for customs compliance purposes in certain regions.
ChannelType String The shipment source channel type.

The allowed values are AMAZON, EXTERNAL.

The default value is AMAZON.

AmazonOrderDetails String The Amazon order ID associated with the Amazon order fulfilled by this shipment.. This is required if the shipment source channel is Amazon.
AmazonShipmentDetails String The encrypted shipment ID. This attribute is required only for a Direct Fulfillment shipment.
ShippingBusinessId String Amazon shipping business to assume for this request. The default is AmazonShipping_UK. Refer X-amzn-shipping-business-id for other marketplaces.

CData Cloud

ShippingTracking

Returns tracking information for a purchased shipment.

Columns

Name Type References Description
TrackingId [KEY] String A carrier-generated tracking identifier originally returned by the purchaseShipment operation.
CarrierId String A carrier identifier originally returned by the getRates operation for the selected rate.
AlternateLegTrackingId String The carrier generated reverse identifier for a returned package in a purchased shipment.
PromisedDeliveryDate Datetime The date and time by which the shipment is promised to be delivered.
SummaryStatus String A package status summary.
EventCode String The tracking event type.
EventTime Datetime The ISO 8601 formatted timestamp of the event.
City String The city or town where the event is located.
CountryCode String The two digit country code. Follows ISO 3166-1 alpha-2 format.
PostalCode String The postal code of that address. It contains a series of letters or digits or both, sometimes including spaces or punctuation.
StateOrRegion String The state, county or region where the event is located.
ShippingBusinessId String Amazon shipping business to assume for this request. The default is AmazonShipping_UK. Refer X-amzn-shipping-business-id for other marketplaces.

CData Cloud

Stored Procedures

Stored procedures are function-like interfaces that extend the functionality of the Cloud beyond simple SELECT/INSERT/UPDATE/DELETE operations with Amazon Marketplace.

Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Amazon Marketplace, along with an indication of whether the procedure succeeded or failed.

CData Cloud - Amazon Marketplace Stored Procedures

Name Description
CancelFeed The CancelFeed cancels feed submission for the given FeedId
CancelFulfillmentOrder Requests that Amazon stop attempting to fulfill the fulfillment order indicated by the specified order identifier. You cannot cancel a fulfillment order with a status of Processing, Complete, or CompletePartialled.
CancelInboundPlan Cancels an Inbound Plan.
CancelReport CancelReport operation cancels report request for the given ReportId.
CancelSelfShipAppointment Cancels a self-ship appointment slot against a shipment.
CancelShipment Cancels a purchased shipment.
ConfirmDeliveryWindowOptions Confirms the delivery window option for chosen shipment within an inbound plan.
ConfirmPackingOption Confirms the packing option for an inbound plan.
ConfirmPlacementOption Confirms the placement option for an inbound plan.
ConfirmShipment The ConfirmShipment operation updates the shipment confirmation status for a specified order.
ConfirmShipmentContentUpdatePreview Confirm a shipment content update preview and accept the changes in transportation cost.
ConfirmTransportationOptions Confirms all the transportation options for an inbound plan.
CreateFulfillmentReturn Creates a fulfillment return.
CreateMarketplaceItemLabels For a given marketplace - creates labels for a list of mskus.
CreateProductReviewAndSellerFeedbackSolicitation Sends a solicitation to a buyer asking for seller feedback and a product review for the specified order. Send only one productReviewAndSellerFeedback or free form proactive message per order.
CreateReportSchema Creates a schema file based on the specified report.
CreateScheduledPackage Schedules an Easy Ship order
CreateScheduledPackageBulk The ConfirmShipment operation updates the shipment confirmation status for a specified order.
CreateTransportationOption Create a transportation option.
GetAdditionalInputsSchema Returns the JSON schema to use for providing additional inputs when needed to purchase a shipping offering.
GetFeedProcessingReport Creates and/or returns data for a specific report.
GetInboundShipmentBillOfLading Returns a bill of lading for a Less Than Truckload/Full Truckload (LTL/FTL) shipment.
GetInboundShipmentLabel Returns package/pallet labels for faster and more accurate shipment processing at the Amazon fulfillment center.
GetReport Creates and/or returns data for a specific report.
GetScheduledPackage Returns information about a package, including dimensions, weight, time slot information for handover, invoice and item information, and status.
GetSolicitationActionsForOrder Returns a list of solicitation types that are available for an order that you specify.
ListHandoverSlots Returns time slots available for Easy Ship orders to be scheduled based on the package weight and dimensions that the seller specifies.
PurchaseShipment Purchases a shipping service and returns purchase related details and documents.
RequestReport The RequestReport operation creates a report request.
ScheduleSelfShipAppointment Confirms or reschedules a self-ship appointment slot against a shipment.
SetPackingInformation Sets packing information for an inbound plan.
SubmitCartonContentFeed Submits carton content information for FBA inbound shipments.
SubmitFulfillmentOrderStatus Requests that Amazon update the status of an order in the sandbox testing environment. This is a sandbox-only operation and must be directed to a sandbox endpoint.
SubmitImageFeed [DEPRECATED] The Image feed allows you to upload various images for a product. Amazon can display several images for each product.
SubmitInventoryFeed [DEPRECATED] The Inventory feed allows you to update inventory quantities (stock levels) for your items.
SubmitOrderAcknowledgementFeed The Order Acknowledgment feed allows you to acknowledge your success or failure with downloading an order.
SubmitOrderAdjustmentFeed The Order Adjustment feed allows you to issue a refund (adjustment) for an order. You must provide a reason for the adjustment, such as Customer Return, and the adjustment amount, broken down by price component (principle, shipping, tax, and so on).
SubmitOrderFulfillmentFeed The Order Fulfillment feed allows your system to update Amazon's system with order fulfillment information.
SubmitOverrideFeed [DEPRECATED] The Override feed allows you to set an exception to your account-level shipping settings for an individual product (SKU).
SubmitPriceFeed [DEPRECATED] The Price feed allows you to set the current price and sale price (when applicable) for an item.
SubmitProductFeed [DEPRECATED] The Product feed contains descriptive information about the products in your catalog. This information allows Amazon to build a record and assign a unique identifier known as an ASIN (Amazon Standard Item Number) to each product.
SubmitRelationshipFeed [DEPRECATED] The Relationship feed allows you to set up optional relationships between items in your catalog.
SubmitSourcingOnDemandFeed Usage information for the operation SubmitSourcingOnDemandFeed.rsb.
SubmitVATInvoiceFeed Submit a VAT invoice against a shipment. The invoice must be a PDF document. Note that UPLOAD_VAT_INVOICE is only available in the EU marketplace (VAT program). The throttling limit for the Invoicing Feed is one invoice upload every three seconds. This type is permitted by the Tax Invoicing (Restricted) role.
UpdateScheduledPackages Updates the time slot for handing over the package indicated by the specified scheduledPackageId. You can get the new slotId value for the time slot by calling the listHandoverSlots operation before making another patch call.
UpdateShipmentStatus Update the shipment status for a specific order. Intended to be used with sellers who are participating in the In-store Pickup program.
UpdateShipmentTrackingDetails Updates a shipment's tracking details.

CData Cloud

CancelFeed

The CancelFeed cancels feed submission for the given FeedId

Input

Name Type Required Description
FeedId String True Required. The identifier for the feed. This identifier is unique only in combination with a seller ID.

Result Set Columns

Name Type Description
Success Boolean Whether the CancelFeed operation successful or not

CData Cloud

CancelFulfillmentOrder

Requests that Amazon stop attempting to fulfill the fulfillment order indicated by the specified order identifier. You cannot cancel a fulfillment order with a status of Processing, Complete, or CompletePartialled.

Input

Name Type Required Description
SellerFulfillmentOrderId String True The fulfillment order identifier.

Result Set Columns

Name Type Description
Success String Boolean indicating whether the stored procedure was successfully executed.

CData Cloud

CancelInboundPlan

Cancels an Inbound Plan.

Input

Name Type Required Description
InboundPlanId String False Identifier of an inbound plan.

Result Set Columns

Name Type Description
Success Boolean Boolean indicating whether the stored procedure was successfully executed.
OperationId String UUID for the given operation.

CData Cloud

CancelReport

CancelReport operation cancels report request for the given ReportId.

Input

Name Type Required Description
ReportId String True Required. The identifier for the report. This identifier is unique only in combination with a seller ID.

Result Set Columns

Name Type Description
Success Boolean Whether the CancelReport operation successful or not.

CData Cloud

CancelSelfShipAppointment

Cancels a self-ship appointment slot against a shipment.

Input

Name Type Required Description
ShipmentId String True Identifier of a shipment. A shipment contains the boxes and units being inbounded.
InboundPlanId String True Identifier of an inbound plan.
ReasonComment String True Reason for cancelling or rescheduling a self-ship appointment.

Result Set Columns

Name Type Description
Success Boolean Boolean indicating whether the stored procedure was successfully executed.
OperationId String UUID for the given operation.

CData Cloud

CancelShipment

Cancels a purchased shipment.

Input

Name Type Required Description
ShipmentId String True The unique shipment identifier provided by a shipping service.
ShippingBusinessId String True Amazon shipping business to assume for this request. The default is AmazonShipping_UK. Refer X-amzn-shipping-business-id for other marketplaces.

Result Set Columns

Name Type Description
Success String Boolean indicating whether the stored procedure was successfully executed.

CData Cloud

ConfirmDeliveryWindowOptions

Confirms the delivery window option for chosen shipment within an inbound plan.

Input

Name Type Required Description
ShipmentId String False The shipment to confirm the delivery window option for.
DeliveryWindowOptionId String False The id of the delivery window option to be confirmed.
InboundPlanId String False Identifier of an inbound plan.

Result Set Columns

Name Type Description
Success Boolean Boolean indicating whether the stored procedure was successfully executed.
OperationId String UUID for the given operation.

CData Cloud

ConfirmPackingOption

Confirms the packing option for an inbound plan.

Input

Name Type Required Description
PackingOptionId String False Identifier of a packing option.
InboundPlanId String False Identifier of an inbound plan.

Result Set Columns

Name Type Description
Success Boolean Boolean indicating whether the stored procedure was successfully executed.
OperationId String UUID for the given operation.

CData Cloud

ConfirmPlacementOption

Confirms the placement option for an inbound plan.

Input

Name Type Required Description
InboundPlanId String False Identifier of an inbound plan.
PlacementOptionId String False The identifier of a placement option. A placement option represents the shipment splits and destinations of SKUs.

Result Set Columns

Name Type Description
Success Boolean Boolean indicating whether the stored procedure was successfully executed.
OperationId String UUID for the given operation.

CData Cloud

ConfirmShipment

The ConfirmShipment operation updates the shipment confirmation status for a specified order.

Input

Name Type Required Description
AmazonOrderId String True Required. An Amazon-defined order identifier, in 3-7-7 format.
MarketplaceId String True Required. The unobfuscated marketplace identifier.
CodCollectionMethod String False The cod collection method, support in JP only.
PackageReferenceId String True Required. A seller-supplied identifier that uniquely identifies a package within the scope of an order. Note that only a positive numeric value is supported.
CarrierCode String False The code of the carrier.
CarrierName String False The name of the carrier.
ShippingMethod String False The shipping method of the order.
TrackingNumber String True Required. The tracking number of the order.
ShipDate Datetime True Required. The shipping date of the order.
ShipFromSupplySourceId String False The supply source id of the order.
OrderItems String True Required. The list of order items, quantities and transparency codes to be updated. Aggregate field.

Result Set Columns

Name Type Description
Success String Boolean indicating whether the stored procedure was successfully executed.

CData Cloud

ConfirmShipmentContentUpdatePreview

Confirm a shipment content update preview and accept the changes in transportation cost.

Input

Name Type Required Description
ShipmentId String False Identifier of a shipment. A shipment contains the boxes and units being inbounded.
ContentUpdatePreviewId String False Identifier of a content update preview.
InboundPlanId String False Identifier of an inbound plan.

Result Set Columns

Name Type Description
Success Boolean Boolean indicating whether the stored procedure was successfully executed.
OperationId String UUID for the given operation.

CData Cloud

ConfirmTransportationOptions

Confirms all the transportation options for an inbound plan.

Input

Name Type Required Description
InboundPlanId String False Identifier of an inbound plan.
Name String True The contact's name.
ShipmentId String True Shipment ID that the transportation Option is for.
PhoneNumber String True The phone number.
Email String False The email address.
TransportationOptionId String True Transportation option being selected for the provided shipment.

Result Set Columns

Name Type Description
Success Boolean Boolean indicating whether the stored procedure was successfully executed.
OperationId String UUID for the given operation.

CData Cloud

CreateFulfillmentReturn

Creates a fulfillment return.

Input

Name Type Required Description
SellerFulfillmentOrderId String True The fulfillment order identifier.
SellerReturnItemId String True An identifier assigned by the seller to the return item.
SellerFulfillmentOrderItemId String True The identifier assigned to the item by the seller when the fulfillment order was created.
AmazonReturnReasonCode String True The return reason code that the Amazon fulfillment center assigned to the return item.
AmazonShipmentId String True The identifier for the shipment that is associated with the return item.
ReturnComment String False An optional comment about the return item.

Result Set Columns

Name Type Description
Success String Boolean indicating whether the stored procedure was successfully executed.
RmaPageURL String A URL for a web page that contains the return authorization barcode and the mailing label. This does not include pre-paid shipping.
AmazonRmaId String The return merchandise authorization (RMA) that Amazon needs to process the return.
InvalidItemReasonCode String A code for why the item is invalid for return.
InvalidItemReasonDescription String A human readable description of the invalid item reason code.
FulfillmentCenterId String An identifier for the Amazon fulfillment center that the return items should be sent to.
ReturnToAddressAddressLine1 String The first line of the address.
ReturnToAddressAddressLine2 String Additional address information.
ReturnToAddressAddressLine3 String Additional address information.
ReturnToAddressCity String The city where the person, business, or institution is located. This property is required in all countries except Japan. It should not be used in Japan.
ReturnToAddressCountryCode String The two digit country code. In ISO 3166-1 alpha-2 format.
ReturnToAddressDistrictOrCounty String The district or county where the person, business, or institution is located.
ReturnToAddressName String The name of the person, business or institution at the address.
ReturnToAddressPostalCode String The postal code of the address.
ReturnToAddressStateOrRegion String The state or region where the person, business or institution is located.
SellerReturnItemId String An identifier assigned by the seller to the return item.
ReturnAuthorizationId String An identifier for the return authorization. This identifier associates return items with the return authorization used to return them.
SellerFulfillmentOrderItemId String The identifier assigned to the item by the seller when the fulfillment order was created.
AmazonReturnReasonCode String The return reason code that the Amazon fulfillment center assigned to the return item.
AmazonShipmentId String The identifier for the shipment that is associated with the return item.
ReturnComment String An optional comment about the return item.
Status String Indicates if the return item has been processed by an Amazon fulfillment center.
StatusChangedDate Datetime Indicates when the status last changed.

CData Cloud

CreateMarketplaceItemLabels

For a given marketplace - creates labels for a list of mskus.

Input

Name Type Required Description
Height Decimal False The height of the item label.
LabelPrintType String True Indicates the type of print type for a given label.
MskuQuantities String True Represents the quantity of an MSKU to print item labels for.
ItemLabelPageType String False The page type to use to print the labels. Possible values: 'A4_21', 'A4_24', 'A4_24_64x33', 'A4_24_66x35', 'A4_24_70x36', 'A4_24_70x37', 'A4_24i', 'A4_27', 'A4_40_52x29', 'A4_44_48x25', 'Letter_30'.
Width Decimal False The width of the item label.
LocaleCode String False The locale code constructed from ISO 639 language code and ISO 3166-1 alpha-2 standard of country codes separated by an underscore character.
MarketplaceId String True The Marketplace ID. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a list of possible values.

Result Set Columns

Name Type Description
Success Boolean Boolean indicating whether the stored procedure was successfully executed.
Expiration Datetime The timestamp of expiration of the URI. This is in ISO 8601 datetime format with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
DownloadType String The type of download. Can be `URL`.
Uri String Uniform resource identifier to identify where the document is located.

CData Cloud

CreateProductReviewAndSellerFeedbackSolicitation

Sends a solicitation to a buyer asking for seller feedback and a product review for the specified order. Send only one productReviewAndSellerFeedback or free form proactive message per order.

Input

Name Type Required Description
AmazonOrderId String True Required. An Amazon order identifier. This specifies the order for which you want a list of available solicitation types.
MarketplaceId String True Required. A marketplace identifier. This specifies the marketplace in which the order was placed. Only one marketplace can be specified.

Result Set Columns

Name Type Description
Success Boolean Whether the GetSolicitationActionsForOrder operation successful or not

CData Cloud

CreateReportSchema

Creates a schema file based on the specified report.

CreateReportSchema

CreateReportSchema creates a schema file based on the specified report. This schema adds a table to your existing list that corresponds with the results of your report, which can then be queried like other tables. (Reports from the Amazon Marketplace are not modeled by Cloud as queryable tables by default.)

The generated schema file outlines the metadata for the report, such as columns and column data types. You can edit the file to adjust data types, rename columns, and include or exclude columns.

Updating a Report Schema

In the following example, the SP CreateReportSchema creates a new report using TestReportTest1 as a base template. It appends new columns to TestReportTest1 and creates a new report, named TestReport2. The new report is saved as ...\\TestReportTest2.rsd.
EXECUTE [CreateReportSchema] 
    [ReportName] = "TestReportTest2",
    [CustomFieldIdsPrimitive] = "1459925,1459928",
    [CustomFieldIdsDropdown] = "1469785",
    [CustomDimensionKeyIds] = "13539564",
    [BaseReportName] = "TestReportTest1", 
    [FileName] = "...\\TestReportTest2.rsd"

Input

Name Type Required Description
TableName String True The name for the new table.
ReportId String True The report document id.
ReportName String True The name of the report.
FileName String False The full file path and name of the schema to generate. Begin by choosing a parent directory (this parent directory should be set in the Location property). Complete the filepath by adding a directory corresponding to the schema used (SellerCentral), followed by a .rsd file with a name corresponding to the desired table name. For example : 'C:\\Users\\User\\Desktop\\AmazonMarketplace\\SellerCentral\\Filters.rsd'
Description String False An optional description for the table.
WriteToFile String False Whether to write the contents of the generated schema to a file or not. The input defaults to true. Set it to false to write to FileStream or FileData.

Result Set Columns

Name Type Description
Success String Whether or not the schema was created successfully.
FileData String The generated schema encoded in base64. Only returned if FileName is not set.

CData Cloud

CreateScheduledPackage

Schedules an Easy Ship order

Input

Name Type Required Description
AmazonOrderID String True An Amazon-defined order identifier. Identifies the order that the seller wants to deliver using Amazon Easy Ship.
MarketplaceId String True A string of up to 255 characters.
PackageItems String False A time window to hand over an Easy Ship package to Amazon Logistics.
SlotId String True TAn Amazon-defined identifier for a time slot.
StartTime Datetime True The start date and time of the time slot.
EndTime Datetime True The end date and time of the time slot.
HandoverMethod String False The method by which a seller will hand a package over to Amazon Logistics.

The allowed values are Pickup, Dropoff.

PackageIdentifier String False Optional seller-created identifier that is printed on the shipping label to help the seller identify the package.

Result Set Columns

Name Type Description
Success String Boolean indicating whether the stored procedure was successfully executed.

CData Cloud

CreateScheduledPackageBulk

The ConfirmShipment operation updates the shipment confirmation status for a specified order.

Input

Name Type Required Description
LabelFormat String True The file format in which the shipping label will be created.
MarketplaceId String True A string of up to 255 characters.
OrderScheduleDetailsList String True An array allowing users to specify orders to be scheduled.

Result Set Columns

Name Type Description
Success String Boolean indicating whether the stored procedure was successfully executed.

CData Cloud

CreateTransportationOption

Create a transportation option.

Input

Name Type Required Description
InboundPlanId String False Identifier of an inbound plan.
ShipmentId String True Identifier of a shipment. A shipment contains the boxes and units being inbounded.
Amount Decimal False Decimal value of the currency.
Code String False ISO 4217 standard of a currency code.
Name String False The contact's name.
PhoneNumber String False The phone number.
Stackability String False Indicates whether pallets will be stacked when carrier arrives for pick-up.
Email String False The email address.
UnitOfMeasurement String False Unit of linear measure.
Start Datetime True The start date of the window. The time component must be zero.
FreightClass String False Freight class. Can be: NONE,FC_50,FC_55,FC_60,FC_65,FC_70,FC_77_5,FC_85,FC_92_5,FC_100,FC_110,FC_125,FC_150,FC_175,FC_200,FC_250,FC_300,FC_400,FC_500.
Height Decimal False The height of a package.
Unit String False Unit of the weight being measured.
Value Decimal False Value of a weight.
Width Decimal False The width of a package.
Length Decimal False The length of a package.
Quantity Int False The number of containers where all other properties like weight or dimensions are identical.
PlacementOptionId String False The placement option to generate transportation options for.

Result Set Columns

Name Type Description
Success Boolean Boolean indicating whether the stored procedure was successfully executed.
OperationId String UUID for the given operation.

CData Cloud

GetAdditionalInputsSchema

Returns the JSON schema to use for providing additional inputs when needed to purchase a shipping offering.

Input

Name Type Required Description
RequestToken String True The request token returned in the response to the getRates operation.
RateId String True The rate identifier for the shipping offering (rate) returned in the response to the getRates operation.
ShippingBusinessId String True Amazon shipping business to assume for this request. The default is AmazonShipping_UK. Refer X-amzn-shipping-business-id for other marketplaces.

Result Set Columns

Name Type Description
Success String Boolean indicating whether the stored procedure was successfully executed.
Schema String The JSON schema to use to provide additional inputs when required to purchase a shipping offering.

CData Cloud

GetFeedProcessingReport

Creates and/or returns data for a specific report.

Execute

Use the GetFeedProcessingReport stored procedure to download the processing report of a feed based on feedDocumentId. FeedDocumentId can be retrieved from the Feeds view as 'ResultFeedDocumentId'.

  EXEC GetFeedProcessingReport
  @FeedDocumentId = '1234',
  @DownloadPath = 'C:\Tests\AmazonMarketplaceTest'

Input

Name Type Required Description
FeedDocumentId String True Unique ID of the feed processing report to download.
DownloadPath String False The File path to write the report data. If no path is specified, the file is kept in memory in the FileData output.

Result Set Columns

Name Type Description
Success Boolean Boolean indicating the result of the operation.
URL String A unique identifier for the report.
FileData String The file data output, if the LocalPath input is empty.

CData Cloud

GetInboundShipmentBillOfLading

Returns a bill of lading for a Less Than Truckload/Full Truckload (LTL/FTL) shipment.

Input

Name Type Required Description
ShipmentId String False Required. A shipment identifier originally returned by the createInboundShipmentPlan operation.

Result Set Columns

Name Type Description
Success Boolean Whether the operation was successful or not.
TransportStatus String URL to download the bill of lading for the package. Note: The URL will only be valid for 15 seconds.

CData Cloud

GetInboundShipmentLabel

Returns package/pallet labels for faster and more accurate shipment processing at the Amazon fulfillment center.

Input

Name Type Required Description
ShipmentId String False Required. A shipment identifier originally returned by the createInboundShipmentPlan operation.
PageType String True Required. The page type to use to print the labels. Submitting a PageType value that is not supported in your marketplace returns an error.
LabelType String True Required. The type of labels requested.
NumberOfPackages Integer False The number of packages in the shipment.
PackageLabelsToPrint String False A list of identifiers that specify packages for which you want package labels printed.
NumberOfPallets Integer False The number of pallets in the shipment. This returns four identical labels for each pallet.
PageSize Integer False The page size for paginating through the total packages' labels. This is a required parameter for Non-Partnered LTL Shipments. Max value:1000.
PageStartIndex Integer False The page start index for paginating through the total packages' labels. This is a required parameter for Non-Partnered LTL Shipments.

Result Set Columns

Name Type Description
Success Boolean Whether the operation was successful or not.
TransportStatus String URL to download the label for the package. Note: The URL will only be valid for 15 seconds.

CData Cloud

GetReport

Creates and/or returns data for a specific report.

Execute

To create and download a report in which case you must at least set ReportType, StartDate and DownloadPath attributes. The stored procedure will wait until the report is processed server side.
  EXEC GetReport
  @ReportDocumentId = '1234',
  @DownloadPath = 'C:\Tests\AmazonMarketplaceTest'

Input

Name Type Required Description
ReportDocumentId String True Unique ID of the report to download.
DownloadPath String False The File path to write the report data. If no path is specified, the file is kept in memory in the FileData output.
IsRestrictedReport Boolean False Boolean indicating whether the specified report ID is a restricted report (report containing PII).

The default value is false.

Result Set Columns

Name Type Description
Success Boolean Boolean indicating the result of the operation.
Url String A unique identifier for the report.
FileData String The file data output, if the LocalPath input is empty.

CData Cloud

GetScheduledPackage

Returns information about a package, including dimensions, weight, time slot information for handover, invoice and item information, and status.

Input

Name Type Required Description
AmazonOrderID String True An Amazon-defined order identifier. Identifies the order that the seller wants to deliver using Amazon Easy Ship.
MarketplaceId String True An identifier for the marketplace in which the seller is selling.

Result Set Columns

Name Type Description
AmazonOrderId String An Amazon-defined order identifier. Identifies the order that the seller wants to deliver using Amazon Easy Ship.
PackageId String An Amazon-defined identifier for the scheduled package.
DimensionLength Decimal The length dimension.
DimensionWidth Decimal The width dimension.
DimensionHeight Decimal The height dimension.
DimensionUnit String The unit of measurement used to measure the length.
DimensionIdentifier String Identifier for custom package dimensions.
WeightValue Decimal The weight of the package.
WeightUnit String The unit of measurement used to measure the weight.
PackageItems String A list of items contained in the package.
SlotId String An Amazon-defined identifier for a time slot.
StartTime Datetime The start date and time of the time slot.
EndTime Datetime The end date and time of the time slot.
HandoverMethod String The method by which a seller will hand a package over to Amazon Logistics.
PackageIdentifier String Optional seller-created identifier that is printed on the shipping label to help the seller identify the package.
InvoiceNumber String The invoice number.
InvoiceDate Datetime The date that the invoice was generated.
PackageStatus String The status of the package.
TrackingId String The tracking identifier for the scheduled package.

CData Cloud

GetSolicitationActionsForOrder

Returns a list of solicitation types that are available for an order that you specify.

Input

Name Type Required Description
AmazonOrderId String True Required. An Amazon order identifier. This specifies the order for which you want a list of available solicitation types.
MarketplaceId String True Required. A marketplace identifier. This specifies the marketplace in which the order was placed. Only one marketplace can be specified.

Result Set Columns

Name Type Description
Response String The response of the API call
Success Boolean Whether the GetSolicitationActionsForOrder operation successful or not

CData Cloud

ListHandoverSlots

Returns time slots available for Easy Ship orders to be scheduled based on the package weight and dimensions that the seller specifies.

Input

Name Type Required Description
MarketplaceId String True A string of up to 255 characters.
AmazonOrderID String True An Amazon-defined order identifier. Identifies the order that the seller wants to deliver using Amazon Easy Ship.
PackageDimensionLength Decimal True The length dimension.
PackageDimensionWidth Decimal True The width dimension.
PackageDimensionHeight Decimal True The height dimension.
PackageDimensionUnit String True The unit of measurement used to measure the length.

The allowed values are Cm.

PackageDimensionIdentifier String True Identifier for custom package dimensions.
PackageWeightValue Decimal True The weight of the package.
PackageWeightUnit String True The unit of measurement used to measure the weight.

The allowed values are G.

Result Set Columns

Name Type Description
SlotId String An Amazon-defined identifier for a time slot.
StartTime String The start date and time of the time slot.
EndTime Datetime The end date and time of the time slot.

CData Cloud

PurchaseShipment

Purchases a shipping service and returns purchase related details and documents.

Input

Name Type Required Description
RequestToken String False A unique token generated to identify a getRates operation.
RateId String False An identifier for the rate (shipment offering) provided by a shipping service provider.
RequestedDocumentFormat String False The file format of the document.

The allowed values are PDF, PNG, ZPL.

RequestedDocumentLength String False The length of the document measured in the units specified.
RequestedDocumentUnit String False The unit of measurement.
RequestedDocumentWidth String False The width of the document measured in the units specified.
RequestedDocumentDPI String False The dots per inch (DPI) value used in printing. This value represents a measure of the resolution of the document.
RequestedDocumentPageLayout String False Indicates the position of the label on the paper. Should be the same value as returned in getRates response.
RequestedDocumentNeedFileJoining Boolean False When true, files should be stitched together. Otherwise, files should be returned separately. Defaults to false.
RequestedDocumentTypes String False A list of the document types requested.

The allowed values are PACKSLIP, LABEL, RECEIPT, CUSTOM_FORM.

RequestedValueAddedServices String False The value-added services to be added to a shipping service purchase.
AdditionalInputs String False The additional inputs required to purchase a shipping offering, in JSON format. Additional inputs are only required when indicated by the requiresAdditionalInputs property in the response to the getRates operation.
ShippingBusinessId String False Amazon shipping business to assume for this request. The default is AmazonShipping_UK. Refer X-amzn-shipping-business-id for other marketplaces.

The default value is AmazonShipping_UK.

IdempotencyKey String False A unique value which the server uses to recognize subsequent retries of the same request.

Result Set Columns

Name Type Description
ShipmentId String The unique shipment identifier provided by a shipping service.
PackageClientReferenceId String A client provided unique identifier for a package being shipped. This value should be saved by the client to pass as a parameter to the getShipmentDocuments operation.
PackageDocumentType String The type of shipping document.
PackageDocumentFormat String The file format of the document.
PackageDocumentContents String A Base64 encoded string of the file contents.
TrackingId String The carrier generated identifier for a package in a purchased shipment.
PromisedDeliveryStartTime Datetime The promised start time of delivery.
PromisedDeliveryEndTime Datetime The promised end time of delivery.
PromisedPickupStartTime Datetime The promised start time of pickup.
PromisedPickupEndTime Datetime The promised end time of pickup.

CData Cloud

RequestReport

The RequestReport operation creates a report request.

Input

Name Type Required Description
ReportType String True Required. Indicates the report type to request.
DataStartTime Datetime False The start date of the date range used to select the data to report.By default it is the current date. If specified, it must be before the current date.
DataEndTime Datetime False End date of the date range used to select the data to report. By default it is the current date. If specified, it must be before the current date.
ReportOptions String False Additional information to pass to the report. If the report accepts ReportOptions, the information is displayed in the report description in the ReportType enumerator section.
MarketplaceIds String True Required. A list of one or more marketplace IDs for the marketplace that registered the listing account.

Result Set Columns

Name Type Description
ReportId String A unique identifier for the report.

CData Cloud

ScheduleSelfShipAppointment

Confirms or reschedules a self-ship appointment slot against a shipment.

Input

Name Type Required Description
ShipmentId String False Identifier of a shipment. A shipment contains the boxes and units being inbounded.
SlotId String False An identifier to a self-ship appointment slot.
InboundPlanId String False Identifier of an inbound plan.
ReasonComment String True Reason for cancelling or rescheduling a self-ship appointment.

Result Set Columns

Name Type Description
Success Boolean Boolean indicating whether the stored procedure was successfully executed.
AppointmentId Long Identifier for appointment.
StartTime Datetime The start timestamp of the appointment in UTC.
EndTime Datetime The end timestamp of the appointment in UTC.
AppointmentStatus String Status of the appointment.

CData Cloud

SetPackingInformation

Sets packing information for an inbound plan.

Input

Name Type Required Description
InboundPlanId String False Identifier of an inbound plan.
PackingGroupId String False The ID of the `packingGroup` that packages are grouped according to. The `PackingGroupId` can only be provided before placement confirmation, and it must belong to the confirmed `PackingOption`. One of `ShipmentId` or `PackingGroupId` must be provided with every request.
ShipmentId String False The ID of the shipment that packages are grouped according to. The `ShipmentId` can only be provided after placement confirmation, and the shipment must belong to the confirmed placement option. One of `ShipmentId` or `PackingGroupId` must be provided with every request.
BoxInput String True Input information for a given box.

Result Set Columns

Name Type Description
Success Boolean Boolean indicating whether the stored procedure was successfully executed.
OperationId String UUID for the given operation.

CData Cloud

SubmitCartonContentFeed

Submits carton content information for FBA inbound shipments.

Execute

The stored procedure accepts two aggregated formats: #TEMP tables and XML aggregate

For #TEMP tables

You must include in your query:

INSERT Item#TEMP (SKU, QuantityShipped, QuantityInCase) VALUES ('16510', 200, 1)

INSERT Carton#TEMP (CartonId, Item) VALUES ('28', 'Item#TEMP')

INSERT INTO ContentsRequestFeedAggregate#TEMP (ShipmentId, NumCartons, Carton) VALUES ('NY59', 1, 'Carton#TEMP')

Then you execute the procedure by specifying the value of CartonContentsRequestFeedAggregate with the name of #TEMP table used ContentsRequestFeedAggregate#TEMP.

EXEC SubmitCartonContentFeed CartonContentsRequestFeedAggregate = 'ContentsRequestFeedAggregate#TEMP', MarketplaceIds='11111'

*The temporary table must be defined and used within the same connection. Closing the connection will clear out any temporary tables in memory.

For XML aggregate

The XML aggregate must follow the API structure (https://images-na.ssl-images-amazon.com/images/G/01/rainier/help/xsd/release_4_1/ProductImage.xsd):

    <Message>
        <MessageID>1</MessageID>
        <CartonContentsRequest>
            <ShipmentId>NY59</ShipmentId>
            <NumCartons>1</NumCartons>
            <Carton>
                <CartonId>28</CartonId>
                <Item>
                    <SKU>16510</SKU>
                    <QuantityShipped>200</QuantityShipped>
                    <QuantityInCase>1</QuantityInCase>
                </Item>
            </Carton>
        </CartonContentsRequest>
    </Message>

EXEC SubmitCartonContentFeed CartonContentsRequestFeedAggregate = '...(the above XML)...', MarketplaceIds='11111'

Input

Name Type Required Description
ShipmentId String False A shipment identifier originally returned by the createInboundShipmentPlan operation.
NumCartons Integer False The number of cartons in the feed.
CartonId String False A carton identifier.
SKU String False The seller SKU of the item.
QuantityShipped Integer False The item quantity that you are shipping.
QuantityInCase Integer False The item quantity in each case, for case-packed items. Note that QuantityInCase multiplied by the number of boxes in the inbound shipment equals QuantityShipped.

The default value is 1.

ExpirationDate Date False The expiration date for the item, if there is any.
Item String False SKU and quantity information for the items in the shipment in XML format.
Carton String False Aggregate representing the carton. Can be in the form of XML or #TEMP table.
CartonContentsRequestFeedAggregate String False Carton content information for FBA inbound shipments in XML format.
MarketplaceIds String True Required. A list of one or more marketplace IDs for the marketplace that registered the listing account.

Result Set Columns

Name Type Description
FeedId String A unique identifier for the feed.
FeedType String The type of feed submitted.
SubmittedDate Datetime The date and time when the feed was submitted.
FeedProcessingStatus String The processing status of the feed submission.

CData Cloud

SubmitFulfillmentOrderStatus

Requests that Amazon update the status of an order in the sandbox testing environment. This is a sandbox-only operation and must be directed to a sandbox endpoint.

Input

Name Type Required Description
SellerFulfillmentOrderId String True The fulfillment order identifier.
FulfillmentOrderStatus String True The current status of the fulfillment order.

Result Set Columns

Name Type Description
Success String Boolean indicating whether the stored procedure was successfully executed.

CData Cloud

SubmitImageFeed

[DEPRECATED] The Image feed allows you to upload various images for a product. Amazon can display several images for each product.

Execute

The stored procedure accepts two aggregated formats: #TEMP tables and XML aggregate

For #TEMP tables

You must include in your query:

INSERT INTO ImageFeedAggregate#TEMP (SKU, ImageType, ImageLocation, OperationType) VALUES ('15700', 'Main', 'https://www.cdata.com/ui/img/home/adapters.png', 'Update')

Then you execute the procedure by specifying the value of ImageFeedAggregate with the name of #TEMP table used ImageFeedAggregate#TEMP.

Exec SubmitImageFeed ProductImageFeedAggregate = 'ImageFeedAggregate#TEMP', marketplaceids = 'A1VC38T7YXB528'

*The temporary table must be defined and used within the same connection. Closing the connection will clear out any temporary tables in memory.

For XML aggregate

The XML aggregate must follow the API structure (https://images-na.ssl-images-amazon.com/images/G/01/rainier/help/xsd/release_4_1/ProductImage.xsd):

  <Message>
    <MessageID>1</MessageID>
    <OperationType>Update</OperationType>
    <ProductImage>
        <SKU>15700</SKU>
        <ImageType>Main</ImageType>
        <ImageLocation>https://www.cdata.com/ui/img/home/adapters.png</ImageLocation>
    </ProductImage>
  </Message>

EXEC SubmitImageFeed ProductImageFeedAggregate = '...(the above XML)...', marketplaceids = 'A1VC38T7YXB528'

Input

Name Type Required Description
SKU String False Required. Used to identify an individual product. Each product must have a SKU, and each SKU must be unique.
ImageType String False Required. Available Values are Main, Swatch, BKLB, PT1, PT2, PT3, PT4, PT5, PT6, PT7, PT8, Search, PM01, MainOfferImage, OfferImage1, OfferImage2, OfferImage3, OfferImage4, OfferImage5, PFEE, PFUK, PFDE, PFFR, PFIT, PFES, EEGL, PT98, PT99, and ELFL.
ImageLocation String False The exact location of the image using a full URL (such as http://mystore.com/images/1234.jpg).
OperationType String False Required. Used to specify the type of operation (Update or Delete) to be performed on the data.
ProductImageFeedAggregate String False An aggregate representing the feed. Can be in the form of XML or a #TEMP table.
MarketplaceIds String True Required. A list of one or more marketplace IDs for the marketplace that registered the listing account.

Result Set Columns

Name Type Description
FeedId String A unique identifier for the feed.
FeedType String The type of feed submitted.
SubmittedDate Datetime The date and time when the feed was submitted.
FeedProcessingStatus String The processing status of the feed submission.

CData Cloud

SubmitInventoryFeed

[DEPRECATED] The Inventory feed allows you to update inventory quantities (stock levels) for your items.

Execute

The stored procedure accepts two aggregated formats: #TEMP tables and XML aggregate

For #TEMP tables

You must include in your query:

INSERT INTO InventoryFeed#TEMP (SKU, Quantity, FulfillmentLatency) VALUES ('15700', 11, '2')

INSERT INTO InventoryFeed#TEMP (SKU, Quantity, FulfillmentLatency) VALUES ('99987867', 10, '2')

Then you execute the procedure by specifying the value of InventoryFeedAggregate with the name of #TEMP table used InventoryFeed#TEMP.

EXEC SubmitInventoryFeed InventoryFeedAggregate = 'InventoryFeed#TEMP', marketplaceids = 'A1VC38T7YXB528'

*The temporary table must be defined and used within the same connection. Closing the connection will clear out any temporary tables in memory.

For XML aggregate

The XML aggregate must follow the API structure (https://images-na.ssl-images-amazon.com/images/G/01/rainier/help/xsd/release_4_1/Inventory.xsd):

    <Message>
        <MessageID>1</MessageID>
        <Inventory>
          <SKU>15700</SKU>
          <Quantity>11</Quantity>
          <FulfillmentLatency>2</FulfillmentLatency>
        </Inventory>
      </Message>
      <Message>
        <MessageID>2</MessageID>
        <Inventory>
          <SKU>99987867</SKU>
          <Quantity>10</Quantity>
          <FulfillmentLatency>2</FulfillmentLatency>
        </Inventory>
      </Message>

EXEC SubmitInventoryFeed InventoryFeedAggregate = '...(the above XML)...', marketplaceids = 'A1VC38T7YXB528'

Input

Name Type Required Description
SKU String False Required. Used to identify an individual product. Each product must have a SKU, and each SKU must be unique.
FulfillmentCenterID String False Seller-defined identifier for a fulfillment center.
Available Boolean False Indicates whether or not the item is available (true = available; false = not available).
Quantity Integer False Indicates whether or not an item is available (any positive number = available; 0 = not available).
RestockDate Date False Date the item will be restocked, if not currently available.
FulfillmentLatency String False The number of days between the order date and the ship date (a whole number between 1 and 30).
SwitchFulfillmentTo String False Used only when switching the fulfillment of an item from MFN (merchant fulfilled) to AFN (Amazon fulfilled) or vice versa.
OperationType String False Required. Used to specify the type of operation (Update or Delete) to be performed on the data.
InventoryFeedAggregate String False An aggregate representing the feed. Can be in the form of XML or a #TEMP table.
MarketplaceIds String True Required. A list of one or more marketplace IDs for the marketplace that registered the listing account.

Result Set Columns

Name Type Description
FeedId String A unique identifier for the feed.
FeedType String The type of feed submitted.
SubmittedDate Datetime The date and time when the feed was submitted.
FeedProcessingStatus String The processing status of the feed submission.

CData Cloud

SubmitOrderAcknowledgementFeed

The Order Acknowledgment feed allows you to acknowledge your success or failure with downloading an order.

Execute

The stored procedure accepts two aggregated formats: #TEMP tables and XML aggregate

For #TEMP tables

You must include in your query:

INSERT INTO OrderAcknowledgementFeedAggregate#TEMP (AmazonOrderId, StatusCode, AmazonOrderItemCode, CancelReason) VALUES ('249-6070298-2783041', 'Failure', '25959136016214', 'NoInventory')

Then you execute the procedure by specifying the value of OrderAcknowledgementFeedAggregate with the name of #TEMP table used OrderAcknowledgementFeedAggregate#TEMP.

EXEC SubmitOrderAcknowledgementFeed OrderAcknowledgementFeedAggregate = 'OrderAcknowledgementFeedAggregate#TEMP', marketplaceids = 'A1VC38T7YXB528'

*The temporary table must be defined and used within the same connection. Closing the connection will clear out any temporary tables in memory.

For XML aggregate

The XML aggregate must follow the API structure (https://images-na.ssl-images-amazon.com/images/G/01/rainier/help/xsd/release_4_1/OrderAcknowledgement.xsd):

    <Message>
        <MessageID>1</MessageID>
        <OrderAcknowledgement>
          <AmazonOrderID>249-6070298-2783041</AmazonOrderID>
          <StatusCode>Failure</StatusCode>
		  <Item>
			<AmazonOrderItemCode>25959136016214</AmazonOrderItemCode>
			<CancelReason>NoInventory</CancelReason>
		  </Item>
        </OrderAcknowledgement>
      </Message>

EXEC SubmitOrderAcknowledgementFeed OrderAcknowledgementFeedAggregate = '...(the above XML)...', marketplaceids = 'A1VC38T7YXB528'

Input

Name Type Required Description
AmazonOrderID String False Amazon's unique identifier for an order, which identifies the entire order, regardless of the number of individual items in the order.
MerchantOrderID String False Optional seller-supplied order ID. Amazon will map the MerchantOrderID to the AmazonOrderID, and you can then use your own order ID (MerchantOrderID) for subsequent feeds relating to the order.
StatusCode String False Allows you to acknowledge your success or failure with downloading an order. StatusCode can be either Success or Failure.
AmazonOrderItemCode String False Amazon's unique identifier for an item in an order.
MerchantOrderItemID String False Optional seller-supplied ID for an item in an order. If the MerchantOrderItemID is specified with the AmazonOrderItemCode, Amazon will map the two IDs and you can then use your own order item ID for subsequent feeds relating to that order item.
CancelReason String False Used only when sending a StatusCode of Failure.
ItemAggregate String False An aggregate representing an order Item. Can be in the form of XML or a #TEMP table. Use this field when multiple items in the order need to be acknowledged.
OrderAcknowledgementFeedAggregate String False An aggregate representing the feed. Can be in the form of XML or a #TEMP table.
MarketplaceIds String True Required. A list of one or more marketplace IDs for the marketplace that registered the listing account.

Result Set Columns

Name Type Description
FeedId String A unique identifier for the feed.
FeedType String The type of feed submitted.
SubmittedDate Datetime The date and time when the feed was submitted.
FeedProcessingStatus String The processing status of the feed submission.

CData Cloud

SubmitOrderAdjustmentFeed

The Order Adjustment feed allows you to issue a refund (adjustment) for an order. You must provide a reason for the adjustment, such as Customer Return, and the adjustment amount, broken down by price component (principle, shipping, tax, and so on).

Execute

The stored procedure accepts two aggregated formats: #TEMP tables and XML aggregate

For #TEMP tables

You must include in your query:

INSERT INTO ItemPriceAdjustmentsAggregate#TEMP (ItemPriceAdjustmentsComponentType, ItemPriceAdjustmentsComponentAmount, ItemPriceAdjustmentsComponentAmountCurrency) VALUES ('Shipping', '150', 'JPY')

INSERT INTO AdjustedItemAggregate#TEMP (AdjustedItemAmazonOrderItemCode, AdjustedItemAdjustmentReason, ItemPriceAdjustmentsAggregate) VALUES ('25959136016214', 'CustomerReturn', 'ItemPriceAdjustmentsAggregate#TEMP')

INSERT INTO OrderAdjustmentFeedAggregate#TEMP (AmazonOrderID, OperationType, AdjustedItemAggregate) VALUES ('503-0717426-9080645', 'Update', 'AdjustedItemAggregate#TEMP')

Then you execute the procedure by specifying the value of OrderAdjustmentFeedAggregate with the name of #TEMP table used OrderAdjustmentFeedAggregate#TEMP.

EXEC SubmitOrderAdjustmentFeed OrderAdjustmentFeedAggregate = 'OrderAdjustmentFeedAggregate#TEMP', marketplaceids = 'A1VC38T7YXB528'

*The temporary table must be defined and used within the same connection. Closing the connection will clear out any temporary tables in memory.

For XML aggregate

The XML aggregate must follow the API structure (https://images-na.ssl-images-amazon.com/images/G/01/rainier/help/xsd/release_4_1/OrderAdjustment.xsd):

    <Message>
        <MessageID>1</MessageID>
        <OperationType>Update</OperationType>
        <OrderAdjustment>
          <AmazonOrderID>503-0717426-9080645</AmazonOrderID>
          <AdjustedItem>
            <AmazonOrderItemCode>25959136016214</AmazonOrderItemCode>
            <AdjustmentReason>CustomerReturn</AdjustmentReason>
            <ItemPriceAdjustments>
              <Component>
                <Type>Shipping</Type>
                <Amount currency="JPY">150</Amount>
              </Component>
            </ItemPriceAdjustments>
          </AdjustedItem>
        </OrderAdjustment>
    </Message>

EXEC SubmitOrderAdjustmentFeed OrderAdjustmentFeedAggregate = '...(the above XML)...', marketplaceids = 'A1VC38T7YXB528'

Input

Name Type Required Description
AmazonOrderID String False Amazon's unique identifier for an order, which identifies the entire order regardless of the number of individual items in the order.
OperationType String False Required if AdjustedItemAggregate is empty. Used to specify the type of operation (Update or Delete) to be performed on the data.
MerchantOrderID String False Optional seller-supplied order ID. The first step is to establish the MerchantOrderID in the acknowledgment feed. Amazon will map the MerchantOrderID to the AmazonOrderID, and you can then use your own order ID (MerchantOrderID) for subsequent feeds relating to that order. See the base XSD for the definition.
AdjustedItemQuantityCancelled Integer False Quantity of items being canceled. Used only for partial cancellations.
AdjustedItemAmazonOrderItemCode String False Amazon's unique ID for an item in an order.
AdjustedItemMerchantOrderItemID String False Optional seller-supplied ID for an item in an order. It can be used in order processing if the pairing was established in the acknowledgment feed.
AdjustedItemMerchantAdjustmentItemID String False Optional seller-supplied unique ID for the adjustment (not used by Amazon).
AdjustedItemAdjustmentReason String False Reason for the adjustment.
ItemPriceAdjustmentsComponentType String False The Type of price adjustment for the item. Values include: Principal, Shipping, Tax, ShippingTax, RestockingFee, RestockingFeeTax, GiftWrap, GiftWrapTax, Surcharge, ReturnShipping, Goodwill, ExportCharge, COD, CODTax, Other, FreeReplacementReturnShipping
ItemPriceAdjustmentsComponentAmount Decimal False The Amount of the adjustment.
ItemPriceAdjustmentsComponentAmountCurrency String False The Currency for the Amount.
ItemPriceAdjustmentsAggregate String False An aggregate representing the Amount the buyer is to be refunded for the item. Can be in the form of XML, JSON, or a #TEMP table. Use this field if multiple item price adjustments need to be applied.
PromotionAdjustmentsPromotionClaimCode String False The ClaimCode for the Promotion Adjustment.
PromotionAdjustmentsMerchantPromotionID String False The Promotion Id for the Promotion Adjustment.
PromotionAdjustmentsComponentType String False The Type of price adjustment for the promotion.
PromotionAdjustmentsComponentAmount Decimal False The Amount of price adjustment for the promotion.
PromotionAdjustmentsComponentAmountCurrency String False The Currency for the Amount.
PromotionAdjustmentsComponentAggregate String False An aggregate representing the Amount the buyer is to be refunded for the promotion, broken down by type. Can be in the form of XML, JSON, or a #TEMP table. Use this field if multiple promotion price adjustments need to be applied.
PromotionAdjustmentsAggregate String False An aggregate representing the promotion. Child Elements include PromotionClaimCode, MerchantPromotionID, ComponentAggregate (Type, Amount and Amount@Currency). Use this field if multiple promotions need to be applied.
AdjustedItemAggregate String False An aggregate representing order adjustment information for a specific item. Can be in the form of XML, JSON, or a #TEMP table. Use this field if multiple items need adjusting in 1 order.
OrderAdjustmentFeedAggregate String False An aggregate representing the feed. Can be in the form of XML or a #TEMP table.
MarketplaceIds String True Required. A list of one or more marketplace IDs for the marketplace that registered the listing account.

Result Set Columns

Name Type Description
FeedId String A unique identifier for the feed.
FeedType String The type of feed submitted.
SubmittedDate Datetime The date and time when the feed was submitted.
FeedProcessingStatus String The processing status of the feed submission.

CData Cloud

SubmitOrderFulfillmentFeed

The Order Fulfillment feed allows your system to update Amazon's system with order fulfillment information.

Execute

The stored procedure accepts two aggregated formats: #TEMP tables and XML aggregate

For #TEMP tables

You must include in your query:

INSERT INTO ItemAggregate#TEMP (ItemAmazonOrderItemCode, ItemQuantity) VALUES ('25959136016214', '1');

INSERT INTO OrderFulfillmentFeedAggregate#TEMP (AmazonOrderID, FulfillmentDate, FulfillmentDataCarrierName, FulfillmentDataShippingMethod, FulfillmentDataShipperTrackingNumber, ItemAggregate) VALUES ('249-6070298-2783041', '2017-02-01T00:00:00Z', 'CData Delivery Company', 'Normal Delivery', '1223525345234', 'ItemAggregate#TEMP')

Then you execute the procedure by specifying the value of OrderFulfillmentFeedAggregate with the name of #TEMP table used OrderFulfillmentFeedAggregate#TEMP.

EXEC SubmitOrderFulfillmentFeed OrderFulfillmentFeedAggregate = 'OrderFulfillmentFeedAggregate#TEMP', marketplaceids = 'A1VC38T7YXB528'

*The temporary table must be defined and used within the same connection. Closing the connection will clear out any temporary tables in memory.

For XML aggregate

The XML aggregate must follow the API structure (https://images-na.ssl-images-amazon.com/images/G/01/rainier/help/xsd/release_4_1/OrderFulfillment.xsd):

    <Message>
    <MessageID>1</MessageID>
    <OrderFulfillment>
        <AmazonOrderID>249-6070298-2783041</AmazonOrderID>
        <FulfillmentDate>2017-02-01T00:00:00Z</FulfillmentDate>
        <FulfillmentData>
            <CarrierName>CData Delivery Company</CarrierName>
            <ShippingMethod>Normal Delivery</ShippingMethod>
            <ShipperTrackingNumber>1223525345234</ShipperTrackingNumber>
        </FulfillmentData>
        <Item>
            <AmazonOrderItemCode>25959136016214</AmazonOrderItemCode>
            <Quantity>1</Quantity>
        </Item>
    </OrderFulfillment>
</Message>

EXEC SubmitOrderFulfillmentFeed OrderFulfillmentFeedAggregate = '...(the above XML)...', marketplaceids = 'A1VC38T7YXB528'

Input

Name Type Required Description
AmazonOrderID String False Amazon's unique identifier for an order, which identifies the entire order regardless of the number of individual items in the order.
MerchantOrderID String False Optional seller-supplied order ID. The first step is to establish the MerchantOrderID in the acknowledgment feed. Amazon will map the MerchantOrderID to the AmazonOrderID, and you can then use your own order ID (MerchantOrderID) for subsequent feeds relating to that order. See the base XSD for the definition.
OperationType String False Required if OrderFulfillmentFeedAggregate is empty. Used to specify the type of operation (Update or Delete) to be performed on the data.
MerchantFulfillmentID Integer False Seller-supplied unique identifier for the shipment (not used by Amazon).
FulfillmentDate Datetime False The date the item was actually shipped or picked up, depending on the fulfillment method specified in the order.
FulfillmentDataCarrierCode String False The shipping carrier code.
FulfillmentDataCarrierName String False The shipping carrier name.
FulfillmentDataShippingMethod String False The shipping method used to deliver the item.
FulfillmentDataShipperTrackingNumber String False The tracking number for the shipment.
CODCollectionMethod String False Cash on delivery collection mode of an order.
ItemAmazonOrderItemCode String False Amazon's unique ID for an item in an order.
ItemMerchantOrderItemID String False The shipping Optional seller-supplied ID for an item in an order.
ItemMerchantFulfillmentItemID String False Seller-supplied unique identifier for an item in the shipment (not used by Amazon).
ItemQuantity Integer False The quantity of an item shipped.
ItemAggregate String False An aggregate representing order-fulfillment information for a specific item. Can be in the form of XML, JSON, or a #TEMP table. Use this field when multiple Items need to be included in the feed.
FulfillmentDataAggregate String False An aggregate representing order-fulfillment information for a specific item. Can be in the form of XML, JSON, or a #TEMP table. Use this field when multiple Items need to be included in the feed.
OrderFulfillmentFeedAggregate String False An aggregate representing the feed. Can be in the form of XML, JSON, or a #TEMP table.
MarketplaceIds String True Required. A list of one or more marketplace IDs for the marketplace that registered the listing account.
ShipFromSourceId String False An identifier from where the order should be shipped.

Result Set Columns

Name Type Description
FeedId String A unique identifier for the feed.
FeedType String The type of feed submitted.
SubmittedDate Datetime The date and time when the feed was submitted.
FeedProcessingStatus String The processing status of the feed submission.

CData Cloud

SubmitOverrideFeed

[DEPRECATED] The Override feed allows you to set an exception to your account-level shipping settings for an individual product (SKU).

Execute

The stored procedure accepts two aggregated formats: #TEMP tables and XML aggregate

For #TEMP tables

You must include in your query:

INSERT INTO ShippingOverrideAggregate#TEMP (ShipOption, IsShippingRestricted) VALUES ('Std JP Kanto8', 'true')

INSERT INTO ShippingOverrideAggregate#TEMP (ShipOption, Type, ShipAmount, ShipAmountCurrency) VALUES ('Std JP Kantoa8', 'Exclusive', '400.0', 'JPY')

INSERT INTO OverrideFeedAggregate#TEMP (SKU, OperationType, ShippingOverrideAggregate) VALUES ('15700', 'Update', 'ShippingOverrideAggregate#TEMP')

Then you execute the procedure by specifying the value of OverrideFeedAggregate with the name of #TEMP table used OverrideFeedAggregate#TEMP.

EXEC SubmitOverrideFeed OverrideFeedAggregate = 'OverrideFeedAggregate#TEMP', marketplaceids = 'A1VC38T7YXB528'

*The temporary table must be defined and used within the same connection. Closing the connection will clear out any temporary tables in memory.

For XML aggregate

The XML aggregate must follow the API structure (https://images-na.ssl-images-amazon.com/images/G/01/rainier/help/xsd/release_4_1/Override.xsd):

    <Message>
        <MessageID>1</MessageID>
        <OperationType>Update</OperationType>
        <Override>
          <SKU>15700</SKU>
          <ShippingOverride>
            <ShipOption>Std JP Kanto8</ShipOption>
            <IsShippingRestricted>true</IsShippingRestricted>
          </ShippingOverride>
          <ShippingOverride>
            <ShipOption>Std JP Kantoa8</ShipOption>
            <Type>Exclusive</Type>
            <ShipAmount currency="JPY">400.0</ShipAmount>
          </ShippingOverride>
        </Override>
      </Message>

EXEC SubmitOverrideFeed OverrideFeedAggregate = '...(the above XML)...', marketplaceids = 'A1VC38T7YXB528'

Input

Name Type Required Description
SKU String False Required if OverrideFeedAggregate is empty. Used to identify an individual product. Each product must have a SKU, and each SKU must be unique.
OperationType String False Required if OverrideFeedAggregate is empty. Used to specify the type of operation (Update or Delete) to be performed on the data.
ShipOption String False Locale and shipping service.
IsShippingRestricted Boolean False Indicates whether the SKU can or cannot be shipped to the specified locale using the specified shipping service (ShipOption).
Type String False The type of override shipping charge (Additive or Exclusive) being applied to the SKU.
ShipAmount Decimal False The Additive or Exclusive shipping charge amount.
ShipAmountCurrency Decimal False The currency used for the ShipAmount.
ShippingOverrideAggregate String False An aggregate representing the the shipping override. Can be in the form of XML or a #TEMP table. Use this field if multiple Shipping Overrides are needed.
OverrideFeedAggregate String False An aggregate representing the feed. Can be in the form of XML or a #TEMP table.
MarketplaceIds String True Required. A list of one or more marketplace IDs for the marketplace that registered the listing account.

Result Set Columns

Name Type Description
FeedId String A unique identifier for the feed.
FeedType String The type of feed submitted.
SubmittedDate Datetime The date and time when the feed was submitted.
FeedProcessingStatus String The processing status of the feed submission.

CData Cloud

SubmitPriceFeed

[DEPRECATED] The Price feed allows you to set the current price and sale price (when applicable) for an item.

Execute

The stored procedure accepts two aggregated formats: #TEMP tables and XML aggregate

For #TEMP tables

You must include in your query:

INSERT INTO PriceFeedAggregate#TEMP (SKU, StandardPrice, StandardPriceCurrency, MAP, MAPCurrency, SalePrice, SalePriceCurrency, SaleStartDate, SaleEndDate) VALUES ('15700', '134', 'JPY', '100', 'JPY', '150', 'JPY', '2017-02-01T00:00:00Z', '2020-02-01T00:00:00Z')

INSERT INTO PriceFeedAggregate#TEMP (SKU, StandardPrice, StandardPriceCurrency, MAP, MAPCurrency, SalePrice, SalePriceCurrency, SaleStartDate, SaleEndDate) VALUES ('99987867', '134', 'JPY', '100', 'JPY', '150', 'JPY', '2017-02-01T00:00:00Z', '2020-02-01T00:00:00Z')

Then you execute the procedure by specifying the value of PriceFeedAggregate with the name of #TEMP table used PriceFeedAggregate#TEMP.

EXEC SubmitPriceFeed PriceFeedAggregate = 'PriceFeedAggregate#TEMP', marketplaceids = 'A1VC38T7YXB528'

*The temporary table must be defined and used within the same connection. Closing the connection will clear out any temporary tables in memory.

For XML aggregate

The XML aggregate must follow the API structure (https://images-na.ssl-images-amazon.com/images/G/01/rainier/help/xsd/release_4_1/Price.xsd):

    <Message>
        <MessageID>1</MessageID>
        <Price>
          <SKU>15700</SKU>
          <StandardPrice currency="JPY">134</StandardPrice>
          <MAP currency="JPY">100</MAP>
          <Sale>
            <StartDate>2017-02-01T00:00:00Z</StartDate>
            <EndDate>2020-02-01T00:00:00Z</EndDate>
            <SalePrice currency="JPY">150</SalePrice>
          </Sale>
        </Price>
      </Message>
      <Message>
        <MessageID>2</MessageID>
        <Price>
          <SKU>99987867</SKU>
          <StandardPrice currency="JPY">134</StandardPrice>
          <MAP currency="JPY">100</MAP>
          <Sale>
            <StartDate>2017-02-01T00:00:00Z</StartDate>
            <EndDate>2020-02-01T00:00:00Z</EndDate>
            <SalePrice currency="JPY">150</SalePrice>
          </Sale>
        </Price>
      </Message>

EXEC SubmitPriceFeed PriceFeedAggregate = '...(the above XML)...', marketplaceids = 'A1VC38T7YXB528'

Input

Name Type Required Description
SKU String False Required if PriceFeedAggregate is empty. Used to identify an individual product. Each product must have a SKU, and each SKU must be unique.
OperationType String False Required if PriceFeedAggregate is empty. Used to specify the type of operation (Update or Delete) to be performed on the data.
StandardPrice Double False Required if PriceFeedAggregate is empty. Price of the item (non-sale price).
StandardPriceCurrency String False Required if PriceFeedAggregate is empty. The currency for the Standard Price.
MAP String False Minimum Advertised Price. Use only if dictated by the manufacturer. Both the standard and sale price (if applicable) must be higher than the MAP value.
MAPCurrency String False Minimum Advertised Price. Use only if dictated by the manufacturer. Both the standard and sale price (if applicable) must be higher than the MAP value.
SalePrice Double False The price of the sale.
SalePriceCurrency String False The currency of the sale.
SaleStartDate Datetime False The starting date of the sale.
SaleEndDate Datetime False The ending date of the sale.
PriceFeedAggregate String False An aggregate representing the feed. Can be in the form of XML or a #TEMP table.
MarketplaceIds String False Required. A list of one or more marketplace IDs for the marketplace that registered the listing account.

Result Set Columns

Name Type Description
FeedId String A unique identifier for the feed.
FeedType String The type of feed submitted.
SubmittedDate Datetime The date and time when the feed was submitted.
FeedProcessingStatus String The processing status of the feed submission.

CData Cloud

SubmitProductFeed

[DEPRECATED] The Product feed contains descriptive information about the products in your catalog. This information allows Amazon to build a record and assign a unique identifier known as an ASIN (Amazon Standard Item Number) to each product.

Execute

The Driver Uses #TEMP tables as fields for aggregate information entered.

SubmitProductFeed Has Two main aggregates that need to be entered.

  • ProductDescriptionDataAggregate
  • ProductDataAggregate

You must include in your query :

ProductDescriptionDataAggregate information needs to be entered using ProductDescriptionDataAggregate#TEMP temp table.

INSERT INTO ProductDescriptionDataAggregate#TEMP (Title, Brand, Description, BulletPoint, Manufacturer) VALUES ('test Title', 'test Brand', 'test Description', 'test BulletPoint', 'test Manufacturer')

ProductDataAggregate info varies by the Category used. The List of all XSD provided by amazon can be found here https://images-na.ssl-images-amazon.com/images/G/01/rainier/help/xsd/release_1_9/Product.xsd

This example will be using the Sports category https://images-na.ssl-images-amazon.com/images/G/01/rainier/help/xsd/release_1_9/Sports.xsd

To add a valid ProductData Sports.xsd must be followed thoroughly and the xml aggregate must be created correctly. This example has the following product Data

  • ProductType = SportingGoods
  • Parentage = Parent
  • VariationTheme = Size (Based on the ProductType selected some of the VariationTheme will be invalid. In these example the Design variation is invalid.)
  • Size = S
  • MaterialComposition = Metal

By following the order of Sports.xsd XSD file the aggregate is :

<Sports>
	<ProductType>SportingGoods</ProductType>
	<VariationData>
		<Parentage>parent</Parentage>
		<VariationTheme>Size</VariationTheme>
		<Size>S</Size>
	</VariationData>
	<MaterialComposition>Metal</MaterialComposition>
</Sports>

This Aggregate is the value of ProductDataAggregate.

INSERT INTO ProductFeedAggregate#TEMP (SKU, ProductDescriptionDataAggregate, ProductDataAggregate) VALUES ('test SKU', 'ProductDescriptionDataAggregate#TEMP', '<Sports>
	<ProductType>SportingGoods</ProductType>
	<VariationData>
		<Parentage>parent</Parentage>
		<VariationTheme>Size</VariationTheme>
		<Size>S</Size>
	</VariationData>
	<MaterialComposition>Metal</MaterialComposition>
</Sports>')

Then you execute the procedure by specifying the value of ProductFeedAggregate with the name of #TEMP table used ProductFeedAggregate#TEMP.

EXEC SubmitProductFeed ProductFeedAggregate = 'ProductFeedAggregate#TEMP', marketplaceids = 'A1VC38T7YXB528'

*The temporary table must be defined and used within the same connection. Closing the connection will clear out any temporary tables in memory.

Input

Name Type Required Description
SKU String False Required if ProductFeedAggregate is empty. Used to identify an individual product. Each product must have a SKU, and each SKU must be unique.
OperationType String False Required if ProductFeedAggregate is empty. Used to specify the type of operation (Update, Delete or PartialUpdate) to be performed on the data.
StandardProductID String False A standard, unique identifier for a product, consisting of a type (ISBN, UPC, or EAN) and a value that conforms to the appropriate format for the type specified. This is a required field if Type is provided for StandardProductID in the base XSD.
ProductTaxCode String False Amazon's standard code to identify the tax properties for a product.
LaunchDate Datetime False Controls when the product appears from searches and browsing on the Amazon website.
DiscontinueDate Datetime False Controls when the product disappears from searches and browsing on the Amazon website.
ReleaseDate Datetime False The date a product is released for sale.
Condition String False The condition of the item.
Rebate String False The rebate of the product.
ItemPackageQuantity Integer False Number of the same product contained within one package. For example, if you are selling a case of 10 packages of socks, ItemPackageQuantity would be 10.
NumberOfItems Integer False Number of discrete items included in the product you are offering for sale, such that each item is not packaged for individual sale. For example, if you are selling a case of 10 packages of socks, and each package contains 3 pairs of socks, NumberOfItems would be 30.
Title String False Required if ProductFeedAggregate is empty. Short description of the product.
Brand String False Brand of the product.
Designer String False Designer of the product.
Description String False Long Description of the product.
BulletPoint String False Brief descriptions of the product's features.
PackageDimensionsLength String False Calculated dimensions of the package.
PackageDimensionsWidth String False Calculated dimensions of the package.
PackageDimensionsHeight String False Calculated dimensions of the package.
PackageDimensionsWeight String False Calculated dimensions of the package.
ItemDimensionsLength String False Calculated dimensions of the item.
ItemDimensionsWidth String False Calculated dimensions of the item.
ItemDimensionsHeight String False Calculated dimensions of the item.
ItemDimensionsWeight String False Calculated dimensions of the item.
PackageWeight String False Weight of the package.
ShippingWeight String False Weight of the product when packaged to ship.
MerchantCatalogNumber String False Seller's catalog number for the product, if different from the SKU.
MSRP Double False Manufacturer's suggested retail price.
MaxOrderQuantity Integer False Maximum quantity of the product that a customer can order.
SerialNumberRequired Boolean False Indicates whether the product must have a serial number.
Prop65 Boolean False Used if the product is subject to prop 65 regulations in California. US only.
LegalDisclaimer String False Any legal disclaimer needed for the product.
Manufacturer String False Maker of the product.
MfrPartNumber String False Part number provided by the original manufacturer.
SearchTerms String False Terms you submit that give product search results.
PlatinumKeywords String False Values used to map products to nodes in a custom browse structure.
RecommendedBrowseNode String False Value used to classify an item.
Memorabilia Boolean False Used if the product is a memorabilia item.
Autographed Boolean False Used if the product is an autographed item.
UsedFor String False What the product is used for (affects the product's placement in the Amazon browse structure).
ItemType String False Pre-defined value that specifies where the product should appear within the Amazon browse structure.
OtherItemAttributes String False Used to further classify the product within the Amazon browse structure.
TargetAudience String False Used to further classify the product within the Amazon browse structure.
SubjectContent String False Used to relate the product to a specific idea or concept for merchandising.
IsGiftWrapAvailable Boolean False Indicates whether gift wrapping is available for the product.
IsGiftMessageAvailable Boolean False Indicates whether gift messaging is available for the product.
IsDiscontinuedByManufacturer Boolean False Indicates that the manufacturer has stopped making the item.
MaxAggregateShipQuantity Integer False The maximum number of the same item that can be shipped in the same package.
ProductDescriptionDataAggregate String False Section containing category-specific information such as variations. Can be in the form of XML or a #TEMP table.
ProductDataAggregate String False Section containing category-specific information such as variations. Can be in the form of XML or a #TEMP table.
ProductFeedAggregate String False An aggregate representing the feed. Can be in the form of XML or a #TEMP table.
MarketplaceIds String True Required. A list of one or more marketplace IDs for the marketplace that registered the listing account.

Result Set Columns

Name Type Description
FeedId String A unique identifier for the feed.
FeedType String The type of feed submitted.
SubmittedDate Datetime The date and time when the feed was submitted.
FeedProcessingStatus String The processing status of the feed submission.

CData Cloud

SubmitRelationshipFeed

[DEPRECATED] The Relationship feed allows you to set up optional relationships between items in your catalog.

Execute

The stored procedure accepts two aggregated formats: #TEMP tables and XML aggregate

For #TEMP tables

You must include in your query:

INSERT INTO RelationAggregate#TEMP (Type, SKU) VALUES ('Variation', '99987867')

INSERT INTO RelationAggregate#TEMP (Type, SKU) VALUES ('Variation', '99987867')

INSERT INTO RelationshipFeedAggregate#TEMP (ParentSKU, RelationAggregate) VALUES ('15700', 'RelationAggregate#TEMP')

Then you execute the procedure by specifying the value of RelationshipFeedAggregate with the name of #TEMP table used RelationshipFeedAggregate#TEMP.

EXEC SubmitRelationshipFeed RelationshipFeedAggregate = 'RelationshipFeedAggregate#TEMP', marketplaceids = 'A1VC38T7YXB528'

*The temporary table must be defined and used within the same connection. Closing the connection will clear out any temporary tables in memory.

For XML aggregate

The XML aggregate must follow the API structure (https://images-na.ssl-images-amazon.com/images/G/01/rainier/help/xsd/release_4_1/Relationship.xsd):

    <Message>
        <MessageID>1</MessageID>
        <Relationship>
          <ParentSKU>15700</ParentSKU>
          <Relation>
            <SKU>99987867</SKU>
            <Type>Variation</Type>
          </Relation>
          <Relation>
            <SKU>99987867</SKU>
            <Type>Variation</Type>
          </Relation>
        </Relationship>
      </Message>

EXEC SubmitRelationshipFeed RelationshipFeedAggregate = '...(the above XML)...', marketplaceids = 'A1VC38T7YXB528'

Input

Name Type Required Description
ParentSKU String False Required if RelationshipFeedAggregate is empty. The master SKU for a product with variations.
OperationType String False Required if RelationshipFeedAggregate is empty. Used to specify the type of operation (Update or Delete) to be performed on the data.
Type String False Type of relationship; currently supported are Variation or Accessory.
SKU String False Used to identify an individual product, one (child) variation of the parent SKU.
RelationAggregate String False An aggregate representing the the relation. Can be in the form of XML, JSON or a #TEMP table. Use this field when applying multiple relations
RelationshipFeedAggregate String False An aggregate representing the feed. Can be in the form of XML or #TEMP table.
MarketplaceIds String False Required. A list of one or more marketplace IDs for the marketplace that registered the listing account.

Result Set Columns

Name Type Description
FeedId String A unique identifier for the feed.
FeedType String The type of feed submitted.
SubmittedDate Datetime The date and time when the feed was submitted.
FeedProcessingStatus String The processing status of the feed submission.

CData Cloud

SubmitSourcingOnDemandFeed

Usage information for the operation SubmitSourcingOnDemandFeed.rsb.

Execute

The stored procedure accepts two aggregated formats: #TEMP tables and XML aggregate

For #TEMP tables

You must include in your query:

INSERT INTO OrderSourcingOnDemandFeedAggregate#TEMP (AmazonOrderID, SKU, EstimatedShipDate) VALUES ('250-4747727-9303810', '15700', '2018-12-08T00:00:00Z');

Then you execute the procedure by specifying the value of OrderSourcingOnDemandFeedAggregate with the name of #TEMP table used OrderSourcingOnDemandFeedAggregate#TEMP.

EXEC SubmitSourcingOnDemandFeed OrderSourcingOnDemandFeedAggregate = 'OrderSourcingOnDemandFeedAggregate#TEMP', marketplaceids = 'A1VC38T7YXB528'

*The temporary table must be defined and used within the same connection. Closing the connection will clear out any temporary tables in memory.

For XML aggregate

The XML aggregate must follow the API structure (https://m.media-amazon.com/images/G/01/rainier/help/xsd/release_4_1/OrderSourcingOnDemand._CB475945388_.xsd):

    <Message>
        <MessageID>1</MessageID>
        <OrderSourcingOnDemand>
            <AmazonOrderID>250-4747727-9303810</AmazonOrderID>
            <SKU>15700</SKU>
            <EstimatedShipDate>2018-12-08T00:00:00Z</EstimatedShipDate>
        </OrderSourcingOnDemand>
      </Message>

EXEC SubmitSourcingOnDemandFeed OrderSourcingOnDemandFeedAggregate = '...(the above XML)...', marketplaceids = 'A1VC38T7YXB528'

Input

Name Type Required Description
AmazonOrderID String False Amazon Order ID.
SKU Datetime True Required. Used to identify an individual product. Each product must have a SKU, and each SKU must be unique.
EstimatedShipDate String True Required. Estimated ship date.
OrderSourcingOnDemandFeedAggregate String False An aggregate representing the feed. Can be in the form of XML or a #TEMP table.
MarketplaceIds String True Required. A list of one or more marketplace IDs for the marketplace that registered the listing account.

Result Set Columns

Name Type Description
FeedId String A unique identifier for the feed.
FeedType String The type of feed submitted.
SubmittedDate Datetime The date and time when the feed was submitted.
FeedProcessingStatus String The processing status of the feed submission.

CData Cloud

SubmitVATInvoiceFeed

Submit a VAT invoice against a shipment. The invoice must be a PDF document. Note that UPLOAD_VAT_INVOICE is only available in the EU marketplace (VAT program). The throttling limit for the Invoicing Feed is one invoice upload every three seconds. This type is permitted by the Tax Invoicing (Restricted) role.

Input

Name Type Required Description
MarketplaceIds String True Required. A list of one or more marketplace IDs for the marketplace that registered the listing account.
OrderId String False Required if ShippingId is not specified. The identifier of the order for which the invoice is being submitted.
ShippingId String False Required if OrderId is not specified. The identifier of the shipment for which the invoice is being submitted.
TotalAmount Decimal False Optional but recommended. The total amount on the invoice. This is VAT-inclusive prices on items, gift wrap, and shipping, minus the VAT on all promotions. If the total amount specified does not match Amazon's total amount for this shipment, to two decimal places, then the invoice upload will be rejected.
TotalVATAmount Decimal False Optional but recommended. The total VAT amount on the invoice. This is the VAT on the items, gift wrap, and shipping, minus the VAT on all promotions. If the VAT amount provided here does not match the VAT amount calculated by Amazon for this shipment, to two decimal places, then the invoice upload will be rejected.
InvoiceNumber String True Required. The invoice number used in the invoice. This invoice number will be shared with customers. Sellers must ensure the same invoice number appears on the invoice.
DocumentType String True Required. Possible values include Invoice and CreditNote. Use Invoice if you are uploading an invoice. Use CreditNote if you are uploading a credit note for a refund or a return.

The allowed values are Invoice, CreditNote.

TransactionId String False Required only if DocumentType=CreditNote.
LocalPath String False Full path of the invoice you want to upload.

Result Set Columns

Name Type Description
FeedId String A unique identifier for the feed.
FeedType String The type of feed submitted.
SubmittedDate Datetime The date and time when the feed was submitted.
FeedProcessingStatus String The processing status of the feed submission.

CData Cloud

UpdateScheduledPackages

Updates the time slot for handing over the package indicated by the specified scheduledPackageId. You can get the new slotId value for the time slot by calling the listHandoverSlots operation before making another patch call.

Input

Name Type Required Description
MarketplaceId String True A string of up to 255 characters.
UpdatePackageDetailsList String False A list of package update details.

Result Set Columns

Name Type Description
Success String Boolean indicating whether the stored procedure was successfully executed.

CData Cloud

UpdateShipmentStatus

Update the shipment status for a specific order. Intended to be used with sellers who are participating in the In-store Pickup program.

Execute

The Driver uses #TEMP tables as fields for aggregate information entered.

First, create an OrderItems temporary table for the OrderItems input:

INSERT INTO orderItems#TEMP (OrderItemId, Quantity) VALUES ('123-1234567-1234567', 1);
INSERT INTO orderItems#TEMP (OrderItemId, Quantity) VALUES ('321-1234567-1234567', 2)

After the necessary temporary table has been created, execute the stored procedure as shown in the example below:

EXECUTE UpdateShipmentStatus
		OrderId        =   '123-1234567-1234567',
		ShipmentStatus =   'PickedUp',
		OrderItems     =   'orderItems#TEMP';

*The temporary table must be defined and used within the same connection. Closing the connection will clear out any temporary tables in memory.

OrderItems temporary table schema info:

Column NameTypeRequired
OrderItemId string true
Quantity integer true

Input

Name Type Required Description
OrderId String True An Amazon-defined order identifier, in 3-7-7 format.
ShipmentStatus String True The shipment status to apply.

The allowed values are ReadyForPickup, PickedUp, RefusedPickup.

MarketplaceId String False The unobfuscated marketplace identifier.
OrderItems String False For partial shipment status updates, the list of order items and quantities to be updated. Aggregate field.

Result Set Columns

Name Type Description
Success String

CData Cloud

UpdateShipmentTrackingDetails

Updates a shipment's tracking details.

Input

Name Type Required Description
ShipmentId String False Identifier of a shipment. A shipment contains the boxes and units being inbounded.
BoxId String False The ID provided by Amazon that identifies a given box. This ID is comprised of the external shipment ID (which is generated after transportation has been confirmed) and the index of the box.
TrackingId String False The tracking Id associated with each box in a non-Amazon partnered Small Parcel Delivery (SPD) shipment. The seller must provide this information.
BillOfLadingNumber String False The number of the carrier shipment acknowledgement document.
FreightBillNumber String False Number associated with the freight bill.
InboundPlanId String False Identifier of an inbound plan.

Result Set Columns

Name Type Description
Success Boolean Boolean indicating whether the stored procedure was successfully executed.
OperationId String UUID for the given operation.

CData Cloud

Vendor Central Data Model

The CData Cloud models the Vendor Central API as relational views, and stored procedures.

To use Amazon Vendor Central Data Model, simply set Schema to VendorCentral.

Views

Views are tables that cannot be modified, such as VendorOrders, CatalogItems. Typically, data that are read-only and cannot be updated are shown as views.

Stored Procedures

Stored Procedures are function-like interfaces to the data source. They can be used to search, update, and modify information in the data source.

Using Reports

For each report type there is a view exposed. For example, report type FEE_DISCOUNTS_REPORT will be exposed as a view named REPORT_FEE_DISCOUNTS_REPORT. These views can then be queried by using 'DataStartTime' and 'DataEndTime' optional datetime parameters. When both datetime parameters are specified, the driver automatically searches for an existing report that matches the specified interval, and if not found a new report is created. Reports can be manually created with the RequestReport stored procedure. You can also use ReportOptions JSON-aggregate pseudo-column to specify additional fields that may be required depending on report type. For more details about report options please check Amazon Selling-Partner API Documentation

After a report has been created and pushed to the result set, the next time you query this report type with the 'DataStartTime' and 'DataEndTime' same filters, the previously created report is downloaded instead of creating a new report.

CData Cloud

Tables

The Cloud models the data in Amazon Marketplace as a list of tables in a relational database that can be queried using standard SQL statements.

CData Cloud - Amazon Marketplace Tables

Name Description
Destinations Returns information about all destinations.
ListingsItems Returns details about a listings item for a selling partner.
ListingsItemsAttributes Returns details about a listings item attributes for a selling partner.
Subscriptions Returns information about subscriptions of the specified notification type.
VendorCustomerInvoices This view is part of Vendor Direct Fulfillment Shipping API. Returns a list of customer invoices created during a time frame that you specify. The date range to search must be no more than 7 days.
VendorPackingSlips This view is part of Vendor Direct Fulfillment Shipping API. Returns a list of packing slips for the purchase orders that match the criteria specified. Date range to search must not be more than 7 days.
VendorShippingLabels This table is part of Vendor Direct Fulfillment Shipping API. Returns a list of shipping labels created during the time frame that you specify. You define that time frame using the createdAfter and createdBefore parameters. The date range to search must not be more than 7 days.

CData Cloud

Destinations

Returns information about all destinations.

Columns

Name Type ReadOnly References Description
DestinationId [KEY] String False

The destination identifier generated when you created the destination.

Name String False

The developer-defined name for this destination.

ResourceSqsArn String False

The Amazon Resource Name (ARN) associated with the SQS queue (Amazon Simple Queue Service queue destination).

ResourceEventBridgeName String False

The name of the partner event source associated with the destination (Amazon EventBridge destination).

ResourceEventBridgeRegion String False

The AWS region in which you will be receiving the notifications (Amazon EventBridge destination).

ResourceEventBridgeAccountId String False

The identifier for the AWS account that is responsible for charges related to receiving notifications (Amazon EventBridge destination).

CData Cloud

ListingsItems

Returns details about a listings item for a selling partner.

Columns

Name Type ReadOnly References Description
SKU [KEY] String False

A selling partner provided identifier for an Amazon listing.

FulfillmentAvailability String False

Fulfillment availability for the listings item.

Procurements String False

The vendor procurement information for the listings item.

ProcurementCostCurrency String False

The price (ISO4217 currency code) that you want Amazon to pay you for this product.

ProcurementCostAmount String False

The price (numeric value) that you want Amazon to pay you for this product.

Attributes String False

This field is required for INSERT statements. Aggregate field containing structured 'AttributeName' and 'AttributeValue' fields.

SellerId [KEY] String False

A selling partner identifier, such as a merchant account or vendor code.

Requirements String False

This field can be specified for INSERT statements.

The allowed values are LISTING, LISTING_PRODUCT_ONLY, LISTING_OFFER_ONLY.

ProductType String False

This field is required for INSERT statements.

CData Cloud

ListingsItemsAttributes

Returns details about a listings item attributes for a selling partner.

Columns

Name Type ReadOnly References Description
SKU [KEY] String True

A selling partner provided identifier for an Amazon listing.

AttributeName [KEY] String False

The attribute name for the listings item.

AttributeValue String False

The attribute value for the listings item.

ProductType String False

The Amazon product type of the listings item. Required for Updating an attribute.

SellerId [KEY] String True

A selling partner identifier, such as a merchant account or vendor code.

AttributePath String True

The attribute path for the listings item.

AttributeGroup String True

The attribute group for the listings item.

CData Cloud

Subscriptions

Returns information about subscriptions of the specified notification type.

Columns

Name Type ReadOnly References Description
SubscriptionId [KEY] String False

The subscription identifier generated when the subscription is created.

NotificationType [KEY] String False

The type of notification.

The allowed values are ACCOUNT_STATUS_CHANGED, ANY_OFFER_CHANGED, B2B_ANY_OFFER_CHANGED, BRANDED_ITEM_CONTENT_CHANGE, FBA_INVENTORY_AVAILABILITY_CHANGES, FBA_OUTBOUND_SHIPMENT_STATUS, FEE_PROMOTION, FEED_PROCESSING_FINISHED, FULFILLMENT_ORDER_STATUS, ITEM_PRODUCT_TYPE_CHANGE, LISTINGS_ITEM_STATUS_CHANGE, LISTINGS_ITEM_ISSUES_CHANGE, ORDER_STATUS_CHANGE, PRICING_HEALTH, PRODUCT_TYPE_DEFINITIONS_CHANGE, REPORT_PROCESSING_FINISHED.

PayloadVersion String False

The version of the payload object to be used in the notification.

DestinationId String False

The identifier for the destination where notifications will be delivered.

MarketplaceIds String False

A list of marketplace identifiers to subscribe to (e.g. ATVPDKIKX0DER). To receive notifications in every marketplace, do not provide this list.

AggregationTimePeriod String False

The supported time period to use to perform marketplace-ASIN level aggregation.

The allowed values are FiveMinutes, TenMinutes.

EventFilterType String False

An eventFilterType value that is supported by the specific notificationType. This is used by the subscription service to determine the type of event filter.

CData Cloud

VendorCustomerInvoices

This view is part of Vendor Direct Fulfillment Shipping API. Returns a list of customer invoices created during a time frame that you specify. The date range to search must be no more than 7 days.

Select

The following fields are filtered server-side:
  • PurchaseOrderNumber supports the '=' comparison
  • CreatedDate supports all the >, >=, =, <=, < comparisons

Some example queries:

SELECT * FROM VendorCustomerInvoices WHERE PurchaseOrderNumber = '12345'

SELECT * FROM VendorCustomerInvoices WHERE CreatedDate > '2022-09-10T12:00:00' AND CreatedDate < '2022-09-15T12:00:00'

Columns

Name Type ReadOnly References Description
PurchaseOrderNumber [KEY] String False

This field will contain the Purchase Order Number for this order.

Content String False

The Base64encoded customer invoice.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
CreatedDate String

Filters for created date. If left empty the default specified range is from 6 days earlier to today.

CData Cloud

VendorPackingSlips

This view is part of Vendor Direct Fulfillment Shipping API. Returns a list of packing slips for the purchase orders that match the criteria specified. Date range to search must not be more than 7 days.

Select

The following fields are filtered server-side:
  • PurchaseOrderNumber supports the '=' comparison
  • CreatedDate supports all the >, >=, =, <=, < comparisons

Some example queries:

SELECT * FROM VendorPackingSlips WHERE PurchaseOrderNumber = '12345'

SELECT * FROM VendorPackingSlips WHERE CreatedDate > '2022-09-10T12:00:00' AND CreatedDate < '2022-09-15T12:00:00'

Columns

Name Type ReadOnly References Description
PurchaseOrderNumber [KEY] String False

This field will contain the Purchase Order Number for this order.

Content String False

A Base64encoded string of the packing slip PDF.

ContentType String False

The format of the file such as PDF, JPEG etc

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
CreatedDate String

Filters for created date. If left empty the default specified range is from 6 days earlier to today

CData Cloud

VendorShippingLabels

This table is part of Vendor Direct Fulfillment Shipping API. Returns a list of shipping labels created during the time frame that you specify. You define that time frame using the createdAfter and createdBefore parameters. The date range to search must not be more than 7 days.

Select

The following fields are filtered server-side:
  • PurchaseOrderNumber supports the '=' comparison
  • CreatedDate supports all the >, >=, =, <=, < comparisons

Some example queries:

SELECT * FROM VendorShippingLabels WHERE PurchaseOrderNumber = '12345'

SELECT * FROM VendorShippingLabels WHERE CreatedDate > '2022-09-10T12:00:00' AND CreatedDate < '2022-09-15T12:00:00'

INSERT

When inserting, you can also use temp tables in order to insert fields for aggregate objects, as shown in the example below:
INSERT INTO Items#TEMP (ItemSequenceNumber, BuyerProductIdentifier, VendorProductIdentifier, Amount, UnitOfMeasure) 
                VALUES (                 1,              'item_id',               'prod_id',     10,        'unit');

INSERT INTO Container#TEMP (ContainerType, ContainerIdentifier, TrackingNumber,  PackedItems) 
                    VALUES (     'carton',      'container_id',       'string', 'Items#TEMP');

INSERT INTO Address1#TEMP (  Name,     AddressLine1,          City,           County, CountryCode)
                  VALUES ('Name', 'Fayettville NC', 'Fayettville', 'North Carolina',        'NC');

INSERT INTO TaxTest#TEMP (RegistrationType, RegistrationNumber, RegistrationMessages, RegistrationAddress) 
                  VALUES (           'VAT',           'string',             'string',    'Address1#TEMP');

INSERT INTO VendorShippingLabels (PurchaseOrderNumber, SellingPartyPartyId,  SellingPartyTaxRegistrationDetails, ShipFromPartyPartyId,       Containers)
                          VALUES ('1234567890',                    '11111',                      'TaxTest#TEMP',              '22222', 'Container#TEMP');

In order to get the Transaction ID returned from the API for the INSERT statement, you can issue a select statement from the LastResultInfo temp table, as shown below:

SELECT * FROM LastResultInfo#TEMP 

*The temporary table must be defined and used within the same connection. Closing the connection will clear out any temporary tables in memory.

Container temporary table schema info:

Column NameTypeRequiredDescription
ContainerType String True The type of container.
ContainerIdentifier String True The container identifier.
TrackingNumber String False The tracking number.
ContainerSequenceNumber Integer False An integer that must be submitted for multi-box shipments only, where one item may come in separate packages.
ManifestId String False The manifest identifier.
ManifestDate String False The date of the manifest.
ShipMethod String False The shipment method.
ScacCode String False SCAC code required for NA VOC vendors only.
Carrier String False Carrier required for EU VOC vendors only.
Length String False Physical dimensional measurements of a container.
Width String False Physical dimensional measurements of a container.
Height String False Physical dimensional measurements of a container.
DimensionUnit String False Physical dimensional measurements of a container.
Value String False The weight.
WeightUnit String False The weight.
PackedItems Aggregate True A list of packed items. See: PackedItems table schema.

PackedItems temporary table schema info:

Column NameTypeRequiredDescription
ItemSequenceNumber Integer True Item Sequence Number for the item. This must be the same value as sent in the order for a given item.
BuyerProductIdentifier String False Buyer's Standard Identification Number (ASIN) of an item. Either buyerProductIdentifier or vendorProductIdentifier is required.
VendorProductIdentifier String False The vendor selected product identification of the item. Should be the same as was sent in the Purchase Order, like SKU Number.
Amount Decimal True Quantity of units shipped for a specific item at a shipment level. If the item is present only in certain packages or pallets within the shipment, please provide this at the appropriate package or pallet level.
UnitOfMeasure String True Unit of measure for the shipped quantity.

TaxRegistrationDetails temporary table schema info:

Column NameTypeRequiredDescription
RegistrationType String True Tax registration type for the entity. Allowed Values: VAT, GST.
RegistrationNumber String True Tax registration number for the party. For example, VAT ID.
RegistrationMessages String False Tax registration message that can be used for additional tax related details
RegistrationAddress Aggregate False Address of the party. See: AddressDetails table schema.

Address temporary table schema info:

Column NameType RequiredDescription
Name String True The name of the person, business or institution at that address.
AddressLine1 String True First line of street address.
AddressLine2 String False Additional address information, if required.
AddressLine3 String False Additional address information, if required.
City String False The city where the person, business or institution is located.
County String False The county where person, business or institution is located.
District String False The district where person, business or institution is located.
StateOrRegion String False The state or region where person, business or institution is located.
PostalOrZipCode String False The postal or zip code of that address. It contains a series of letters or digits or both, sometimes including spaces or punctuation.
CountryCode String True The two digit country code. In ISO 3166-1 alpha-2 format.
Phone String False The phone number of the person, business or institution located at that address.

Columns

Name Type ReadOnly References Description
PurchaseOrderNumber [KEY] String False

LabelFormat String True

The allowed values are PNG, ZPL.

LabelData String True

SellingPartyPartyId String False

SellingPartyAddressLine1 String False

SellingPartyAddressLine2 String False

SellingPartyAddressLine3 String False

SellingPartyAddressCity String False

SellingPartyAddressCountryCode String False

SellingPartyAddressCounty String False

SellingPartyAddressDistrict String False

SellingPartyAddressName String False

SellingPartyAddressPhone String False

SellingPartyAddressPostalCode String False

SellingPartyAddressStateOrRegion String False

SellingPartyTaxRegistrationDetails String False

ShipFromPartyPartyId String False

ShipFromPartyAddressLine1 String False

ShipFromPartyAddressLine2 String False

ShipFromPartyAddressLine3 String False

ShipFromPartyAddressCity String False

ShipFromPartyAddressCountryCode String False

ShipFromPartyAddressCounty String False

ShipFromPartyAddressDistrict String False

ShipFromPartyAddressName String False

ShipFromPartyAddressPhone String False

ShipFromPartyAddressPostalCode String False

ShipFromPartyAddressStateOrRegion String False

ShipFromPartyTaxRegistrationDetails String False

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
CreatedDate String

Containers String

CData Cloud

Views

Views are similar to tables in the way that data is represented; however, views are read-only.

Queries can be executed against a view as if it were a normal table.

CData Cloud - Amazon Marketplace Views

Name Description
CatalogItems The Catalog Items table helps you retrieve item details for items in the catalog.
CatalogItemsClassifications The Catalog Items Classifications table helps you retrieve classification details for items in the catalog.
ListingsItemsIssues Returns details about a listings item issues for a selling partner.
ListingsItemsOffers Returns details about a listings item offers for a selling partner.
ListingsItemsSummaries Returns details about a listings item summaries for a selling partner.
ReportList Returns report details for the reports that match the filters that you specify.
ReportTypes Returns report details for the reports that match the filters that you specify.
VendorOrders The Selling Partner API for Retail Procurement Orders provides programmatic access to vendor orders data.

CData Cloud

CatalogItems

The Catalog Items table helps you retrieve item details for items in the catalog.

The following filters are required:

  • MarketplaceId
  • One of the following: Query, SellerSKU, UPC, EAN, ISBN, JAN
For example:
SELECT * FROM CatalogItems WHERE MarketplaceID = 'XXXXXXXXXXXXX' AND ISBN = 'XXXXXXXXXXXXX'

Columns

Name Type References Description
MarketplaceASIN [KEY] String The Marketplace ASIN.
AdultProduct Boolean Identifies an Amazon catalog item is intended for an adult audience or is sexual in nature.
Autographed Boolean Identifies an Amazon catalog item is autographed by a player or celebrity.
Brand String Name of the brand associated with an Amazon catalog item.
BrowseClassificationClassificationId String Classification Id (browse node) associated with an Amazon catalog item.
BrowseClassificationDisplayName String Classification Name (browse node) associated with an Amazon catalog item.
Color String Name of the color associated with an Amazon catalog item.
ContributorsRole String Role of an individual contributor in the creation of an item, such as author or actor.
ContributorsName String Name of the contributor.
ItemClassification String Classification type associated with the Amazon catalog item.
ItemName String Name, or title, associated with an Amazon catalog item.
Manufacturer String Name of the manufacturer associated with an Amazon catalog item.
Memorabilia Boolean Identifies an Amazon catalog item is memorabilia valued for its connection with historical events, culture, or entertainment.
ModelNumber String Model number associated with an Amazon catalog item.
PackageQuantity Integer Quantity of an Amazon catalog item in one package.
PartNumber String Part number associated with an Amazon catalog item.
ReleaseDate String First date on which an Amazon catalog item is shippable to customers.
Size String Name of the size associated with an Amazon catalog item.
Style String Name of the style associated with an Amazon catalog item.
TradeInEligible Boolean Identifies an Amazon catalog item is eligible for trade-in.
WebsiteDisplayGroup String Identifier of the website display group associated with an Amazon catalog item.
WebsiteDisplayGroupName String Display name of the website display group associated with an Amazon catalog item.
Attributes String A JSON object containing structured item attribute data keyed by attribute name. Catalog item attributes conform to the related Amazon product type definitions available in the Selling Partner API for Product Type Definitions.
Classifications String A JSON array of classifications (browse nodes) associated with the item in the Amazon catalog by Amazon marketplace.
Dimensions String A JSON object of the dimensions for an item in the Amazon catalog.
Identifiers String A JSON object of the identifiers associated with the item in the Amazon catalog, such as UPC and EAN identifiers.
Images String A JSON object of the images for an item in the Amazon catalog.
ProductTypes String A JSON object of the product types associated with the Amazon catalog item.
Relationships String A JSON object of the relationship details of an Amazon catalog item (for example, variations).
SalesRankings String A JSON object of the sales ranks of an Amazon catalog item.
VendorDetails String A JSON object of the vendor details associated with an Amazon catalog item. Vendor details are available to vendors only.
ASIN String Amazon Standard Identification Number that identifies a product.
EAN String A European Article Number that uniquely identifies the catalog item, manufacturer, and its attributes.
GTIN String A Global Trade Item Number that uniquely identifies a product.
ISBN String The unique commercial book identifier used to identify books internationally.
JAN String A Japanese article number that uniquely identifies the product, manufacturer, and its attributes.
MINSAN String A Minsan Code that uniquely identifies an item.
SellerSKU String Used to identify an item in the given marketplace. SellerSKU is qualified by the seller's SellerId
UPC String A 12-digit bar code used for retail packaging.
IncludedData String A comma-delimited list of item details to request. If none are specified, will default to returning summaries data. Values: attributes, dimensions, identifiers, images, productTypes, relationships, salesRanks, summaries, vendorDetails.
Locale String Locale for retrieving localized summaries. Defaults to the primary locale of the marketplace.
SellerId String A selling partner identifier, such as a seller account or vendor code. Note: Required when setting identifier SellerSKU.
PageSize String Number of results to be returned per page.
Query String Keyword(s) to use to search for items in the catalog.
BrandNames String A comma-delimited list of brand names to limit the search for keywords-based queries. Note: Cannot be used with identifiers.
ClassificationIds String A comma-delimited list of classification identifiers to limit the search for keywords-based queries. Note: Cannot be used with identifiers.
KeywordsLocale String The language of the keywords provided for keywords-based queries. Defaults to the primary locale of the marketplace. Note: Cannot be used with identifiers.
MarketplaceId String Specifies the marketplace for which items are returned.

CData Cloud

CatalogItemsClassifications

The Catalog Items Classifications table helps you retrieve classification details for items in the catalog.

Columns

Name Type References Description
ClassificationId [KEY] String Identifier of the classification (browse node identifier).
MarketplaceASIN [KEY] String Amazon Standard Identification Number that identifies a product.
DisplayName String Display name for the classification (browse node).
ParentClassificationId String Parent classification (browse node) ID of the current classification.
MarketplaceId String Specifies the marketplace for which items are returned.
ShowParentClassifications Boolean Specifies whether to list all browse nodes for the item(s) or just the top-level browse node. By default, only the top-level browse nodes are listed.
EAN String A European Article Number that uniquely identifies the catalog item, manufacturer, and its attributes.
GTIN String A Global Trade Item Number that uniquely identifies a product.
ISBN String The unique commercial book identifier used to identify books internationally.
JAN String A Japanese article number that uniquely identifies the product, manufacturer, and its attributes.
MINSAN String A Minsan Code that uniquely identifies an item.
SellerSKU String Used to identify an item in the given marketplace. SellerSKU is qualified by the seller's SellerId
UPC String A 12-digit bar code used for retail packaging.
Locale String Locale for retrieving localized summaries. Defaults to the primary locale of the marketplace.
SellerId String A selling partner identifier, such as a seller account or vendor code. Note: Required when setting identifier SellerSKU.
Query String Keyword(s) to use to search for items in the catalog.
BrandNames String A comma-delimited list of brand names to limit the search for keywords-based queries. Note: Cannot be used with identifiers.
ItemClassifications String A comma-separated list of classification IDs for filtering keyword searches. The results may vary, as the classification could refer to either the item's classification or its parent classification. Note: Cannot be used with identifiers.
KeywordsLocale String The language of the keywords provided for keywords-based queries. Defaults to the primary locale of the marketplace. Note: Cannot be used with identifiers.

CData Cloud

ListingsItemsIssues

Returns details about a listings item issues for a selling partner.

Columns

Name Type References Description
SKU String A selling partner provided identifier for an Amazon listing.
Code String An issue code that identifies the type of issue.
Message String A message that describes the issue.
Severity String The severity of the issue.

The allowed values are INFO, WARNING, ERROR.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
SellerId String A selling partner identifier, such as a merchant account or vendor code.

CData Cloud

ListingsItemsOffers

Returns details about a listings item offers for a selling partner.

Columns

Name Type References Description
SKU String A selling partner provided identifier for an Amazon listing
MarketplaceId String A marketplace identifier. Identifies the Amazon marketplace for the listings item.
OfferType String Type of offer for the listings item.

The allowed values are B2B, B2C.

PriceAmount String Purchase price amount of the listings item.
PriceCurrency String Purchase price currency of the listings item.
Points String The number of Amazon Points offered with the purchase of an item, and their monetary value. Note that the Points element is only returned in Japan (JP).

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
SellerId String A selling partner identifier, such as a merchant account or vendor code.

CData Cloud

ListingsItemsSummaries

Returns details about a listings item summaries for a selling partner.

Columns

Name Type References Description
SKU String A selling partner provided identifier for an Amazon listing.
Asin String Amazon Standard Identification Number (ASIN) of the listings item.
ConditionType String Identifies the condition of the listings item.

The allowed values are new_new, new_open_box, new_oem, refurbished_refurbished, used_like_new, used_very_good, used_good, used_acceptable, collectible_like_new, collectible_very_good, collectible_good, collectible_acceptable, club_club.

CreatedDate Datetime Date the listings item was created, in ISO 8601 format.
ItemName String Name, or title, associated with an Amazon catalog item.
LastUpdatedDate Datetime Date the listings item was last updated, in ISO 8601 format.
MainImageLink String Link, or URL, for the main image.
MainImageHeight Integer Height of the main image in pixels.
MainImageWidth Integer Width of the main image in pixels.
MarketplaceId String A marketplace identifier. Identifies the Amazon marketplace for the listings item.
ProductType String The Amazon product type of the listings item.
Status String Statuses that apply to the listings item.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
SellerId String A selling partner identifier, such as a merchant account or vendor code.

CData Cloud

ReportList

Returns report details for the reports that match the filters that you specify.

Columns

Name Type References Description
ReportId [KEY] String Report Id.
ReportType String The type of the Report. ReportType is not required when UseSandbox=True.
ReportDocumentId String The identifier for the report document.
CreatedTime Datetime The date and time when the report was created. While filtering, CreatedTime value is only accepted till 90 days old.
DataStartTime Datetime The start of a date and time range used for selecting the data to report.
DataEndTime Datetime The end of a date and time range used for selecting the data to report.
MarketplaceIds String A list of marketplace identifiers for the report.
ProcessingStartTime Datetime The date and time when the report processing started.
ProcessingEndTime Datetime The date and time when the report processing completed.
ProcessingStatus String The processing status of the report.

CData Cloud

ReportTypes

Returns report details for the reports that match the filters that you specify.

Columns

Name Type References Description
ReportTypeId [KEY] String Sequential id of the report type.
ReportTypeValue String Enumeration value of the report type.
ReportFormat String The download format of the report type

The allowed values are JSON, XML, CSV, TSV, PDF, XLSX.

Category String Report format category.
Description String Report format description.
URL String Amazon Selling-Partner API Documentation link of the report type.

CData Cloud

VendorOrders

The Selling Partner API for Retail Procurement Orders provides programmatic access to vendor orders data.

Select

The Cloud will use the Amazon Marketplace API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.

  • PurchaseOrderNumber supports the '=' comparison.
  • PurchaseOrderState supports the '='comparison.
  • PurchaseOrderDate supports the '<', '>' comparisons and ORDER BY clause.
  • PurchaseOrderChangedDate supports the '<', '>' comparisons.
  • SellerPartyId supports the '=' comparison.

Following are example queries which are processed server side:

SELECT * FROM VendorOrders

SELECT * FROM VendorOrders WHERE PurchaseOrderNumber = '123456789'

SELECT * FROM VendorOrders WHERE PurchaseOrderState = 'New'

SELECT * FROM VendorOrders ORDER BY PurchaseOrderDate DESC

SELECT * FROM VendorOrders WHERE PurchaseOrderDate > '2022-06-01T12:00:00' AND PurchaseOrderDate < '2022-06-10T12:00:00'

SELECT * FROM VendorOrders WHERE PurchaseOrderChangedDate > '2022-06-01T12:00:00' AND PurchaseOrderChangedDate < '2022-06-10T12:00:00'

SELECT * FROM VendorOrders WHERE SellerPartyId = '123456789'

Columns

Name Type References Description
PurchaseOrderNumber String The purchase order number for this order.
PurchaseOrderState String The current state of the purchase order.

The allowed values are New, Acknowledged, Closed.

DealCode String If requested by the recipient, this field will contain a promotional/deal number.
DeliveryWindow String This indicates the delivery window. Format is start and end date separated by double hyphen (--)
ShipWindow String This indicates the ship window. Format is start and end date separated by double hyphen (--).
Items String A list of items in this purchase order.
PaymentMethod String Payment method used.

The allowed values are Prepaid, CreditCard, Consignment, Invoice.

PurchaseOrderDate Datetime The date the purchase order was placed.
PurchaseOrderChangedDate Datetime The date when purchase order was last changed by Amazon after the order was placed.
PurchaseOrderStateChangedDate Datetime The date when current purchase order state was changed.
PurchaseOrderType String Type of purchase order.

The allowed values are RushOrder, NewProductIntroduction, ConsignedOrder, RegularOrder.

BillPartyId String Assigned identification for the party. For example, warehouse code or vendor code.
BillAddressAddressLine1 String First line of the address.
BillAddressAddressLine2 String Additional address information, if required.
BillAddressAddressLine3 String Additional address information, if required.
BillAddressCity String The city where the person, business or institution is located.
BillAddressCountryCode String The two digit country code in ISO 3166-1 alpha-2 format.
BillAddressCounty String The county where person, business or institution is located.
BillAddressDistrict String The district where person, business or institution is located.
BillAddressName String The name of the address of the person, business or institution.
BillAddressPhone String The phone number of the person, business or institution located at that address.
BillAddressPostalCode String The postal code of that address. It contains a series of letters or digits or both.
BillAddressStateOrRegion String The state or region where person, business or institution is located.
BillTaxRegistrationNumber String Tax registration number for the entity. For example, VAT ID.
BillTaxRegistrationType String Tax registration type for the entity.

The allowed values are VAT, GST.

ShipPartyId String Assigned identification for the party. For example, warehouse code or vendor code.
ShipAddressAddressLine1 String First line of the address.
ShipAddressAddressLine2 String Additional address information, if required.
ShipAddressAddressLine3 String Additional address information, if required.
ShipAddressCity String The city where the person, business or institution is located.
ShipAddressCountryCode String The two digit country code in ISO 3166-1 alpha-2 format.
ShipAddressCounty String The county where person, business or institution is located.
ShipAddressDistrict String The district where person, business or institution is located.
ShipAddressName String The name of the address of the person, business or institution.
ShipAddressPhone String The phone number of the person, business or institution located at that address.
ShipAddressPostalCode String The postal code of that address. It contains a series of letters or digits or both.
ShipAddressStateOrRegion String The state or region where person, business or institution is located.
ShipTaxRegistrationNumber String Tax registration number for the entity. For example, VAT ID.
ShipTaxRegistrationType String Tax registration type for the entity.
BuyerPartyId String Assigned identification for the party. For example, warehouse code or vendor code.
BuyerAddressAddressLine1 String First line of the address.
BuyerAddressAddressLine2 String Additional address information, if required.
BuyerAddressAddressLine3 String Additional address information, if required.
BuyerAddressCity String The city where the person, business or institution is located.
BuyerAddressCountryCode String The two digit country code in ISO 3166-1 alpha-2 format.
BuyerAddressCounty String The county where person, business or institution is located.
BuyerAddressDistrict String The district where person, business or institution is located.
BuyerAddressName String The name of the address of the person, business or institution.
BuyerAddressPhone String The phone number of the person, business or institution located at that address.
BuyerAddressPostalCode String The postal code of that address. It contains a series of letters or digits or both.
BuyerAddressStateOrRegion String The state or region where person, business or institution is located.
BuyerTaxRegistrationNumber String Tax registration number for the entity. For example, VAT ID.
BuyerTaxRegistrationType String Tax registration type for the entity.
SellerPartyId String Assigned identification for the party. For example, warehouse code or vendor code.
SellerAddressAddressLine1 String First line of the address.
SellerAddressAddressLine2 String Additional address information, if required.
SellerAddressAddressLine3 String Additional address information, if required.
SellerAddressCity String The city where the person, business or institution is located.
SellerAddressCountryCode String The two digit country code in ISO 3166-1 alpha-2 format.
SellerAddressCounty String The county where person, business or institution is located.
SellerAddressDistrict String The district where person, business or institution is located.
SellerAddressName String The name of the address of the person, business or institution.
SellerAddressPhone String The phone number of the person, business or institution located at that address.
SellerAddressPostalCode String The postal code of that address. It contains a series of letters or digits or both.
SellerAddressStateOrRegion String The state or region where person, business or institution is located.
SellerTaxRegistrationNumber String Tax registration number for the entity. For example, VAT ID.
SellerTaxRegistrationType String Tax registration type for the entity.
ImportContainers String Types and numbers of container(s) for import purchase orders. Can be a comma-separated list if the shipment has multiple containers.
InternationalCommercialTerms String Incoterms (International Commercial Terms) are used to divide transaction costs and responsibilities between buyer and seller and reflect state-of-the-art transportation practices.
MethodOfPayment String If the recipient requests, contains the shipment method of payment. This is for import PO's only.

The allowed values are PaidBySeller, PrepaidBySeller, FOBPortOfCall, DefinedByBuyerAndSeller, CollectOnDelivery, PaidByBuyer.

PortOfDelivery String The port where goods on an import purchase order must be delivered by the vendor.
ShippingInstructions String Special instructions regarding the shipment.

CData Cloud

Stored Procedures

Stored procedures are function-like interfaces that extend the functionality of the Cloud beyond simple SELECT/INSERT/UPDATE/DELETE operations with Amazon Marketplace.

Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Amazon Marketplace, along with an indication of whether the procedure succeeded or failed.

CData Cloud - Amazon Marketplace Stored Procedures

Name Description
CancelReport CancelReport operation cancels report request for the given ReportId.
CheckVendorTransactionStatus Returns the status of the transaction that you specify.
CreateReportSchema Creates a schema file based on the specified report.
GetReport Creates and/or returns data for a specific report.
RequestReport The RequestReport operation creates a report request.
SubmitVendorOrderAcknowledgement Submits acknowledgements for one purchase order.
SubmitVendorPayments Submit new invoices to Amazon Marketplace.
SubmitVendorShipmentConfirmations Submits shipment confirmations for vendor orders.

CData Cloud

CancelReport

CancelReport operation cancels report request for the given ReportId.

Input

Name Type Required Description
ReportId String True Required. The identifier for the report. This identifier is unique only in combination with a seller ID.

Result Set Columns

Name Type Description
Success Boolean Whether the CancelReport operation successful or not.

CData Cloud

CheckVendorTransactionStatus

Returns the status of the transaction that you specify.

Execute

Below you can find an example query for executing this stored procedure:

EXECUTE CheckVendorTransactionStatus TransactionId = '1b2ba545-d325-4fc6-bdf1-93ff967cb964'

Input

Name Type Required Description
TransactionId String True The GUID provided by Amazon in the 'transactionId' field in response to the post request of a specific transaction.

Result Set Columns

Name Type Description
Success String Boolean indicating whether the stored procedure was successfully executed.
Status String Current processing status of the transaction. Values: Failure, Processing, Success.

CData Cloud

CreateReportSchema

Creates a schema file based on the specified report.

CreateReportSchema

CreateReportSchema creates a schema file based on the specified report. This schema adds a table to your existing list that corresponds with the results of your report, which can then be queried like other tables. (Reports from the Amazon Marketplace are not modeled by Cloud as queryable tables by default.)

The generated schema file outlines the metadata for the report, such as columns and column data types. You can edit the file to adjust data types, rename columns, and include or exclude columns.

Updating a Report Schema

In the following example, the SP CreateReportSchema creates a new report using TestReportTest1 as a base template. It appends new columns to TestReportTest1 and creates a new report, named TestReport2. The new report is saved as ...\\TestReportTest2.rsd.
EXECUTE [CreateReportSchema] 
    [ReportName] = "TestReportTest2",
    [CustomFieldIdsPrimitive] = "1459925,1459928",
    [CustomFieldIdsDropdown] = "1469785",
    [CustomDimensionKeyIds] = "13539564",
    [BaseReportName] = "TestReportTest1", 
    [FileName] = "...\\TestReportTest2.rsd"

Input

Name Type Required Description
TableName String True The name for the new table.
ReportId String True The report document id.
ReportName String True The name of the report.
FileName String False The full file path and name of the schema to generate. Begin by choosing a parent directory (this parent directory should be set in the Location property). Complete the filepath by adding a directory corresponding to the schema used (VendorCentral), followed by a .rsd file with a name corresponding to the desired table name. For example : 'C:\\Users\\User\\Desktop\\AmazonMarketplace\\VendorCentral\\Filters.rsd'
Description String False An optional description for the table.
WriteToFile String False Whether to write the contents of the generated schema to a file or not. The input defaults to true. Set it to false to write to FileStream or FileData.

Result Set Columns

Name Type Description
Success String Whether or not the schema was created successfully.
FileData String The generated schema encoded in base64. Only returned if FileName is not set.

CData Cloud

GetReport

Creates and/or returns data for a specific report.

Input

Name Type Required Description
ReportDocumentId String True Unique ID of the report to download.
DownloadPath String False The File path to write the report data. If no path is specified, the file is kept in memory in the FileData output.
IsRestrictedReport Boolean False Boolean indicating whether the specified report ID is a restricted report (report containing PII).

The default value is false.

Result Set Columns

Name Type Description
Success Boolean Boolean indicating the result of the operation.
Url String A unique identifier for the report.
FileData String The file data output, if the LocalPath input is empty.

CData Cloud

RequestReport

The RequestReport operation creates a report request.

Input

Name Type Required Description
ReportType String True Required. Indicates the report type to request.
DataStartTime Datetime False The start date of the date range used to select the data to report.By default it is the current date. If specified, it must be before the current date.
DataEndTime Datetime False End date of the date range used to select the data to report. By default it is the current date. If specified, it must be before the current date.
ReportOptions String False Additional information to pass to the report. If the report accepts ReportOptions, the information is displayed in the report description in the ReportType enumerator section.
MarketplaceIds String True Required. A list of one or more marketplace IDs for the marketplace that registered the listing account.

Result Set Columns

Name Type Description
ReportId String A unique identifier for the report.

CData Cloud

SubmitVendorOrderAcknowledgement

Submits acknowledgements for one purchase order.

Execute

The Driver Uses #TEMP tables as fields for aggregate information entered

You must include in your query information for both OrderAcknowledgement and OrderItemAcknowledgement.

First we create an OrderItemAcknowledgements temporary table for the OrderAcknowledgement number 1:

INSERT INTO itemAck1#TEMP (AcknowledgementCode, AcknowledgedAmount, AcknowledgedUnit, AcknowledgedUnitSize, ScheduledShipDate, ScheduledDeliveryDate, RejectionReason)
      VALUES ('Accepted', 100, 'Cases', 10, '2022-02-02T12:00:00Z', '2022-02-10T15:00:00Z', 'TemporarilyUnavailable')
INSERT INTO itemAck1#TEMP (AcknowledgementCode, AcknowledgedAmount, AcknowledgedUnit, AcknowledgedUnitSize, ScheduledShipDate, ScheduledDeliveryDate, RejectionReason)
      VALUES ('Accepted', 100, 'Cases', 20, '2022-03-02T12:00:00Z', '2022-03-10T15:00:00Z', 'InvalidProductIdentifier')
INSERT INTO itemAck1#TEMP (AcknowledgementCode, AcknowledgedAmount, AcknowledgedUnit, AcknowledgedUnitSize, ScheduledShipDate, ScheduledDeliveryDate, RejectionReason)
      VALUES ('Rejected', 100, 'Cases', 30, '2022-04-02T12:00:00Z', '2022-04-10T15:00:00Z', 'ObsoleteProduct')
INSERT INTO itemAck1#TEMP (AcknowledgementCode, AcknowledgedAmount, AcknowledgedUnit, AcknowledgedUnitSize, ScheduledShipDate, ScheduledDeliveryDate, RejectionReason)
      VALUES ('Rejected', 101, 'Cases', 30, '2022-04-02T12:00:00Z', '2022-04-10T15:00:00Z', 'ObsoleteProduct') 

Then we create another OrderItemAcknowledgements temporary table for the OrderAcknowledgement number 2:

INSERT INTO itemAck2#TEMP (AcknowledgementCode, AcknowledgedAmount, AcknowledgedUnit, AcknowledgedUnitSize, ScheduledShipDate, ScheduledDeliveryDate, RejectionReason)
      VALUES ('Accepted', 99, 'Cases', 9, '2022-09-09T12:00:00Z', '2022-08-8T15:00:00Z', 'ObsoleteProduct') 

After that we have to create another temporary table referencing previously created temporary tables itemAck1#TEMP and itemAck2#TEMP

INSERT INTO orderAck#TEMP (ItemSequenceNumber, AmazonProductIdentifier, VendorProductIdentifier, OrderedAmount, OrderedUnit, OrderedUnitSize, NetCostCurrencyCode, NetCostAmount, ListPriceCurrencyCode, ListPriceAmount, DiscountMultiplier, ItemAcknowledgements)
      VALUES ('seq1', 'id1', 'vendId1', 100, 'Cases', 2, 'ALL', 999, 'ALL', 999, 'discount_multiplier_123', 'itemAck1#TEMP')
      
INSERT INTO orderAck#TEMP (ItemSequenceNumber, AmazonProductIdentifier, VendorProductIdentifier, OrderedAmount, OrderedUnit, OrderedUnitSize, NetCostCurrencyCode, NetCostAmount, ListPriceCurrencyCode, ListPriceAmount, DiscountMultiplier, ItemAcknowledgements)
      VALUES ('seq2', 'id2', 'vendId2', 200, 'Cases', 4, 'ALL', 992, 'ALL', 992, 'discount_multiplier_456', 'itemAck2#TEMP')

After we have created necessary temporary tables we can execute the stored procedure, as shown in the example below:

EXECUTE SubmitVendorOrderAcknowledgement
		PurchaseOrderNumber = 'PurchaseOrderNumber1',
		SellerPartyId = '123',
		SellerTaxRegistrationType = 'VAT',
		SellerTaxRegistrationNumber = '123456',
		AcknowledgementDate = '2022-01-01T10:00:00.000',
		Items = 'orderAck#TEMP';

OrderAcknowledgement temporary table schema info:

Column NameTypeRequiredDescription
ItemSequenceNumber string false Line item sequence number for the item.
AmazonProductIdentifier string false Amazon Standard Identification Number (ASIN) of an item.
VendorProductIdentifier string false The vendor selected product identification of the item. Should be the same as was sent in the purchase order.
OrderedAmount integer true Ordered quantity. This value should not be zero.
OrderedUnit string true Unit of measure for the ordered quantity.
OrderedUnitSize integer true The case size, in the event that we ordered using cases.
NetCostCurrencyCode string false Three digit currency code in ISO 4217 format.
NetCostAmount string false A decimal number with no loss of precision.
ListPriceCurrencyCode string false Three digit currency code in ISO 4217 format.
ListPriceAmount string false A decimal number with no loss of precision.
DiscountMultiplier string false The discount multiplier that should be applied to the price if a vendor sells books with a list price.
ItemAcknowledgements string true This is used to indicate acknowledged quantity. Should be specified using a #TEMP table.

OrderItemAcknowledgement temporary table schema info:

Column NameTypeRequiredDescription
AcknowledgementCode string true This indicates the acknowledgement code.
AcknowledgedAmount integer true Ordered quantity. This value should not be zero.
AcknowledgedUnit string true Unit of measure for the ordered quantity.
AcknowledgedUnitSize integer false The case size, in the event that we ordered using cases.
ScheduledShipDate datetime false Estimated ship date per line item. Must be in ISO-8601 date/time format.
ScheduledDeliveryDate datetime false Estimated delivery date per line item. Must be in ISO-8601 date/time format.
RejectionReason string false Indicates the reason for rejection.

Input

Name Type Required Description
PurchaseOrderNumber String True The purchase order number
SellerPartyId String True Assigned identification for the party. For example, warehouse code or vendor code.
SellerTaxRegistrationNumber String False Tax registration number for the entity. For example, VAT ID.
SellerTaxRegistrationType String False Tax registration type for the entity.

The allowed values are VAT, GST.

SellerAddressAddressLine1 String False First line of the address.
SellerAddressAddressLine2 String False Additional address information, if required.
SellerAddressAddressLine3 String False Additional address information, if required.
SellerAddressCity String False The city where the person, business or institution is located.
SellerAddressCountryCode String False The two digit country code in ISO 3166-1 alpha-2 format.
SellerAddressCounty String False The county where person, business or institution is located.
SellerAddressDistrict String False The district where person, business or institution is located.
SellerAddressName String False The name of the address of the person, business or institution.
SellerAddressPhone String False The phone number of the person, business or institution located at that address.
SellerAddressPostalCode String False The postal code of that address. It contains a series of letters or digits or both.
SellerAddressStateOrRegion String False The state or region where person, business or institution is located.
Items String True An aggregate representation items. Can be in the form of #TEMP table.
AcknowledgementDate Datetime False The date and time when the purchase order is acknowledged, in ISO-8601 date/time format.

Result Set Columns

Name Type Description
Success String
TransactionId String

CData Cloud

SubmitVendorPayments

Submit new invoices to Amazon Marketplace.

Execute

This stored procedure has a few Aggregate inputs which can be specified as either JSON, XML or #TEMP tables. In the following example we are going to use temp tables as demonstration.

First, we are going to create temp tables shipAddr, tax and invoiceItems according to Address, TaxDetails and InvoiceItem table schemas respectively.

INSERT INTO shipAddr#TEMP (  Name,     AddressLine1,          City,           County, CountryCode)
                  VALUES ('Name', 'Fayettville NC', 'Fayettville', 'North Carolina',        'NC');

INSERT INTO tax#TEMP (TaxRate,   Type, TaxAmount, TaxCurrencyCode)
             VALUES ( '1.51', 'CGST',    '1.51',           'EUR');

INSERT INTO invoiceItems#TEMP (ItemSequenceNumber, ItemSequenceNumber, AmazonProductIdentifier, PurchaseOrderNumber, InvoicedQuantityAmount, InvoicedQuantityUnit, NetCostAmount, NetCostCurrencyCode)
                      VALUES (             '111',              '222',                   '333',               '444',                     10,              'Cases',          '97',               'EUR');

After the necessary temporary table have been created, execute the stored procedure by providing the temp table name for aggregate inputs, as shown in the example below:

EXECUTE SubmitVendorPayments
        Id                 = '123',
        InvoiceType        = 'Invoice',
        Date               = '2022',
        TotalAmount        = '100',
        TotalCurrencyCode  = 'EUR',
        RemitToPartyId     = '456',
        ShipToPartyId      = '789',
        ShipToPartyAddress = 'shipAddr#TEMP',
        TaxDetails         = 'tax#TEMP',
        Items              = 'invoiceItems#TEMP';

*The temporary table must be defined and used within the same connection. Closing the connection will clear out any temporary tables in memory.

InvoiceItem temporary table schema info:

Column Name Type Required Description
ItemSequenceNumber Integer True Unique number related to this line item.
AmazonProductIdentifier String False Amazon Standard Identification Number (ASIN) of an item.
VendorProductIdentifier String False The vendor selected product identifier of the item. Should be the same as was provided in the purchase order.
PurchaseOrderNumber String False The Amazon purchase order number for this invoiced line item. Formatting Notes: 8-character alpha-numeric code. This value is mandatory only when invoiceType is Invoice.
HsnCode String False HSN Tax code. The HSN number cannot contain alphabets.
InvoicedQuantityAmount Integer True Quantity of an item. This value should not be zero.
InvoicedQuantityUnit String True Unit of measure for the quantity. Allowed values are:
  • Cases: Packing of individual items into a case.
  • Eaches: Individual items.
InvoicedQuantityUnitSize Integer False The case size, if the unit of measure value is Cases.
NetCostAmount String True A decimal number with no loss of precision.
NetCostCurrencyCode String True Three-digit currency code in ISO 4217 format.
CreditNoteReferenceInvoiceNumber String False Original Invoice Number when sending a credit note relating to an existing invoice. One Invoice only to be processed per Credit Note. This is mandatory for AP Credit Notes.
CreditNoteDebitNoteNumber String False Debit Note Number as generated by Amazon. Recommended for Returns and COOP Credit Notes.
CreditNoteReturnsReferenceNumber String False Identifies the Returns Notice Number. Mandatory for all Returns Credit Notes.
CreditNoteGoodsReturnDate Datetime False Defines a date and time according to ISO8601.
CreditNoteRmaId String False Identifies the Returned Merchandise Authorization ID, if generated.
CreditNoteCoopReferenceNumber String False Identifies the COOP reference used for COOP agreement. Failure to provide the COOP reference number or the Debit Note number may lead to a rejection of the Credit Note.
CreditNoteConsignorsReferenceNumber String False Identifies the consignor reference number (VRET number), if generated by Amazon.
TaxDetails Aggregate False Individual tax details per line item.
ChargeDetails Aggregate False Individual charge details per line item.
AllowanceDetails Aggregate False Individual allowance details per line item.

TaxDetails temporary table schema info:

Column Name Type RequiredDescription
Type String True Type of the tax applied. Allowed values are:
  • CGST: Central Goods and Services Tax (CGST) is levied by the Indian government for intrastate movement of goods and services.
  • SGST: State Goods and Services Tax (SGST) is an indirect tax levied and collected by a State Government in India on the intra-state supplies.
  • CESS: A CESS is a form of tax levied by the government on tax with specific purposes till the time the government gets enough money for that purpose.
  • UTGST: Union Territory Goods and Services Tax in India.
  • IGST: Integrated Goods and Services Tax (IGST) is a tax levied on all Inter-State supplies of goods and/or services in India.
  • MwSt.: Mehrwertsteuer, MwSt, is German for value-added tax.
  • PST: A provincial sales tax (PST) is imposed on consumers of goods and particular services in many Canadian provinces.
  • TVA: Taxe sur la Valeur Ajoutee (TVA) is French for value-added tax.
  • VAT: Value-added tax.
  • GST: Tax levied on most goods and services sold for domestic consumption.
  • ST: Sales tax.
  • Consumption: Tax levied on consumption spending on goods and services.
  • MutuallyDefined: Tax component that was mutually agreed upon between Amazon and vendor.
  • DomesticVAT: Domestic value-added tax.
TaxRate String False A decimal number with no loss of precision.
TaxAmount String True A decimal number with no loss of precision.
TaxCurrencyCode String True Three-digit currency code in ISO 4217 format.
TaxableAmount String False A decimal number with no loss of precision.
TaxableCurrencyCode String False Three-digit currency code in ISO 4217 format.

TaxRegistration temporary table schema info:

Column Name Type RequiredDescription
RegistrationType String True The tax registration type for the entity. Allowed values are:
  • VAT: Value-added tax.
  • GST: Goods and services tax.
RegistrationNumber String True The tax registration number for the entity. For example, VAT ID.

ChargeDetails temporary table schema info:

Column Name Type RequiredDescription
Type String True Type of the charge applied. Allowed values are:
  • Freight: Freight charges.
  • Packing: Packing fee.
  • Duty: Duty charges.
  • Service: Service fee.
  • SmallOrder: Small order fee.
  • InsurancePlacementCost: Insurance placement cost.
  • InsuranceFee: Insurance fee.
  • SpecialHandlingService: Special handling service fee.
  • CollectionAndRecyclingService: Collection and recycling service fee.
  • EnvironmentalProtectionService: Environmental protection service fee.
  • TaxCollectedAtSource: Tax collected at source.
Description String FalseDescription of the charge.
ChargeAmount String True A decimal number with no loss of precision.
ChargeCurrencyCode String True Three-digit currency code in ISO 4217 format.
TaxDetails Aggregate FalseTax amount details applied on this charge. See: TaxDetails table schema.

AllowanceDetails temporary table schema info:

Column Name Type RequiredDescription
Type String True Type of the allowance applied. Allowed values are:
  • Discount: Discount allowance.
  • DiscountIncentive: Discount incentive allowance.
  • Defective: Allowance applied for defective item.
  • Promotional: Promotional allowance.
  • UnsaleableMerchandise: Allowance applied due to unsaleable merchandise.
  • Special: Special allowances.
Description String False Description of the allowance.
AllowanceAmount String True A decimal number with no loss of precision.
AllowanceCurrencyCode String True Three-digit currency code in ISO 4217 format.
TaxDetails Aggregate False Tax amount details applied on this allowance. See: TaxDetails table schema.

AdditionalDetails temporary table schema info:

Column NameType RequiredDescription
Type String True The type of the additional information provided by the selling party. Allowed values are:
  • SUR: An additional tax on something already taxed, such as a higher rate of tax on incomes above a certain level.
  • OCR: OCR.
  • CartonCount: The total number of cartons invoiced.
Detail String True The detail of the additional information provided by the selling party.
LanguageCode String False The language code of the additional information detail.

Address temporary table schema info:

Column NameType RequiredDescription
Name String True The name of the person, business or institution at that address.
AddressLine1 String True First line of street address.
AddressLine2 String False Additional address information, if required.
AddressLine3 String False Additional address information, if required.
City String False The city where the person, business or institution is located.
County String False The county where person, business or institution is located.
District String False The district where person, business or institution is located.
StateOrRegion String False The state or region where person, business or institution is located.
PostalOrZipCode String False The postal or zip code of that address. It contains a series of letters or digits or both, sometimes including spaces or punctuation.
CountryCode String True The two digit country code. In ISO 3166-1 alpha-2 format.
Phone String False The phone number of the person, business or institution located at that address.

Input

Name Type Required Description
InvoiceType String True Identifies the type of invoice.

The allowed values are Invoice, CreditNote.

Id String True Unique number relating to the charges defined in this document. This will be invoice number if the document type is Invoice or CreditNote number if the document type is Credit Note.
ReferenceNumber String False An additional unique reference number used for regulatory or other purposes.
Date Datetime True Defines a date and time according to ISO8601.
TotalAmount String True A decimal number with no loss of precision.
TotalCurrencyCode String True Three-digit currency code in ISO 4217 format.
PaymentType String False The payment term type for the invoice.

The allowed values are Basic, EndOfMonth, FixedDate, Proximo, PaymentDueUponReceiptOfInvoice, LetterofCredit.

PaymentDueDays Integer False The number of calendar days from the base date (invoice date) until the total amount on the invoice is due.
DiscountPercent String False A decimal number with no loss of precision.
DiscountDueDays Integer False The number of calendar days from the Base date (Invoice date) until the discount is no longer valid.
RemitToPartyId String True Assigned identification for the party.
RemitToPartyAddress String False A physical address.
RemitToPartyTaxDetails String False Tax registration details of the party.
ShipToPartyId String False Assigned identification for the party.
ShipToPartyAddress String False A physical address.
ShipToPartyTaxDetails String False Tax registration details of the party.
ShipFromPartyId String False Assigned identification for the party.
ShipFromPartyAddress String False A physical address.
ShipFromPartyTaxDetails String False Tax registration details of the party.
BillToPartyId String False Assigned identification for the party.
BillToPartyAddress String False A physical address.
BillToPartyTaxDetails String False Tax registration details of the party.
TaxDetails String False Total tax amount details for all line items.
AdditionalDetails String False Additional details provided by the selling party, for tax related or other purposes.
ChargeDetails String False Total charge amount details for all line items.
AllowanceDetails String False Total allowance amount details for all line items.
Items String False The list of invoice items.

Result Set Columns

Name Type Description
Success String
TransactionId String

CData Cloud

SubmitVendorShipmentConfirmations

Submits shipment confirmations for vendor orders.

Execute

The Driver uses #TEMP tables as fields for aggregate information entered.

Below is an example where the usage of all #TEMP tables is covered. The following stored procedure inputs take a temp table: SellingPartyAddress, ShipFromPartyAddress, ShipToPartyAddress, ShippedItems, Cartons, and Pallets. Furthermore, the Cartons and Pallets temp table schemas, have the following inputs that also take temp tables: CartonIdentifiers/PalletIdentifiers and Items.

First, create a ShipFromPartyAddress temporary table for the ShipFromPartyAddress input:

INSERT INTO ShipFromPartyAddress#TEMP (Name, AddressLine1, City, CountryCode) VALUES ('ABC electronics warehouse', 'DEF 1st street', 'Berlin', 'DE')

Then, create a ShippedItems temporary table for the ShippedItems input:

INSERT INTO ShippedItems#TEMP (ItemSequenceNumber, VendorProductIdentifier, ShippedQuantityAmount, ShippedQuantityUnit) VALUES ('001', '9782700001659', 100, 'Eaches')

The Cartons input has a more complex structure. Two of its inputs, CartonIdentifiers and Items need to be built from the CartonIdentifiers#TEMP and CartonItems#TEMP tables respectively:

INSERT INTO CartonIdentifiers#TEMP (ContainerIdentificationType, ContainerIdentificationNumber) VALUES ('SSCC', '00102234567123698888')
INSERT INTO CartonItems#TEMP (ItemReference, ShippedQuantityAmount, ShippedQuantityUnit, ShippedQuantityUnitSize) VALUES ('001', 25, 'Eaches', 1)
INSERT INTO Cartons#TEMP (CartonIdentifiers, CartonSequenceNumber, Items) VALUES ('CartonIdentifiers#TEMP', '001', 'CartonItems#TEMP')

Then, add another row to the Cartons input:

INSERT INTO CartonIdentifiers2#TEMP (ContainerIdentificationType, ContainerIdentificationNumber) VALUES ('SSCC', '00102234567123699999')
INSERT INTO CartonItems2#TEMP (ItemReference, ShippedQuantityAmount, ShippedQuantityUnit, ShippedQuantityUnitSize) VALUES ('002', 50, 'Eaches', 1)
INSERT INTO Cartons#TEMP (CartonIdentifiers, CartonSequenceNumber, Items) VALUES ('CartonIdentifiers2#TEMP', '002', 'CartonItems2#TEMP')

The Pallets input has a similar structure compared to the Cartons one:

INSERT INTO PalletIdentifiers#TEMP (ContainerIdentificationType, ContainerIdentificationNumber) VALUES ('SSCC', '00102234567898098745')
INSERT INTO Pallets#TEMP (PalletIdentifiers, Tier, Block, CartonCount, CartonReferenceNumbers) VALUES ('PalletIdentifiers#TEMP', 2, 2, 4, '001,002,003,004')

After the necessary temporary tables have been created, execute the stored procedure as shown in the example below:

EXECUTE SubmitVendorShipmentConfirmations
		ShipmentIdentifier = '00050003',
		ShipmentConfirmationType = 'Original',
		ShipmentType = 'LessThanTruckLoad',
		ShipmentConfirmationDate = '2022-08-07T19:56:45.632Z',
		SellingPartyId = 'VENDORCODE',
		ShipFromPartyId = 'VENDORWAREHOUSECODE',
		ShipFromPartyAddress = 'ShipFromPartyAddress#TEMP',
		ShipToPartyId = 'AMZWAREHOUSECODE',
		ShippedItems = 'ShippedItems#TEMP',
		Cartons = 'Cartons#TEMP',
		Pallets = 'Pallets#TEMP';

SellingPartyAddress temporary table schema info:

Column NameTypeRequiredDescription
Name String TrueThe seller's name.
AddressLine1 String TrueThe first line of the selling party's address.
AddressLine2 String FalseAdditional address information (if it is required).
AddressLine3 String FalseAdditional address information (if it is required).
City String FalseThe city where the selling party is located.
County String FalseThe county where the selling party is located.
District String FalseThe district where the selling party is located.
StateOrRegion String FalseThe state or region where the selling party is located.
PostalCode String FalseThe postal code for the address. This code consists of a series of letters, digits, or both.
PostalOrZipCode String FalseThe postal or zip code of that address. It contains a series of letters or digits or both, sometimes including spaces or punctuation.
CountryCode String FalseThe two-digit country code in ISO 3166-1 alpha-2 format.
Phone String FalseThe phone number for the selling party that is located at that address.

ShipFromPartyAddress temporary table schema info:

Column NameTypeRequiredDescription
Name String TrueThe shipper's name.
AddressLine1 String TrueThe first line of the shipper's address.
AddressLine2 String FalseAdditional address information (if it is required).
AddressLine3 String FalseAdditional address information (if it is required).
City String FalseThe city where the shipper is located.
County String FalseThe county where the shipper is located.
District String FalseThe district where the shipper is located.
StateOrRegion String FalseThe state or region where the shipper party is located.
PostalCode String FalseThe postal code for the shipper's address. This code consists of a series of letters, digits, or both.
PostalOrZipCode String FalseThe postal or zip code of that address. It contains a series of letters or digits or both, sometimes including spaces or punctuation.
CountryCode String FalseThe two-digit country code in ISO 3166-1 alpha-2 format.
Phone String FalseThe shipper's phone number.

ShipToPartyAddress temporary table schema info:

Column NameTypeRequiredDescription
Name String TrueThe ship-to party's name.
AddressLine1 String TrueThe first line of the ship-to party's address.
AddressLine2 String FalseAdditional address information (if it is required).
AddressLine3 String FalseAdditional address information (if it is required).
City String FalseThe city where the ship-to party is located.
County String FalseThe county where the ship-to party is located.
District String FalseThe district where the ship-to party is located.
StateOrRegion String FalseThe state or region where the ship-to party is located.
PostalCode String FalseThe postal code for the ship-to address. This code consists of a series of letters, digits, or both.
PostalOrZipCode String FalseThe postal or zip code of that address. It contains a series of letters or digits or both, sometimes including spaces or punctuation.
CountryCode String FalseThe two-digit country code in ISO 3166-1 alpha-2 format.
Phone String FalseThe phone number for the ship-to party that is located at that address.

ShippedItems temporary table schema info:

Column NameTypeRequiredDescription
ItemSequenceNumber String TrueThe line-item sequence number for the item.
AmazonProductIdentifier String FalseThe Amazon Standard Identification Number (ASIN) of an item.
VendorProductIdentifier String FalseThe vendor-selected product identification of the item.
ShippedQuantityAmount Integer TrueThe shipped quantity. This value should not be zero.
ShippedQuantityUnit String TrueThe unit of measure for the shipped quantity.
ShippedQuantityUnitSize Integer FalseThe unit size for the shipped quantity.
PurchaseOrderNumber String FalseThe Amazon purchase order (PO) number for the shipped item that is being confirmed. The PO number should be formatted as an eight-character, alphanumeric code.
LotNumber String FalseThe lot number of the shipped quantity.
ExpiryManufacturerDate Datetime FalseThe production, packaging, or assembly date that is determined by the manufacturer. This date's meaning is determined based on the trade-item context.
ExpiryDate Datetime FalseThe date that determines the limit of consumption or use of a product. This date's meaning is determined based on the trade item context.
ExpiryAfterDurationUnit Datetime FalseThe unit for the duration after the manufacturing date during which the product is valid for consumption.
ExpiryAfterDurationValue Integer FalseThe value for the duration in terms of the duration unit.
MaximumRetailPriceCurrencyCode String FalseThe three-digit currency code, in ISO 4217 format, for the maximum retail prices.
MaximumRetailPriceAmount String FalseThe maximum retail price for the shipped items as a decimal number with no loss of precision.
HandlingCode String FalseThe code that identifies the instructions about how the specified item, carton, or pallet should be handled.

Cartons temporary table schema info:

Column NameTypeRequiredDescription
CartonIdentifiers String FalseA list of carton identifiers.
CartonSequenceNumber String TrueThe sequence number for the carton. The first carton is numbered 001, the second 002, and so on. This number is used as a reference to refer to the carton from the pallet level.
DimensionsLength String FalseThe length of the container.
DimensionsWidth String FalseThe width of the container.
DimensionsHeight String FalseThe height of the container.
DimensionsUnit String FalseThe unit of measure for dimensions (In, Ft, Meter, Yard).
WeightValue String FalseThe weight measurement value for the container as a decimal number with no loss of precision.
WeightUnit String FalseThe unit of measure for the weight of the container.
TrackingNumber String FalseThe tracking number for the container. This number is required for every carton in the small-parcel shipments.
Items String TrueA list of container item details.

Cartons/CartonIdentifiers temporary table schema info:

Column NameTypeRequiredDescription
ContainerIdentificationType String TrueThe container identification type.
ContainerIdentificationNumber String TrueThe container identification number that adheres to the definition of the container identification type.

Cartons/CartonsItems temporary table schema info:

Column NameTypeRequiredDescription
ItemReference String TrueThe reference number for the item. Be sure to provide the item sequence number from the items segment to refer to that item's details here.
ShippedQuantityAmount Integer TrueThe number of units that are shipped for a specific item at a shipment level. If the item is present only in certain cartons within the shipment, provide this at the appropriate carton level.
ShippedQuantityUnit String TrueThe unit of measure for the shipped quantity.
ShippedQuantityUnitSize Integer FalseThe case size (if product is ordered by the case). Otherwise, the value is 1.
PurchaseOrderNumber String FalseThe Amazon purchase order (PO) number for the shipment that is being confirmed. If the items in this shipment belong to multiple PO numbers that are in particular carton within the shipment, then provide the PO number at the carton level. The PO numbers should be formatted as an eight-character, alphanumeric code.
LotNumber String FalseThe batch or lot number for the cartons. This number associates cartons with information that the manufacturer considers relevant for traceability of the cartons to which the element string is applied. The data might refer to the itself or to items within the carton. This field is mandatory for all perishable items.
ExpiryManufacturerDate Datetime FalseThe production, packaging, or assembly date that is determined by the manufacturer. This date's meaning is determined based on the trade-item context.
ExpiryDate Datetime FalseThe date that determines the limit of consumption or use of a product. This date's meaning is determined based on the trade item context.
ExpiryAfterDurationUnit String FalseThe unit for the duration after the manufacturing date during which the product is valid for consumption.
ExpiryAfterDurationValue Integer FalseThe value for the duration in terms of the duration unit.
MaximumRetailPriceCurrencyCode String FalseThe three-digit currency code, in ISO 4217 format, for the maximum retail prices.
MaximumRetailPriceAmount String FalseThe maximum retail price for the shipped items as a decimal number with no loss of precision.
HandlingCode String FalseA code that identifies the instructions about how the specified carton should be handled.

Pallets temporary table schema info:

Column NameTypeRequiredDescription
PalletIdentifiers String TrueA list of pallet identifiers.
Tier Integer FalseThe number of layers per pallet.
Block Integer FalseThe number of cartons per layer on the pallet.
DimensionsLength String FalseThe length of the pallet.
DimensionsWidth String FalseThe width of the pallet.
DimensionsHeight String FalseThe height of the pallet.
DimensionsUnit String FalseThe unit of measure for the dimensions of the pallet.
WeightValue String FalseThe weight measurement value for pallet as a decimal number with no loss of precision.
WeightUnit String FalseThe unit of measure for the weight of the pallet.
CartonCount Integer FalseThe number of cartons that are present in the shipment. Provide the carton count only for unpalletized shipments.
CartonReferenceNumbers String FalseAn array of reference numbers for the cartons that are part of this pallet and shipment. Provide the carton sequence number from the cartons segment to refer to that carton's details here.
Items String FalseA list of pallet item details.

Pallets/PalletIdentifiers temporary table schema info:

Column NameTypeRequiredDescription
ContainerIdenticationType String TrueThe container identification type. Allowed values are SSCC, AMZNCC, GTIN, BPS, and CID.
ContainerIdentificationNumber String TrueContainer identification number that adheres to the definition of the container identification type.

Pallets/PalletsItems temporary table schema info:

Column NameTypeRequiredDescription
ItemReference String TrueThe reference number for the item. Provide the item sequence number from the items segment to refer to that item's details here.
ShippedQuantityAmount Integer TrueThe number of units that are shipped for a specific item at a shipment level. If the item is present only in certain cartons or pallets within the shipment, provide this at the appropriate carton or pallet level.
ShippedQuantityUnit String TrueThe unit of measure for the shipped quantity.
ShippedQuantityUnitSize Integer FalseThe case size (if product is ordered by the case). Otherwise, the value is 1.
PurchaseOrderNumber String FalseThe Amazon purchase order (PO) number for the shipment that is being confirmed. If the items in this shipment belong to multiple PO numbers that are in particular pallet within the shipment, then provide the PO number at the pallet level. The PO numbers should be formatted as an eight-character, alphanumeric code.
LotNumber String FalseThe batch or lot number for the pallet. This number associates a pallet with information that the manufacturer considers relevant for traceability of the pallet to which the element string is applied. The data might refer to the pallet itself or to items within the pallet. This field is mandatory for all perishable items.
ExpiryManufacturerDate Datetime FalseThe production, packaging, or assembly date that is determined by the manufacturer. This date's meaning is determined based on the trade-item context.
ExpiryDate Datetime FalseThe date that determines the limit of consumption or use of a product. This date's meaning is determined based on the trade item context.
ExpiryAfterDurationUnit String FalseThe unit for the duration after the manufacturing date during which the product is valid for consumption.
ExpiryAfterDurationValue Integer FalseThe value for the duration in terms of the duration unit.
MaximumRetailPriceCurrencyCode String FalseThe three-digit currency code, in ISO 4217 format, for the maximum retail prices.
MaximumRetailPriceAmount String FalseThe maximum retail price for the shipped items as a decimal number with no loss of precision.
HandlingCode String FalseA code that identifies the instructions about how the specified pallet should be handled.

Input

Name Type Required Description
ShipmentIdentifier String True The unique shipment ID.
ShipmentConfirmationType String True The shipment confirmation type. This parameter indicates whether this shipment confirmation is the initial confirmation or whether it is intended to replace a shipment confirmation that is already posted.

The allowed values are Original, Replace.

ShipmentType String False The type of shipment.

The allowed values are TruckLoad, LessThanTruckLoad, SmallParcel.

ShipmentStructure String False The shipment hierarchical structure.

The allowed values are PalletizedAssortmentCase, LooseAssortmentCase, PalletOfItems, PalletizedStandardCase, LooseStandardCase, MasterPallet, MasterCase.

TransportationDetailsCarrierScac String False The code that identifies the carrier for the shipment.
TransportationDetailsCarrierShipmentReferenceNumber String False A unique number that is assigned by the carrier. This field is also known as PRO number.
TransportationDetailsTransportationMode String False The mode of transportation for this shipment.

The allowed values are Road, Air, Ocean.

TransportationDetailsBillOfLadingNumber String False The Bill Of Lading (BOL) number. This number is the unique number that is assigned by the vendor.
AmazonReferenceNumber String False The Amazon Reference Number. This number is a unique identifier that is generated by Amazon for all Collect/WePay shipments.
ShipmentConfirmationDate Datetime True The date on which the shipment confirmation is submitted.
ShippedDate Datetime False The date and time of the departure of the shipment from the vendor’s location.
EstimatedDeliveryDate Datetime False The date and time by which the shipment is expected to reach the buyer’s warehouse.
SellingPartyId String True The assigned identification for the selling party.
SellingPartyAddress String False An aggregate representation of the address, which can be in the form of a #TEMP table.
SellingPartyTaxRegistrationType String False The tax registration type for the entity.

The allowed values are VAT, GST.

SellingPartyTaxRegistrationNumber String False The tax registration number for the entity (for example, the VAT Id).
ShipFromPartyId String True The assigned identification for the ship-from party.
ShipFromPartyAddress String False The identification of the shipper, by address. This is an aggregate representation of the address, which can be in the form of a #TEMP table.
ShipFromPartyTaxRegistrationType String False The tax registration type for the entity.

The allowed values are VAT, GST.

ShipFromPartyTaxRegistrationNumber String False The tax registration number for the entity (for example, the VAT Id).
ShipToPartyId String True The assigned identification for the ship-to party.
ShipToPartyAddress String False The identification of the ship-to party, by address. This is an aggregate representation of the address, which can be in the form of a #TEMP table.
ShipToPartyTaxRegistrationType String False The tax registration type for the ship-to party.

The allowed values are VAT, GST.

ShipToPartyTaxRegistrationNumber String False The tax registration number for the ship-to party (for example, the VAT Id).
ShipmentMeasurements String False The JSON aggregate representation of the shipment measurement details.
ImportDetails String False The JSON aggregate representation of the import details.
ShippedItems String True An aggregate representation of the items in this shipment, which can be in the form of a #TEMP table.
Cartons String False An aggregate representation of the cartons in this shipment, which can be in the form of a #TEMP table.
Pallets String False An aggregate representation of the pallets in this shipment, which can be in the form of a #TEMP table.

Result Set Columns

Name Type Description
Success String Boolean indicating whether the stored procedure was successfully executed.
TransactionId String GUID to identify this transaction. This value can be used with the CheckVendorTransactionStatus stored procedure to return the status of this transaction.

CData Cloud

System Tables

You can query the system tables described in this section to access schema information, information on data source functionality, and batch operation statistics.

Schema Tables

The following tables return database metadata for Amazon Marketplace:

  • sys_catalogs: Lists the available databases.
  • sys_schemas: Lists the available schemas.
  • sys_tables: Lists the available tables and views.
  • sys_tablecolumns: Describes the columns of the available tables and views.
  • sys_procedures: Describes the available stored procedures.
  • sys_procedureparameters: Describes stored procedure parameters.
  • sys_keycolumns: Describes the primary and foreign keys.
  • sys_indexes: Describes the available indexes.

Data Source Tables

The following tables return information about how to connect to and query the data source:

  • sys_connection_props: Returns information on the available connection properties.
  • sys_sqlinfo: Describes the SELECT queries that the Cloud can offload to the data source.

Query Information Tables

The following table returns query statistics for data modification queries:

  • sys_identity: Returns information about batch operations or single updates.

CData Cloud

sys_catalogs

Lists the available databases.

The following query retrieves all databases determined by the connection string:

SELECT * FROM sys_catalogs

Columns

Name Type Description
CatalogName String The database name.

CData Cloud

sys_schemas

Lists the available schemas.

The following query retrieves all available schemas:

          SELECT * FROM sys_schemas
          

Columns

Name Type Description
CatalogName String The database name.
SchemaName String The schema name.

CData Cloud

sys_tables

Lists the available tables.

The following query retrieves the available tables and views:

          SELECT * FROM sys_tables
          

Columns

Name Type Description
CatalogName String The database containing the table or view.
SchemaName String The schema containing the table or view.
TableName String The name of the table or view.
TableType String The table type (table or view).
Description String A description of the table or view.
IsUpdateable Boolean Whether the table can be updated.

CData Cloud

sys_tablecolumns

Describes the columns of the available tables and views.

The following query returns the columns and data types for the Orders table:

SELECT ColumnName, DataTypeName FROM sys_tablecolumns WHERE TableName='Orders' 

Columns

Name Type Description
CatalogName String The name of the database containing the table or view.
SchemaName String The schema containing the table or view.
TableName String The name of the table or view containing the column.
ColumnName String The column name.
DataTypeName String The data type name.
DataType Int32 An integer indicating the data type. This value is determined at run time based on the environment.
Length Int32 The storage size of the column.
DisplaySize Int32 The designated column's normal maximum width in characters.
NumericPrecision Int32 The maximum number of digits in numeric data. The column length in characters for character and date-time data.
NumericScale Int32 The column scale or number of digits to the right of the decimal point.
IsNullable Boolean Whether the column can contain null.
Description String A brief description of the column.
Ordinal Int32 The sequence number of the column.
IsAutoIncrement String Whether the column value is assigned in fixed increments.
IsGeneratedColumn String Whether the column is generated.
IsHidden Boolean Whether the column is hidden.
IsArray Boolean Whether the column is an array.
IsReadOnly Boolean Whether the column is read-only.
IsKey Boolean Indicates whether a field returned from sys_tablecolumns is the primary key of the table.

CData Cloud

sys_procedures

Lists the available stored procedures.

The following query retrieves the available stored procedures:

          SELECT * FROM sys_procedures
          

Columns

Name Type Description
CatalogName String The database containing the stored procedure.
SchemaName String The schema containing the stored procedure.
ProcedureName String The name of the stored procedure.
Description String A description of the stored procedure.
ProcedureType String The type of the procedure, such as PROCEDURE or FUNCTION.

CData Cloud

sys_procedureparameters

Describes stored procedure parameters.

The following query returns information about all of the input parameters for the SampleProcedure stored procedure:

SELECT * FROM sys_procedureparameters WHERE ProcedureName='SampleProcedure' AND Direction=1 OR Direction=2

Columns

Name Type Description
CatalogName String The name of the database containing the stored procedure.
SchemaName String The name of the schema containing the stored procedure.
ProcedureName String The name of the stored procedure containing the parameter.
ColumnName String The name of the stored procedure parameter.
Direction Int32 An integer corresponding to the type of the parameter: input (1), input/output (2), or output(4). input/output type parameters can be both input and output parameters.
DataTypeName String The name of the data type.
DataType Int32 An integer indicating the data type. This value is determined at run time based on the environment.
Length Int32 The number of characters allowed for character data. The number of digits allowed for numeric data.
NumericPrecision Int32 The maximum precision for numeric data. The column length in characters for character and date-time data.
NumericScale Int32 The number of digits to the right of the decimal point in numeric data.
IsNullable Boolean Whether the parameter can contain null.
IsRequired Boolean Whether the parameter is required for execution of the procedure.
IsArray Boolean Whether the parameter is an array.
Description String The description of the parameter.
Ordinal Int32 The index of the parameter.

CData Cloud

sys_keycolumns

Describes the primary and foreign keys.

The following query retrieves the primary key for the Orders table:

         SELECT * FROM sys_keycolumns WHERE IsKey='True' AND TableName='Orders' 
          

Columns

Name Type Description
CatalogName String The name of the database containing the key.
SchemaName String The name of the schema containing the key.
TableName String The name of the table containing the key.
ColumnName String The name of the key column.
IsKey Boolean Whether the column is a primary key in the table referenced in the TableName field.
IsForeignKey Boolean Whether the column is a foreign key referenced in the TableName field.
PrimaryKeyName String The name of the primary key.
ForeignKeyName String The name of the foreign key.
ReferencedCatalogName String The database containing the primary key.
ReferencedSchemaName String The schema containing the primary key.
ReferencedTableName String The table containing the primary key.
ReferencedColumnName String The column name of the primary key.

CData Cloud

sys_foreignkeys

Describes the foreign keys.

The following query retrieves all foreign keys which refer to other tables:

         SELECT * FROM sys_foreignkeys WHERE ForeignKeyType = 'FOREIGNKEY_TYPE_IMPORT'
          

Columns

Name Type Description
CatalogName String The name of the database containing the key.
SchemaName String The name of the schema containing the key.
TableName String The name of the table containing the key.
ColumnName String The name of the key column.
PrimaryKeyName String The name of the primary key.
ForeignKeyName String The name of the foreign key.
ReferencedCatalogName String The database containing the primary key.
ReferencedSchemaName String The schema containing the primary key.
ReferencedTableName String The table containing the primary key.
ReferencedColumnName String The column name of the primary key.
ForeignKeyType String Designates whether the foreign key is an import (points to other tables) or export (referenced from other tables) key.

CData Cloud

sys_primarykeys

Describes the primary keys.

The following query retrieves the primary keys from all tables and views:

         SELECT * FROM sys_primarykeys
          

Columns

Name Type Description
CatalogName String The name of the database containing the key.
SchemaName String The name of the schema containing the key.
TableName String The name of the table containing the key.
ColumnName String The name of the key column.
KeySeq String The sequence number of the primary key.
KeyName String The name of the primary key.

CData Cloud

sys_indexes

Describes the available indexes. By filtering on indexes, you can write more selective queries with faster query response times.

The following query retrieves all indexes that are not primary keys:

          SELECT * FROM sys_indexes WHERE IsPrimary='false'
          

Columns

Name Type Description
CatalogName String The name of the database containing the index.
SchemaName String The name of the schema containing the index.
TableName String The name of the table containing the index.
IndexName String The index name.
ColumnName String The name of the column associated with the index.
IsUnique Boolean True if the index is unique. False otherwise.
IsPrimary Boolean True if the index is a primary key. False otherwise.
Type Int16 An integer value corresponding to the index type: statistic (0), clustered (1), hashed (2), or other (3).
SortOrder String The sort order: A for ascending or D for descending.
OrdinalPosition Int16 The sequence number of the column in the index.

CData Cloud

sys_connection_props

Returns information on the available connection properties and those set in the connection string.

The following query retrieves all connection properties that have been set in the connection string or set through a default value:

SELECT * FROM sys_connection_props WHERE Value <> ''

Columns

Name Type Description
Name String The name of the connection property.
ShortDescription String A brief description.
Type String The data type of the connection property.
Default String The default value if one is not explicitly set.
Values String A comma-separated list of possible values. A validation error is thrown if another value is specified.
Value String The value you set or a preconfigured default.
Required Boolean Whether the property is required to connect.
Category String The category of the connection property.
IsSessionProperty String Whether the property is a session property, used to save information about the current connection.
Sensitivity String The sensitivity level of the property. This informs whether the property is obfuscated in logging and authentication forms.
PropertyName String A camel-cased truncated form of the connection property name.
Ordinal Int32 The index of the parameter.
CatOrdinal Int32 The index of the parameter category.
Hierarchy String Shows dependent properties associated that need to be set alongside this one.
Visible Boolean Informs whether the property is visible in the connection UI.
ETC String Various miscellaneous information about the property.

CData Cloud

sys_sqlinfo

Describes the SELECT query processing that the Cloud can offload to the data source.

See SQL Compliance for SQL syntax details.

Discovering the Data Source's SELECT Capabilities

Below is an example data set of SQL capabilities. Some aspects of SELECT functionality are returned in a comma-separated list if supported; otherwise, the column contains NO.

NameDescriptionPossible Values
AGGREGATE_FUNCTIONSSupported aggregation functions.AVG, COUNT, MAX, MIN, SUM, DISTINCT
COUNTWhether COUNT function is supported.YES, NO
IDENTIFIER_QUOTE_OPEN_CHARThe opening character used to escape an identifier.[
IDENTIFIER_QUOTE_CLOSE_CHARThe closing character used to escape an identifier.]
SUPPORTED_OPERATORSA list of supported SQL operators.=, >, <, >=, <=, <>, !=, LIKE, NOT LIKE, IN, NOT IN, IS NULL, IS NOT NULL, AND, OR
GROUP_BYWhether GROUP BY is supported, and, if so, the degree of support.NO, NO_RELATION, EQUALS_SELECT, SQL_GB_COLLATE
OJ_CAPABILITIESThe supported varieties of outer joins supported.NO, LEFT, RIGHT, FULL, INNER, NOT_ORDERED, ALL_COMPARISON_OPS
OUTER_JOINSWhether outer joins are supported.YES, NO
SUBQUERIESWhether subqueries are supported, and, if so, the degree of support.NO, COMPARISON, EXISTS, IN, CORRELATED_SUBQUERIES, QUANTIFIED
STRING_FUNCTIONSSupported string functions.LENGTH, CHAR, LOCATE, REPLACE, SUBSTRING, RTRIM, LTRIM, RIGHT, LEFT, UCASE, SPACE, SOUNDEX, LCASE, CONCAT, ASCII, REPEAT, OCTET, BIT, POSITION, INSERT, TRIM, UPPER, REGEXP, LOWER, DIFFERENCE, CHARACTER, SUBSTR, STR, REVERSE, PLAN, UUIDTOSTR, TRANSLATE, TRAILING, TO, STUFF, STRTOUUID, STRING, SPLIT, SORTKEY, SIMILAR, REPLICATE, PATINDEX, LPAD, LEN, LEADING, KEY, INSTR, INSERTSTR, HTML, GRAPHICAL, CONVERT, COLLATION, CHARINDEX, BYTE
NUMERIC_FUNCTIONSSupported numeric functions.ABS, ACOS, ASIN, ATAN, ATAN2, CEILING, COS, COT, EXP, FLOOR, LOG, MOD, SIGN, SIN, SQRT, TAN, PI, RAND, DEGREES, LOG10, POWER, RADIANS, ROUND, TRUNCATE
TIMEDATE_FUNCTIONSSupported date/time functions.NOW, CURDATE, DAYOFMONTH, DAYOFWEEK, DAYOFYEAR, MONTH, QUARTER, WEEK, YEAR, CURTIME, HOUR, MINUTE, SECOND, TIMESTAMPADD, TIMESTAMPDIFF, DAYNAME, MONTHNAME, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, EXTRACT
REPLICATION_SKIP_TABLESIndicates tables skipped during replication.
REPLICATION_TIMECHECK_COLUMNSA string array containing a list of columns which will be used to check for (in the given order) to use as a modified column during replication.
IDENTIFIER_PATTERNString value indicating what string is valid for an identifier.
SUPPORT_TRANSACTIONIndicates if the provider supports transactions such as commit and rollback.YES, NO
DIALECTIndicates the SQL dialect to use.
KEY_PROPERTIESIndicates the properties which identify the uniform database.
SUPPORTS_MULTIPLE_SCHEMASIndicates if multiple schemas may exist for the provider.YES, NO
SUPPORTS_MULTIPLE_CATALOGSIndicates if multiple catalogs may exist for the provider.YES, NO
DATASYNCVERSIONThe CData Data Sync version needed to access this driver.Standard, Starter, Professional, Enterprise
DATASYNCCATEGORYThe CData Data Sync category of this driver.Source, Destination, Cloud Destination
SUPPORTSENHANCEDSQLWhether enhanced SQL functionality beyond what is offered by the API is supported.TRUE, FALSE
SUPPORTS_BATCH_OPERATIONSWhether batch operations are supported.YES, NO
SQL_CAPAll supported SQL capabilities for this driver.SELECT, INSERT, DELETE, UPDATE, TRANSACTIONS, ORDERBY, OAUTH, ASSIGNEDID, LIMIT, LIKE, BULKINSERT, COUNT, BULKDELETE, BULKUPDATE, GROUPBY, HAVING, AGGS, OFFSET, REPLICATE, COUNTDISTINCT, JOINS, DROP, CREATE, DISTINCT, INNERJOINS, SUBQUERIES, ALTER, MULTIPLESCHEMAS, GROUPBYNORELATION, OUTERJOINS, UNIONALL, UNION, UPSERT, GETDELETED, CROSSJOINS, GROUPBYCOLLATE, MULTIPLECATS, FULLOUTERJOIN, MERGE, JSONEXTRACT, BULKUPSERT, SUM, SUBQUERIESFULL, MIN, MAX, JOINSFULL, XMLEXTRACT, AVG, MULTISTATEMENTS, FOREIGNKEYS, CASE, LEFTJOINS, COMMAJOINS, WITH, LITERALS, RENAME, NESTEDTABLES, EXECUTE, BATCH, BASIC, INDEX
PREFERRED_CACHE_OPTIONSA string value specifies the preferred cacheOptions.
ENABLE_EF_ADVANCED_QUERYIndicates if the driver directly supports advanced queries coming from Entity Framework. If not, queries will be handled client side.YES, NO
PSEUDO_COLUMNSA string array indicating the available pseudo columns.
MERGE_ALWAYSIf the value is true, The Merge Mode is forcibly executed in Data Sync.TRUE, FALSE
REPLICATION_MIN_DATE_QUERYA select query to return the replicate start datetime.
REPLICATION_MIN_FUNCTIONAllows a provider to specify the formula name to use for executing a server side min.
REPLICATION_START_DATEAllows a provider to specify a replicate startdate.
REPLICATION_MAX_DATE_QUERYA select query to return the replicate end datetime.
REPLICATION_MAX_FUNCTIONAllows a provider to specify the formula name to use for executing a server side max.
IGNORE_INTERVALS_ON_INITIAL_REPLICATEA list of tables which will skip dividing the replicate into chunks on the initial replicate.
CHECKCACHE_USE_PARENTIDIndicates whether the CheckCache statement should be done against the parent key column.TRUE, FALSE
CREATE_SCHEMA_PROCEDURESIndicates stored procedures that can be used for generating schema files.

The following query retrieves the operators that can be used in the WHERE clause:

SELECT * FROM sys_sqlinfo WHERE Name = 'SUPPORTED_OPERATORS'
Note that individual tables may have different limitations or requirements on the WHERE clause; refer to the Data Model section for more information.

Columns

Name Type Description
NAME String A component of SQL syntax, or a capability that can be processed on the server.
VALUE String Detail on the supported SQL or SQL syntax.

CData Cloud

sys_identity

Returns information about attempted modifications.

The following query retrieves the Ids of the modified rows in a batch operation:

         SELECT * FROM sys_identity
          

Columns

Name Type Description
Id String The database-generated Id returned from a data modification operation.
Batch String An identifier for the batch. 1 for a single operation.
Operation String The result of the operation in the batch: INSERTED, UPDATED, or DELETED.
Message String SUCCESS or an error message if the update in the batch failed.

CData Cloud

sys_information

Describes the available system information.

The following query retrieves all columns:

SELECT * FROM sys_information

Columns

NameTypeDescription
ProductStringThe name of the product.
VersionStringThe version number of the product.
DatasourceStringThe name of the datasource the product connects to.
NodeIdStringThe unique identifier of the machine where the product is installed.
HelpURLStringThe URL to the product's help documentation.
LicenseStringThe license information for the product. (If this information is not available, the field may be left blank or marked as 'N/A'.)
LocationStringThe file path location where the product's library is stored.
EnvironmentStringThe version of the environment or rumtine the product is currently running under.
DataSyncVersionStringThe tier of CData Sync required to use this connector.
DataSyncCategoryStringThe category of CData Sync functionality (e.g., Source, Destination).

CData Cloud

Connection String Options

The connection string properties are the various options that can be used to establish a connection. This section provides a complete list of the options you can configure in the connection string for this provider. Click the links for further details.

For more information on establishing a connection, see Establishing a Connection.

Authentication


PropertyDescription
SchemaThe type of schema to use.
MarketplaceThe Marketplace region that you are registered to sell in.
AWSRoleARNThe Amazon Resource Name of the role to use when authenticating.
AppIdApplication Id for Selling Partner app you created.
AWSSessionTokenAWS Session Token for Selling Partner app you created.
AWSAccessKeyYour AWS access key.
AWSSecretKeyYour AWS secret key.
IncludeRestrictedDataDetermines if Restricted Data Tokens (RDT) should be used to retrieve Personally Identifiable Information (PII).
UseSandboxA boolean determining if the connection should be made to the Selling Partner sandbox account.
AWSRegionThe hosting region for your Amazon Web Services.

OAuth


PropertyDescription
OAuthClientIdSpecifies the client Id that was assigned the custom OAuth application was created. (Also known as the consumer key.) This ID registers the custom application with the OAuth authorization server.
OAuthClientSecretSpecifies the client secret that was assigned when the custom OAuth application was created. (Also known as the consumer secret ). This secret registers the custom application with the OAuth authorization server.
OAuthAppStatusSpecifies whether the specified SellingPartner OAuth App is in Draft status or Published Status.

SSL


PropertyDescription
SSLServerCertSpecifies the certificate to be accepted from the server when connecting using TLS/SSL.

Logging


PropertyDescription
VerbositySpecifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5.

Schema


PropertyDescription
BrowsableSchemasOptional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC .

Miscellaneous


PropertyDescription
IncludeReportsSet this connection property to true to expose already created reports as views, this property is avaible for both schemas (SellerCentral and VendorCentral).
MaxRowsSpecifies the maximum rows returned for queries without aggregation or GROUP BY.
ProcedurePoolingWhether or not to get feed results after an execution of a stored procedure.
PseudoColumnsSpecifies the pseudocolumns to expose as table columns. Use the format 'TableName=ColumnName;TableName=ColumnName'. The default is an empty string, which disables this property.
ReportTypesSet this connection property to one or more report types to filter reports.
RowScanDepthThe maximum number of rows to scan to look for the columns datatype in a report.
SellerIdThe Seller ID or merchant identifier you received when creating the account.
TimeoutSpecifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error. The default is 60 seconds. Set to 0 to disable the timeout.
TypeDetectionSchemeSpecifies how to determine the data types of columns when selecting from Reports.
UseSimpleNamesBoolean determining if simple names should be used for tables and columns.
CData Cloud

Authentication

This section provides a complete list of the Authentication properties you can configure in the connection string for this provider.


PropertyDescription
SchemaThe type of schema to use.
MarketplaceThe Marketplace region that you are registered to sell in.
AWSRoleARNThe Amazon Resource Name of the role to use when authenticating.
AppIdApplication Id for Selling Partner app you created.
AWSSessionTokenAWS Session Token for Selling Partner app you created.
AWSAccessKeyYour AWS access key.
AWSSecretKeyYour AWS secret key.
IncludeRestrictedDataDetermines if Restricted Data Tokens (RDT) should be used to retrieve Personally Identifiable Information (PII).
UseSandboxA boolean determining if the connection should be made to the Selling Partner sandbox account.
AWSRegionThe hosting region for your Amazon Web Services.
CData Cloud

Schema

The type of schema to use.

Possible Values

SellerCentral, VendorCentral

Data Type

string

Default Value

"SellerCentral"

Remarks

The available schemas are SellerCentral and VendorCentral.

CData Cloud

Marketplace

The Marketplace region that you are registered to sell in.

Possible Values

Australia, Belgium, Brazil, Canada, Egypt, France, Germany, India, Ireland, Italy, Japan, Mexico, Netherlands, Poland, Saudi Arabia, Singapore, Spain, Sweden, Turkey, United Arab Emirates, United Kingdom, United States

Data Type

string

Default Value

"United States"

Remarks

Available regions for are Australia, Belgium, Brazil, Canada, Egypt, France, Germany, India, Ireland, Italy, Japan, Mexico, Netherlands, Poland, Saudi Arabia, Singapore, Spain, Sweden, Turkey, United Arab Emirates, United Kingdom, United States.

CData Cloud

AWSRoleARN

The Amazon Resource Name of the role to use when authenticating.

Data Type

string

Default Value

""

Remarks

When authenticating outside of AWS, it is common to use a Role for authentication instead of your direct AWS account credentials. Entering the AWSRoleARN will cause the CData Cloud to perform a role based authentication instead of using the AWSAccessKey and AWSSecretKey directly. The AWSAccessKey and AWSSecretKey must still be specified to perform this authentication. You cannot use the credentials of an AWS root user when setting RoleARN. The AWSAccessKey and AWSSecretKey must be those of an IAM user.

CData Cloud

AppId

Application Id for Selling Partner app you created.

Data Type

string

Default Value

""

Remarks

Application Id for Selling Partner app you created.

CData Cloud

AWSSessionToken

AWS Session Token for Selling Partner app you created.

Data Type

string

Default Value

""

Remarks

AWS Session Token can be obtained from AssumeRole request to AWS. AWSAccessKey and AWSSecretKey should also be provided when setting AWSSessionToken.

CData Cloud

AWSAccessKey

Your AWS access key.

Data Type

string

Default Value

""

Remarks

This is the Access Key tied to the AWS user that is associated with the the OAuthClientId.

CData Cloud

AWSSecretKey

Your AWS secret key.

Data Type

string

Default Value

""

Remarks

This is the Secret Key tied to the AWS user that is associated with the the OAuthClientId.

CData Cloud

IncludeRestrictedData

Determines if Restricted Data Tokens (RDT) should be used to retrieve Personally Identifiable Information (PII).

Data Type

bool

Default Value

false

Remarks

Determines if Restricted Data Tokens (RDT) should be used to retrieve Personally Identifiable Information (PII).

CData Cloud

UseSandbox

A boolean determining if the connection should be made to the Selling Partner sandbox account.

Data Type

bool

Default Value

false

Remarks

A boolean determining if the connection should be made to the Selling Partner sandbox account.

CData Cloud

AWSRegion

The hosting region for your Amazon Web Services.

Possible Values

OHIO, NORTHERNVIRGINIA, NORTHERNCALIFORNIA, OREGON, CAPETOWN, HONGKONG, HYDERABAD, JAKARTA, MALAYSIA, MELBOURNE, MUMBAI, OSAKA, SEOUL, SINGAPORE, SYDNEY, TOKYO, CENTRAL, CALGARY, BEIJING, NINGXIA, FRANKFURT, IRELAND, LONDON, MILAN, PARIS, SPAIN, STOCKHOLM, ZURICH, TELAVIV, BAHRAIN, UAE, SAOPAULO, GOVCLOUDEAST, GOVCLOUDWEST, ISOLATEDUSEAST, ISOLATEDUSEASTB, ISOLATEDUSWEST, ISOLATEDEUWEST

Data Type

string

Default Value

"NORTHERNVIRGINIA"

Remarks

The hosting region for your Amazon Web Services. Available values are OHIO, NORTHERNVIRGINIA, NORTHERNCALIFORNIA, OREGON, CAPETOWN, HONGKONG, HYDERABAD, JAKARTA, MALAYSIA, MELBOURNE, MUMBAI, OSAKA, SEOUL, SINGAPORE, SYDNEY, TOKYO, CENTRAL, CALGARY, BEIJING, NINGXIA, FRANKFURT, IRELAND, LONDON, MILAN, PARIS, SPAIN, STOCKHOLM, ZURICH, TELAVIV, BAHRAIN, UAE, SAOPAULO, GOVCLOUDEAST, GOVCLOUDWEST, ISOLATEDUSEAST, ISOLATEDUSEASTB, ISOLATEDUSWEST, and ISOLATEDEUWEST.

CData Cloud

OAuth

This section provides a complete list of the OAuth properties you can configure in the connection string for this provider.


PropertyDescription
OAuthClientIdSpecifies the client Id that was assigned the custom OAuth application was created. (Also known as the consumer key.) This ID registers the custom application with the OAuth authorization server.
OAuthClientSecretSpecifies the client secret that was assigned when the custom OAuth application was created. (Also known as the consumer secret ). This secret registers the custom application with the OAuth authorization server.
OAuthAppStatusSpecifies whether the specified SellingPartner OAuth App is in Draft status or Published Status.
CData Cloud

OAuthClientId

Specifies the client Id that was assigned the custom OAuth application was created. (Also known as the consumer key.) This ID registers the custom application with the OAuth authorization server.

Data Type

string

Default Value

""

Remarks

OAuthClientId is one of a handful of connection parameters that need to be set before users can authenticate via OAuth. For details, see Establishing a Connection.

CData Cloud

OAuthClientSecret

Specifies the client secret that was assigned when the custom OAuth application was created. (Also known as the consumer secret ). This secret registers the custom application with the OAuth authorization server.

Data Type

string

Default Value

""

Remarks

OAuthClientSecret is one of a handful of connection parameters that need to be set before users can authenticate via OAuth. For details, see Establishing a Connection.

CData Cloud

OAuthAppStatus

Specifies whether the specified SellingPartner OAuth App is in Draft status or Published Status.

Possible Values

Published, Draft

Data Type

string

Default Value

"Published"

Remarks

Specifies whether the specified SellingPartner OAuth App is in Draft status or Published Status.

If you set this property to 'Draft', the version=beta parameter is added to OAuth authorization URI, and the workflow authorizes an application in Draft state. Otherwise, the workflow authorizes an application published on the Amazon Seller Central Partner Network.

CData Cloud

SSL

This section provides a complete list of the SSL properties you can configure in the connection string for this provider.


PropertyDescription
SSLServerCertSpecifies the certificate to be accepted from the server when connecting using TLS/SSL.
CData Cloud

SSLServerCert

Specifies the certificate to be accepted from the server when connecting using TLS/SSL.

Data Type

string

Default Value

""

Remarks

If using a TLS/SSL connection, this property can be used to specify the TLS/SSL certificate to be accepted from the server. Any other certificate that is not trusted by the machine is rejected.

This property can take the following forms:

Description Example
A full PEM Certificate (example shortened for brevity) -----BEGIN CERTIFICATE----- MIIChTCCAe4CAQAwDQYJKoZIhv......Qw== -----END CERTIFICATE-----
A path to a local file containing the certificate C:\cert.cer
The public key (example shortened for brevity) -----BEGIN RSA PUBLIC KEY----- MIGfMA0GCSq......AQAB -----END RSA PUBLIC KEY-----
The MD5 Thumbprint (hex values can also be either space or colon separated) ecadbdda5a1529c58a1e9e09828d70e4
The SHA1 Thumbprint (hex values can also be either space or colon separated) 34a929226ae0819f2ec14b4a3d904f801cbb150d

If not specified, any certificate trusted by the machine is accepted.

Use '*' to signify to accept all certificates. Note that this is not recommended due to security concerns.

CData Cloud

Logging

This section provides a complete list of the Logging properties you can configure in the connection string for this provider.


PropertyDescription
VerbositySpecifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5.
CData Cloud

Verbosity

Specifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5.

Data Type

string

Default Value

"1"

Remarks

This property defines the level of detail the Cloud includes in the log file. Higher verbosity levels increase the detail of the logged information, but may also result in larger log files and slower performance due to the additional data being captured.

The default verbosity level is 1, which is recommended for regular operation. Higher verbosity levels are primarily intended for debugging purposes. For more information on each level, refer to Logging.

When combined with the LogModules property, Verbosity can refine logging to specific categories of information.

CData Cloud

Schema

This section provides a complete list of the Schema properties you can configure in the connection string for this provider.


PropertyDescription
BrowsableSchemasOptional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC .
CData Cloud

BrowsableSchemas

Optional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC .

Data Type

string

Default Value

""

Remarks

Listing all available database schemas can take extra time, thus degrading performance. Providing a list of schemas in the connection string saves time and improves performance.

CData Cloud

Miscellaneous

This section provides a complete list of the Miscellaneous properties you can configure in the connection string for this provider.


PropertyDescription
IncludeReportsSet this connection property to true to expose already created reports as views, this property is avaible for both schemas (SellerCentral and VendorCentral).
MaxRowsSpecifies the maximum rows returned for queries without aggregation or GROUP BY.
ProcedurePoolingWhether or not to get feed results after an execution of a stored procedure.
PseudoColumnsSpecifies the pseudocolumns to expose as table columns. Use the format 'TableName=ColumnName;TableName=ColumnName'. The default is an empty string, which disables this property.
ReportTypesSet this connection property to one or more report types to filter reports.
RowScanDepthThe maximum number of rows to scan to look for the columns datatype in a report.
SellerIdThe Seller ID or merchant identifier you received when creating the account.
TimeoutSpecifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error. The default is 60 seconds. Set to 0 to disable the timeout.
TypeDetectionSchemeSpecifies how to determine the data types of columns when selecting from Reports.
UseSimpleNamesBoolean determining if simple names should be used for tables and columns.
CData Cloud

IncludeReports

Set this connection property to true to expose already created reports as views, this property is avaible for both schemas (SellerCentral and VendorCentral).

Data Type

bool

Default Value

false

Remarks

Set this connection property to true to expose already created reports as views, this property is avaible for both schemas (SellerCentral and VendorCentral).

CData Cloud

MaxRows

Specifies the maximum rows returned for queries without aggregation or GROUP BY.

Data Type

int

Default Value

-1

Remarks

This property sets an upper limit on the number of rows the Cloud returns for queries that do not include aggregation or GROUP BY clauses. This limit ensures that queries do not return excessively large result sets by default.

When a query includes a LIMIT clause, the value specified in the query takes precedence over the MaxRows setting. If MaxRows is set to "-1", no row limit is enforced unless a LIMIT clause is explicitly included in the query.

This property is useful for optimizing performance and preventing excessive resource consumption when executing queries that could otherwise return very large datasets.

CData Cloud

ProcedurePooling

Whether or not to get feed results after an execution of a stored procedure.

Data Type

bool

Default Value

true

Remarks

Set this to False if you do not want to wait to get the results of a stored procedure.

CData Cloud

PseudoColumns

Specifies the pseudocolumns to expose as table columns. Use the format 'TableName=ColumnName;TableName=ColumnName'. The default is an empty string, which disables this property.

Data Type

string

Default Value

""

Remarks

This property allows you to define which pseudocolumns the Cloud exposes as table columns.

To specify individual pseudocolumns, use the following format: "Table1=Column1;Table1=Column2;Table2=Column3"

To include all pseudocolumns for all tables use: "*=*"

CData Cloud

ReportTypes

Set this connection property to one or more report types to filter reports.

Data Type

string

Default Value

""

Remarks

Set this connection property to one or more comma-separated report types to filter reports. This property decides which report types to expose as views when IncludeReports = True and Schema = SellerCentral.

CData Cloud

RowScanDepth

The maximum number of rows to scan to look for the columns datatype in a report.

Data Type

int

Default Value

100

Remarks

The columns in a table must be determined by scanning table rows. This value determines the maximum number of rows that will be scanned.

Setting a high value may decrease performance. Setting a low value may prevent the data type from being determined properly, especially when there is null data.

CData Cloud

SellerId

The Seller ID or merchant identifier you received when creating the account.

Data Type

string

Default Value

""

Remarks

The Seller ID or merchant identifier you received when creating the account.

CData Cloud

Timeout

Specifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error. The default is 60 seconds. Set to 0 to disable the timeout.

Data Type

int

Default Value

60

Remarks

This property controls the maximum time, in seconds, that the Cloud waits for an operation to complete before canceling it. If the timeout period expires before the operation finishes, the Cloud cancels the operation and throws an exception.

The timeout applies to each individual communication with the server rather than the entire query or operation. For example, a query could continue running beyond 60 seconds if each paging call completes within the timeout limit.

Setting this property to 0 disables the timeout, allowing operations to run indefinitely until they succeed or fail due to other conditions such as server-side timeouts, network interruptions, or resource limits on the server. Use this property cautiously to avoid long-running operations that could degrade performance or result in unresponsive behavior.

CData Cloud

TypeDetectionScheme

Specifies how to determine the data types of columns when selecting from Reports.

Possible Values

None, RowScan

Data Type

string

Default Value

"RowScan"

Remarks

When IncludeReports is set to True, this property specifies how to determine the data types.

NoneSetting TypeDetectionScheme to None will return all columns as the string type.
RowScanSetting TypeDetectionScheme to RowScan will scan rows to heuristically determine the data type.

CData Cloud

UseSimpleNames

Boolean determining if simple names should be used for tables and columns.

Data Type

bool

Default Value

false

Remarks

Amazon Marketplace tables and columns can use special characters in names that are normally not allowed in standard databases. UseSimpleNames makes the Cloud easier to use with traditional database tools.

Setting UseSimpleNames to true will simplify the names of tables and columns returned. It will enforce a naming scheme such that only alphanumeric characters and the underscore are valid for the displayed table and column names. Any nonalphanumeric characters will be converted to an underscore.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 24.0.9175