Seller Assistant API
Home
Seller AssistantHelp CenterAccount
Home
Seller AssistantHelp CenterAccount
Get API Keys
  1. Documents (Beta)
  • Introduction
  • Authentication
  • Throttling
  • Error Handling
  • Swagger Documentation
  • Amazon SP-API Marketplace IDs
  • Amazon Marketplace Categories
  • Products
    • Get product info
      GET
    • Get product statistics
      GET
    • Calculate product profit
      POST
  • UPC-EAN-ASIN converters
    • Get product ASINs based on identifiers (UPC or EAN)
      GET
    • Get product identifiers (UPC, EAN, etc.) based on ASIN
      GET
  • Restrictions
    • Check ASIN restrictions
      GET
  • Sales Estimation
    • Estimate sales by ASIN
      GET
    • Estimate sales by BSR and category
      POST
  • Keepa
    • Get Keepa product
      GET
    • Search Keepa products
      GET
    • Keepa Product Finder
      POST
  • FBA Inbound Shipments
    • Summary
    • List inbound plans
    • Get inbound plan
    • List inbound plan boxes
    • List plan shipments
    • Get shipment
    • List shipment items
    • Get shipment fees
    • List shipment boxes
  • Listings Items
    • Search listings items
    • Get listings item
    • Create or update listing from ASIN
    • Delete listings item
  • SP-API FBA Shipments
    • Get old shipments
    • Get old shipment items
    • Get old shipment items by old shipment id
    • List inbound plans
    • Get inbound plan
    • List inbound plan boxes
    • List placement options
    • List transportation options
    • Get shipment
    • List shipment items
    • List shipment boxes
    • List packing options
    • List packing group boxes
    • List packing group items
  • SP-API FBA Inventory
    • Get inventory summaries
  • SP-API Catalog Items
    • Search catalog items
    • Get catalog item
  • SP-API Listings Items
    • Search listings items
    • Get listings item
    • Put listings item
    • Delete listings item
    • Patch listings item
  • SP-API Product Type Definitions
    • Search definitions product types
    • Get a product type definition
  • SP-API Product Pricing
    • Get competitive pricing
    • Get competitive summary for ASINs
  • Documents (Beta)
    • List the documents of the team
      GET
    • Upload a document and hang it on a purchase order or on a supplier
      POST
    • Delete several documents
      DELETE
    • Get one document
      GET
    • Delete a document
      DELETE
    • Set the type of a document, or turn its import offer off
      PATCH
    • Get a link that reads the file
      GET
    • Read what the parser found in an invoice
      GET
    • Write the confirmed invoice lines into the purchase order
      POST
  • Account (Beta)
    • Get current user info
    • Get the caller, the team, the plan, the marketplaces, the quotas and the flags
  • Notes (Beta)
    • List the notes on one thing
    • Write a note on one thing
    • Delete several notes
    • Delete a note
    • Change the text of a note
  • Price List Analyzer
    • Start a price list analysis, from a file or from already-mapped JSON items
    • Get price list processing status
    • Get price list results (paginated)
    • Update calculations for a single price list item
    • Update expenses configuration for a price list
  • SA Inventory Product History (Beta)
    • Get history for internal product
    • Get history for all products in team
    • Get available history action types
  • SA Inventory Products (Beta)
    • List the values the filters of the product list accept
    • Autocomplete products from multiple sources for internal product creation
    • Create internal product
    • List the products of the team
    • Delete several products
    • Get internal product
    • Create or update product supplier offer
    • Delete one product
    • Delete product supplier offer
    • Update internal product
    • List external product identifiers
    • List product supplier offers
    • Set the matches of one product
    • Remove some matches of one product
  • SA Inventory Listings (Beta)
    • List the listings of the team
    • Make one listing draft, or several
    • Delete several listings
    • Get one listing
    • Delete one listing draft
  • SA Inventory Purchase Orders (Beta)
    • List the purchase orders of the team
    • Create a purchase order
    • Delete several purchase orders
    • Get one purchase order
    • Delete one purchase order
    • Change a purchase order
    • List the items of one purchase order
    • Add items to a purchase order
    • Search the items of every purchase order of the team
    • Delete several items of purchase orders
    • Delete one purchase order item
    • Change one item of a purchase order
  • SA Inventory SKUs (Beta)
    • List the SKUs of the team
    • Delete several SKUs
    • Get one SKU
    • Delete one SKU
    • Set the costs of a SKU, or link it to a purchase order line
  • SA Inventory Suppliers (Beta)
    • List suppliers
    • Create supplier
    • Delete several suppliers
    • Get supplier
    • Delete supplier
    • Update supplier
    • Get all supplier offers for a specific supplier
  • SA Inventory Warehouses (Beta)
    • List the warehouses the team can use
    • Create a warehouse
    • Delete several warehouses
    • Get one warehouse
    • Delete one warehouse
    • Change a warehouse
    • List the prep providers a warehouse can sync with
  • SA Repricer (Beta)
    • Get repricer history for a product (all repricing runs)
    • Get aggregate repricer history statistics for the team
    • Reset the team's repricer settings to global defaults
    • Get an overview context for repricing, including team settings, allowed marketplaces, and usage limits
    • Update the global repricer settings for the current team
    • Get the current team's global repricer settings
    • List the values the filters of the repricer list accept
    • Remove one product from the repricer or several
    • Update one repricer product or several
    • List all repricing strategies for the current team
    • Get a paginated list of repricer products for the current team
    • Create a new repricing strategy
    • Create a new repricer product
    • Delete several strategies
    • Get a single repricing strategy by ID
    • Delete a repricing strategy
    • Get a single repricer product by ID
    • Update a repricing strategy
    • Delete one repricer product
    • Assign a strategy to products
    • Update one repricer product
    • Run repricing for a single product
  • Tags (Beta)
    • List the tags of the team
    • Create a tag
    • Delete several tags
    • Delete a tag
    • Change the name or the colour of a tag
    • Put a tag on products, or take it off them
  • Profitability
    • Get account-level profitability summary
    • Get daily profitability timeseries
    • Get per-SKU profitability (paginated)
    • Get single-SKU P&L + timeseries
    • Get paginated raw orders
  • Schemas
    • Schemas
      • ApiError
      • CheckAsinRestrictionsRequest
      • EstimateSalesRequest
      • AmazonSellerAccountRequiredApiError
      • InternalApiError
      • EstimateSalesByAsinRequest
      • ProductResponse
      • DangerBrand
      • ProductDefect
      • Category
      • Variation
      • Marketplace
      • Urls
      • Price
      • Size
      • ProductPriceCurrency
      • Risks
      • Offers
      • FbaDetails
    • BadRequestApiError
    • ConvertToASINResponseItem
    • AccessDeniedApiError
    • PaymentRequiredApiError
    • ConvertToASINResponse
    • ResourceNotFoundApiError
    • ConvertToASINInternalApiError
    • TooManyRequestsApiError
    • GetProductIdentifiersResponseItem
    • GetProductIdentifiersResponse
    • GetProductIdentifiersInternalApiError
    • ListPlanShipmentsResponse
    • Document
    • ListPlanShipmentsInternalApiError
    • ProductNotFoundApiError
    • GetShipmentFeesResponse
    • GetShipmentFeesInternalApiError
    • KeepaProductStats
    • KeepaProductCsv
    • KeepaProductOffer
    • KeepaProduct
    • GetKeepaProductInternalApiError
    • SearchKeepaProductsResponse
    • SearchKeepaProductsInternalApiError
    • QueryKeepaProductsResponse
    • SearchInsightsObject
    • QueryKeepaProductsInternalApiError
    • PutListingsItemRequest
    • PutListingsItemInternalApiError
    • Currency
    • Product
    • Quota
    • ProductBsr
    • FeatureFlag
    • ProductCategory
    • Note
    • ProductVariations
    • NoteForm
    • ProductVariation
    • PriceListAnalyzerUploadResponse
    • ProductMarketplace
    • PriceListAnalyzerJsonItem
    • ProductUrls
    • PriceListAnalyzerStatusResponse
    • ProductPrices
    • ProductSize
    • ProductRisks
    • ProductOffers
    • ProductFees
    • GetProductInternalApiError
    • CalculateProductProfitRequest
    • BusinessLogicApiError
    • ProductProfit
    • CalculateProductProfitInternalApiError
    • ProductStats
    • GetProductStatsInternalApiError
    • CheckAsinRestrictionsResponse
    • CheckRestrictionsInternalApiError
    • ExternalProduct
    • ExternalProductUpsertItem
    • SupplierProductOffer
    • InternalProduct
    • ProductMatch
    • ProductSupplierOffer
    • ProductMatchItem
    • InternalProductForm
    • ApiSaRepricerSettingsController
    • ListingForm
    • Listing
    • PurchaseOrder
    • PurchaseOrderCreateForm
    • CurrentUserInfoResponse
    • PurchaseOrderForm
    • PurchaseOrderItemForm
    • EstimateSalesInternalApiError
    • PurchaseOrderItem
    • EstimateSalesResponse
    • Sku
    • EstimateSalesByBsrRequest
    • Supplier
    • SearchCatalogItemsResponse
    • SupplierOffer
    • CatalogItemsPagination
    • CreateSupplierForm
    • Refinements
    • UpdateSupplierForm
    • BrandRefinement
    • WarehouseForm
    • ClassificationRefinement
    • Warehouse
    • CatalogItem
    • WarehouseProvider
    • CatalogItemBrowseClassificationsByMarketplace
    • RepricerProductHistoryItem
    • CatalogItemBrowseClassification
    • HistorySearchResponse
    • CatalogItemDimensionsByMarketplace
    • HistoryStats
    • Dimensions
    • RepricerDefaultSettings
    • Dimension
    • RepricerInfo
    • CatalogItemIdentifiersByMarketplace
    • RepricerSettings
    • CatalogItemIdentifier
    • UpdateRepricerSettings
    • CatalogItemImagesByMarketplace
    • RepricerProduct
    • CatalogItemImage
    • RepricerProductListResponse
    • CatalogItemProductTypeByMarketplace
    • CreateRepricerProductForm
    • CatalogItemRelationshipsByMarketplace
    • UpdateRepricerProductForm
    • CatalogItemRelationship
    • RepricerStrategy
    • CatalogItemVariationTheme
    • RepricerStrategyForm
    • CatalogItemSalesRanksByMarketplace
    • Tag
    • CatalogItemClassificationSalesRank
    • TagForm
    • CatalogItemDisplayGroupSalesRank
    • GetCurrentUserInfoInternalApiError
    • CatalogItemSummaryByMarketplace
    • CatalogItemContributor
    • ApiV1Pagination
    • CatalogItemContributorRole
    • ApiV1BatchMeta
    • CatalogItemVendorDetailsByMarketplace
    • ApiV1BatchError
    • CatalogItemVendorDetailsCategory
    • SearchCatalogItemsInternalApiError
    • GetCatalogItemInternalApiError
    • GetInventorySummariesResponse
    • GetInventorySummariesResult
    • InventoryPagination
    • Granularity
    • InventorySummary
    • InventoryDetails
    • ReservedQuantity
    • ResearchingQuantity
    • ResearchingQuantityEntry
    • UnfulfillableQuantity
    • GetInventorySummariesInternalApiError
    • SpApiMoney
    • ShipmentAddress
    • OldShipment
    • GetShipmentsResponse
    • GetShipmentsInternalApiError
    • OldShipmentItem
    • GetShipmentItemsResponse
    • GetShipmentItemsInternalApiError
    • GetShipmentItemsByShipmentIdResponse
    • GetShipmentItemsByShipmentIdInternalApiError
    • ListInboundPlansResponse
    • InboundPlanSummary
    • Address
    • ListInboundPlansInternalApiError
    • GetInboundPlanResponse
    • GetInboundPlanInternalApiError
    • ListPlacementOptionsResponse
    • PlacementOption
    • Incentive
    • CurrencyValue
    • ListPlacementOptionsInternalApiError
    • TransportationOption
    • ListTransportationOptionsResponse
    • ListTransportationOptionsInternalApiError
    • ShipmentSummary
    • GetShipmentInternalApiError
    • ShipmentItem
    • PrepInstruction
    • ListShipmentItemsResponse
    • ListShipmentItemsInternalApiError
    • ListInboundPlanBoxesResponse
    • Box
    • Region
    • BoxDimensions
    • BoxWeight
    • ListInboundPlanBoxesInternalApiError
    • ListShipmentBoxesResponse
    • ListShipmentBoxesInternalApiError
    • ListPackingOptionsResponse
    • PackingOption
    • PackingConfiguration
    • BoxRequirements
    • WeightRange
    • ShippingRequirements
    • ShippingConfiguration
    • ListPackingOptionsInternalApiError
    • ListPackingGroupBoxesResponse
    • ListPackingGroupBoxesInternalApiError
    • ListPackingGroupItemsResponse
    • ListPackingGroupItemsInternalApiError
    • SearchListingsItemsResponse
    • Pagination
    • CurrencyAmount
    • Points
    • Image
    • VariationTheme
    • ListingsItemSummary
    • ListingsItemIssue
    • Enforcements
    • EnforcementAction
    • Exemption
    • ListingsItemIdentifier
    • ListingOfferPrice
    • OfferAudience
    • FulfillmentAvailability
    • Procurement
    • ProductRelationship
    • MarketplaceRelationship
    • ProductTypeDefinition
    • ListingsItem
    • SearchListingsItemsInternalApiError
    • GetListingsItemInternalApiError
    • ListingsItemPutRequest
    • ListingsItemSubmissionResponse
    • ListingsItemPatchRequest
    • PatchListingsItemInternalApiError
    • DeleteListingsItemInternalApiError
    • ProductType
    • ProductTypeListResponse
    • SearchProductTypeDefinitionsInternalApiError
    • ProductTypeDefinitionResponse
    • ProductTypeVersion
    • Link
    • SchemaLink
    • PropertyGroup
    • ProductTypeDefinitionsInternalApiError
    • CompetitivePricingError
    • CompetitivePricingProduct
    • CompetitivePricingItem
    • CompetitivePricingResponse
    • CompetitiveSummaryError
    • CompetitiveSummaryResponse
  1. Documents (Beta)

Write the confirmed invoice lines into the purchase order

POST
https://app.sellerassistant.app/api/v1/documents/{id}/import
The caller sends the lines it confirmed, not the lines the parser read. A line with no ASIN does not go in. Every item of the order goes back through the profit calculation, because the order level costs are spread over all of them. The plan must carry the feature invoice_parsing.
One document goes into the order once. The import adds the quantity of a line to the item that already carries that ASIN, so a second call would count the same goods twice. A document that carries applied_at answers 409, and a retry cannot make it work.

Request

Authorization
API Key
Add parameter in query
api_key
Example:
api_key: ********************
or
API Key
Add parameter in header
X-Api-Key
Example:
X-Api-Key: ********************
or
Path Params

Body Params application/jsonRequired

Example
{
    "items": [
        {
            "asin": "B08N5WRWNW",
            "title": "string",
            "sku": "string",
            "upc": "string",
            "ean": "string",
            "image_url": "string",
            "brand": "string",
            "quantity": 12,
            "unit_price": 9.5
        }
    ],
    "order_costs": {
        "taxes": 0,
        "shipping_cost": 0,
        "misc_expenses": 0
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://app.sellerassistant.app/api/v1/documents//import?api_key=%3Capi-key%3E' \
--header 'Content-Type: application/json' \
--data '{
    "items": [
        {
            "asin": "B08N5WRWNW",
            "title": "string",
            "sku": "string",
            "upc": "string",
            "ean": "string",
            "image_url": "string",
            "brand": "string",
            "quantity": 12,
            "unit_price": 9.5
        }
    ],
    "order_costs": {
        "taxes": 0,
        "shipping_cost": 0,
        "misc_expenses": 0
    }
}'

Responses

🟢200
application/json
What the import wrote
Bodyapplication/json

Example
{
    "data": {
        "purchase_order_id": 42,
        "imported_count": 12,
        "costs_applied": true,
        "applied_at": "2019-08-24T14:15:22.123Z"
    }
}
🟠400BadRequest
🟠403AccessDenied
🟠404NotFound
🟠409Conflict
🟠422BusinessLogicError
🟠429TooManyRequests
🔴503ServiceUnavailable
Modified at 2026-09-29 10:19:11
Previous
Read what the parser found in an invoice
Next
Get current user info
Built with