Amazon Selling Partner API (SP-API) SDK for TypeScript
    Preparing search index...
    • AplusContentApi - axios parameter creator

      Parameters

      • Optionalconfiguration: Configuration

      Returns {
          createContentDocument: (
              marketplaceId: string,
              postContentDocumentRequest: PostContentDocumentRequest,
              options?: RawAxiosRequestConfig,
          ) => Promise<RequestArgs>;
          createMedia: (
              createMediaRequest: CreateMediaRequest,
              options?: RawAxiosRequestConfig,
          ) => Promise<RequestArgs>;
          getContentDocument: (
              contentReferenceKey: string,
              marketplaceId: string,
              includedDataSet: Set<GetContentDocumentIncludedDataSetEnum>,
              options?: RawAxiosRequestConfig,
          ) => Promise<RequestArgs>;
          getMedia: (
              mediaId: string,
              associatedMediaId?: string,
              options?: RawAxiosRequestConfig,
          ) => Promise<RequestArgs>;
          listContentDocumentAsinRelations: (
              contentReferenceKey: string,
              marketplaceId: string,
              includedDataSet?: Set<"METADATA">,
              asinSet?: Set<string>,
              pageToken?: string,
              options?: RawAxiosRequestConfig,
          ) => Promise<RequestArgs>;
          postContentDocumentApprovalSubmission: (
              contentReferenceKey: string,
              marketplaceId: string,
              options?: RawAxiosRequestConfig,
          ) => Promise<RequestArgs>;
          postContentDocumentAsinRelations: (
              contentReferenceKey: string,
              marketplaceId: string,
              postContentDocumentAsinRelationsRequest: PostContentDocumentAsinRelationsRequest,
              options?: RawAxiosRequestConfig,
          ) => Promise<RequestArgs>;
          postContentDocumentSuspendSubmission: (
              contentReferenceKey: string,
              marketplaceId: string,
              options?: RawAxiosRequestConfig,
          ) => Promise<RequestArgs>;
          searchContentDocuments: (
              marketplaceId: string,
              pageToken?: string,
              options?: RawAxiosRequestConfig,
          ) => Promise<RequestArgs>;
          searchContentPublishRecords: (
              marketplaceId: string,
              asin: string,
              pageToken?: string,
              options?: RawAxiosRequestConfig,
          ) => Promise<RequestArgs>;
          updateContentDocument: (
              contentReferenceKey: string,
              marketplaceId: string,
              postContentDocumentRequest: PostContentDocumentRequest,
              options?: RawAxiosRequestConfig,
          ) => Promise<RequestArgs>;
          updateMedia: (
              mediaId: string,
              updateMediaRequest: UpdateMediaRequest,
              associatedMediaId?: string,
              options?: RawAxiosRequestConfig,
          ) => Promise<RequestArgs>;
          validateContentDocumentAsinRelations: (
              marketplaceId: string,
              postContentDocumentRequest: PostContentDocumentRequest,
              asinSet?: Set<string>,
              options?: RawAxiosRequestConfig,
          ) => Promise<RequestArgs>;
      }

      • createContentDocument: (
            marketplaceId: string,
            postContentDocumentRequest: PostContentDocumentRequest,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>

        Create a new A+ Content document. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

      • createMedia: (
            createMediaRequest: CreateMediaRequest,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>

        Create a media asset record. The mediaType field determines the type of asset to create. This operation is idempotent; if the asset or pairing already exists with identical metadata, this operation returns a 200 response with existing data. Returns 201 when a new asset or pairing is created. Returns 409 if the asset or pairing already exists but the metadata fields differ. If an uploadDestinationId is provided, it is resolved to its mediaId before any further processing. A request that references an asset by uploadDestinationId and a subsequent request that uses the resulting mediaId are treated as referring to the same identity. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

      • getContentDocument: (
            contentReferenceKey: string,
            marketplaceId: string,
            includedDataSet: Set<GetContentDocumentIncludedDataSetEnum>,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>

        Retrieve an A+ Content document, if available. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

      • getMedia: (
            mediaId: string,
            associatedMediaId?: string,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>

        Retrieve media metadata and related media for a given media ID. The response uses the unified Media shape. Related media associations are also included in the response. When associatedMediaId is provided, relatedMedia is filtered to the specific pairing. When omitted, all related media are returned. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

      • listContentDocumentAsinRelations: (
            contentReferenceKey: string,
            marketplaceId: string,
            includedDataSet?: Set<"METADATA">,
            asinSet?: Set<string>,
            pageToken?: string,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>

        Retrieve a list of ASINs related to the specified A+ Content document, if available. If you do not include the asinSet parameter, the operation returns all ASINs related to the content document. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

      • postContentDocumentApprovalSubmission: (
            contentReferenceKey: string,
            marketplaceId: string,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>

        Submits an A+ Content document for review, approval, and publishing. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

      • postContentDocumentAsinRelations: (
            contentReferenceKey: string,
            marketplaceId: string,
            postContentDocumentAsinRelationsRequest: PostContentDocumentAsinRelationsRequest,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>

        Replaces all ASINs related to the specified A+ Content document, if available. This may add or remove ASINs, depending on the current set of related ASINs. Removing an ASIN has the side effect of suspending the content document from that ASIN. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

      • postContentDocumentSuspendSubmission: (
            contentReferenceKey: string,
            marketplaceId: string,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>

        Submits a request to suspend visible A+ Content. This neither deletes the content document nor the ASIN relations. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

      • searchContentDocuments: (
            marketplaceId: string,
            pageToken?: string,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>

        Retrieve a list of all A+ Content documents assigned to a selling partner. This operation returns only the metadata of the A+ Content documents. Call the getContentDocument operation to get the actual contents of the A+ Content documents. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

      • searchContentPublishRecords: (
            marketplaceId: string,
            asin: string,
            pageToken?: string,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>

        Searches for A+ Content publishing records, if available. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

      • updateContentDocument: (
            contentReferenceKey: string,
            marketplaceId: string,
            postContentDocumentRequest: PostContentDocumentRequest,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>

        Update an existing A+ Content document. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

      • updateMedia: (
            mediaId: string,
            updateMediaRequest: UpdateMediaRequest,
            associatedMediaId?: string,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>

        Update metadata on an existing media asset. The mediaId path parameter identifies the target asset. For video-image pairing title updates, provide associatedMediaId as a query parameter. For video-level description updates or standalone image title updates, omit associatedMediaId. Each request updates either title or descriptions, but not both. Descriptions are upserted by locale; only provided locales are modified, and existing locales not in the request are preserved. The response contains the full unified Media shape. When associatedMediaId is provided, relatedMedia contains only the specified pairing. When associatedMediaId is absent, relatedMedia contains all affected pairings. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

      • validateContentDocumentAsinRelations: (
            marketplaceId: string,
            postContentDocumentRequest: PostContentDocumentRequest,
            asinSet?: Set<string>,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>

        Checks if the A+ Content document is valid for use on a set of ASINs. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.