SetSellerOrderItemIDList

Overview

Assign seller-specified identifiers to a list of line items belonging to a single order.  Each line item is identified by its LineItemID, which is a ChannelAdvisor-generated identifier returned by GetOrderList.  This method takes two arrays as parameters.  These arrays should have the same number of elements.  The elements of the two arrays are related by position.  Thus, the first element in the sellerOrderItemIDList array corresponds to the first element in the lineItemIDList array and so on.

Request

Field Name

Data Type

Description

accountID

string

A unique identifier representing the ChannelAdvisor account you wish to access.

orderID

int

Unique identifier for an order, returned by GetOrderList

lineItemIDList

int[]

Array of line item identifiers generated by ChannelAdvisor, returned by GetOrderList.

sellerOrderItemIDList

string[]

Array of order line item identifiers specified by the seller.  There must be one seller order item ID for each line item ID.

Response

Field Name

Data Type

Description

SetSellerOrderIDListResult

APIResult<ArrayOfBoolean>

This method returns a type named APIResultOfArrayOfBoolean. See more information on APIResult.  ResultData will contain an array of boolean matching the array of line items identified in the request.  True indicates the line item was updated as requested. False indicates the line item could not be updated.

References