Category: Order - User

Доступы к OTAPI:

IMAGES IMAGES Method RecreateSalesOrder

Reorder (obsolete, use RecreateOrder)

Test request

Argument Type Value
instanceKey String
Key for working with OTAPI
language String
language for requested data
signature String
Signature to identify the request. Used only if the key has a secret. See details in Signing OT API requests.
timestamp String
Timestamp for signature. Used only if the key has a secret. See details in Signing OT API requests.
sessionId String
Buyer session identifier. See details in Sessions in OT API.
salesOrderId String
weight String

Response

Loading, please wait...
Name
Value
Description
SalesOrderInfoAnswer xml | json

Answer from OTAPI.

ErrorCodeenum

Error code

ErrorDescriptionStringError description
SubErrorCodexml | json

Additional error code

ErrorDescriptionTemplateStringTemplate of error descriptions with placeholders for arguments. No value if error has no additional code.
ErrorDescriptionArgumentsxml | json

List of arguments for error description. No value if error has no additional code.

RequestIdStringRequest id, used to send statistics by StoreRequestGroup method.
RequestTimeDoubleInternal work time of request in milliseconds.
RequestTimeStatisticStringDebug information about execution of request in text representation. No value if debug output is disabled.
HasTranslateErrorsboolean

Flag of errors in process of translating texts. If true, some of texts in response may not be translated. No value if there are no translation errors.

Resultxml | json

Result.

THSInfoxml | json

THS (TradeHubSystem) information

IdStringOrder identifier
DisplayIdStringDisplayed order identifier
StatusCodeStringStatus code
StatusNameStringStatus name
SubstatusCodeStringSubstatus code
SubstatusNameStringSubstatus name
OperatorIdStringOperator identifier
OperatorNameStringOperator name
ItemsCountInt64Item quantity
GoodsAmountDecimalItems cost in internal currency
DeliveryAmountDecimalDelivery cost in internal currency
LogisticianDeliveryPriceNullable<Decimal>Logistician delivery cost in internal currency
TotalAmountDecimalItems total cost in internal currency
RemainAmountDecimalUnpaid amount in internal currency
CurrencySignStringInternal currency sign
CurrencyCodeStringInternal currency ISO code
CustCommentStringCustomer comment
DeliveryModeIdStringDelivery mode identifier
DeliveryModeNameStringDelivery mode name
CanCancelInt32Cancel order ability (0|1)
CanConfirmShipmentInt32Confirm order shipment ability (0|1)
CanChangeAddressInt32Change address ability (0|1)
CanRestoreInt32Restore order ability (0|1)
CanCloseInt32Close order ability (0|1)
CanCloseCancelInt32Close and cancel order ability (0|1)
CanAcceptInt32Confirm order ability (0|1)
CanPurchaseItemsInt32Purchase order ability (0|1)
PackagesWeightInt32[Obsolete] Packages weight
EstimatedWeightInt32Estimated weight
CustIdStringCustomer identifier
CustNameStringCustomer name
StatusIdInt32Order status identifier
WeightDecimalEstimated weight
DeliveryAddressxml | json

Delivery address

TaoBaoPriceDecimalOriginal price in provider currency
TaoBaoPriceWithDiscountDecimalOriginal price with discount in provider currency
InternalDeliveryOriginalInExternalCurrencyDecimalInternal delivery total original price in external currency
AdditionalInfoStringAdditional information
ExternalCurrencyCodeStringExternal currency code
ShipmentDateDateTimeOrder shipment date
LineStatusSummaries [ UndefinedItem, ... ]xml | json

Status summary ([Statuc] - [order lines with this status]). Data list

UserAccountAvailableAmountDecimalUser account available amount
ProviderTypeEnumenum

Provider type

IsTestboolean

Test order indicator. Not include in rent calculation

IsPaidboolean

Order is paid indicator

IsCancelledboolean

Order is cancelled indicator

IsCompletedboolean

Order is completed indicator

CreatedDateTimeStringOrder creation date
InternalOriginalPriceDecimalOrder items total original price in internal currency
InternalOriginalPriceWithDiscountDecimalOrder items total original price with discount in internal currency