aesolution

package
v1.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package aesolution 包含AE-Oversea-Solution相关结构体

https://open.taobao.com/API.htm?docType=2&docId=47378

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliexpressSolutionBatchProductDeleteAPIRequest added in v1.2.0

type AliexpressSolutionBatchProductDeleteAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressSolutionBatchProductDeleteAPIRequest aliexpress.solution.batch.product.delete API请求 aliexpress.solution.batch.product.delete

Product delete API. Please note that there is no reverse way to retrieve the products which have been deleted. Use this API in cautious.

func NewAliexpressSolutionBatchProductDeleteRequest

func NewAliexpressSolutionBatchProductDeleteRequest() *AliexpressSolutionBatchProductDeleteAPIRequest

NewAliexpressSolutionBatchProductDeleteRequest 初始化AliexpressSolutionBatchProductDeleteAPIRequest对象

func (AliexpressSolutionBatchProductDeleteAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSolutionBatchProductDeleteAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSolutionBatchProductDeleteAPIRequest) GetProductIds added in v1.2.0

GetProductIds ProductIds Getter

func (AliexpressSolutionBatchProductDeleteAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AliexpressSolutionBatchProductDeleteAPIRequest) SetProductIds added in v1.2.0

func (r *AliexpressSolutionBatchProductDeleteAPIRequest) SetProductIds(_productIds []int64) error

SetProductIds is ProductIds Setter maximum 100

type AliexpressSolutionBatchProductDeleteAPIResponse

type AliexpressSolutionBatchProductDeleteAPIResponse struct {
	model.CommonResponse
	AliexpressSolutionBatchProductDeleteAPIResponseModel
}

AliexpressSolutionBatchProductDeleteAPIResponse aliexpress.solution.batch.product.delete API返回值 aliexpress.solution.batch.product.delete

Product delete API. Please note that there is no reverse way to retrieve the products which have been deleted. Use this API in cautious.

type AliexpressSolutionBatchProductDeleteAPIResponseModel added in v1.2.0

type AliexpressSolutionBatchProductDeleteAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_solution_batch_product_delete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
}

AliexpressSolutionBatchProductDeleteAPIResponseModel is aliexpress.solution.batch.product.delete 成功返回结果

type AliexpressSolutionBatchProductInventoryUpdateAPIRequest added in v1.2.0

type AliexpressSolutionBatchProductInventoryUpdateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressSolutionBatchProductInventoryUpdateAPIRequest aliexpress.solution.batch.product.inventory.update API请求 aliexpress.solution.batch.product.inventory.update

batch product inventory update API for oversea sellers. Sellers could update multiple skus among multiple products in a single call. Maximum 20 products could be updated at the same time and maximum 200 skus could be updated within one product.

func NewAliexpressSolutionBatchProductInventoryUpdateRequest

func NewAliexpressSolutionBatchProductInventoryUpdateRequest() *AliexpressSolutionBatchProductInventoryUpdateAPIRequest

NewAliexpressSolutionBatchProductInventoryUpdateRequest 初始化AliexpressSolutionBatchProductInventoryUpdateAPIRequest对象

func (AliexpressSolutionBatchProductInventoryUpdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSolutionBatchProductInventoryUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSolutionBatchProductInventoryUpdateAPIRequest) GetMutipleProductUpdateList added in v1.2.0

GetMutipleProductUpdateList MutipleProductUpdateList Getter

func (AliexpressSolutionBatchProductInventoryUpdateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AliexpressSolutionBatchProductInventoryUpdateAPIRequest) SetMutipleProductUpdateList added in v1.2.0

func (r *AliexpressSolutionBatchProductInventoryUpdateAPIRequest) SetMutipleProductUpdateList(_mutipleProductUpdateList []SynchronizeProductRequestDto) error

SetMutipleProductUpdateList is MutipleProductUpdateList Setter The product list, in which the inventory needs to be updated. Maximum 20 products.

type AliexpressSolutionBatchProductInventoryUpdateAPIResponse

type AliexpressSolutionBatchProductInventoryUpdateAPIResponse struct {
	model.CommonResponse
	AliexpressSolutionBatchProductInventoryUpdateAPIResponseModel
}

AliexpressSolutionBatchProductInventoryUpdateAPIResponse aliexpress.solution.batch.product.inventory.update API返回值 aliexpress.solution.batch.product.inventory.update

batch product inventory update API for oversea sellers. Sellers could update multiple skus among multiple products in a single call. Maximum 20 products could be updated at the same time and maximum 200 skus could be updated within one product.

type AliexpressSolutionBatchProductInventoryUpdateAPIResponseModel added in v1.2.0

type AliexpressSolutionBatchProductInventoryUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_solution_batch_product_inventory_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// update failed list
	UpdateFailedList []SynchronizeProductResponseDto `json:"update_failed_list,omitempty" xml:"update_failed_list>synchronize_product_response_dto,omitempty"`
	// update succesful list
	UpdateSuccessfulList []SynchronizeProductResponseDto `json:"update_successful_list,omitempty" xml:"update_successful_list>synchronize_product_response_dto,omitempty"`
	// When success equals false, indicating the error code
	UpdateErrorCode string `json:"update_error_code,omitempty" xml:"update_error_code,omitempty"`
	// When success equals false,  indicating the error message
	UpdateErrorMessage string `json:"update_error_message,omitempty" xml:"update_error_message,omitempty"`
	// Indicates the update result is successful or not. Only all the products in mutiple_product_update_list have been updated successfully will make the success to be true, otherwise false.
	UpdateSuccess bool `json:"update_success,omitempty" xml:"update_success,omitempty"`
}

AliexpressSolutionBatchProductInventoryUpdateAPIResponseModel is aliexpress.solution.batch.product.inventory.update 成功返回结果

type AliexpressSolutionBatchProductPriceUpdateAPIRequest added in v1.2.0

type AliexpressSolutionBatchProductPriceUpdateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressSolutionBatchProductPriceUpdateAPIRequest aliexpress.solution.batch.product.price.update API请求 aliexpress.solution.batch.product.price.update

batch product price update operation for oversea sellers

func NewAliexpressSolutionBatchProductPriceUpdateRequest

func NewAliexpressSolutionBatchProductPriceUpdateRequest() *AliexpressSolutionBatchProductPriceUpdateAPIRequest

NewAliexpressSolutionBatchProductPriceUpdateRequest 初始化AliexpressSolutionBatchProductPriceUpdateAPIRequest对象

func (AliexpressSolutionBatchProductPriceUpdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSolutionBatchProductPriceUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSolutionBatchProductPriceUpdateAPIRequest) GetMutipleProductUpdateList added in v1.2.0

GetMutipleProductUpdateList MutipleProductUpdateList Getter

func (AliexpressSolutionBatchProductPriceUpdateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AliexpressSolutionBatchProductPriceUpdateAPIRequest) SetMutipleProductUpdateList added in v1.2.0

func (r *AliexpressSolutionBatchProductPriceUpdateAPIRequest) SetMutipleProductUpdateList(_mutipleProductUpdateList []SynchronizeProductRequestDto) error

SetMutipleProductUpdateList is MutipleProductUpdateList Setter The product list, in which the price needs to be updated. Maximum length:20

type AliexpressSolutionBatchProductPriceUpdateAPIResponse

type AliexpressSolutionBatchProductPriceUpdateAPIResponse struct {
	model.CommonResponse
	AliexpressSolutionBatchProductPriceUpdateAPIResponseModel
}

AliexpressSolutionBatchProductPriceUpdateAPIResponse aliexpress.solution.batch.product.price.update API返回值 aliexpress.solution.batch.product.price.update

batch product price update operation for oversea sellers

type AliexpressSolutionBatchProductPriceUpdateAPIResponseModel added in v1.2.0

type AliexpressSolutionBatchProductPriceUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_solution_batch_product_price_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// update failed list
	UpdateFailedList []SynchronizeProductResponseDto `json:"update_failed_list,omitempty" xml:"update_failed_list>synchronize_product_response_dto,omitempty"`
	// update successful list
	UpdateSuccessfulList []SynchronizeProductResponseDto `json:"update_successful_list,omitempty" xml:"update_successful_list>synchronize_product_response_dto,omitempty"`
	// When success equals false, indicating the error code
	UpdateErrorCode string `json:"update_error_code,omitempty" xml:"update_error_code,omitempty"`
	// When success equals false, indicating the error message
	UpdateErrorMessage string `json:"update_error_message,omitempty" xml:"update_error_message,omitempty"`
	// Indicates the update result is successful or not. Only all the products in mutiple_product_update_list have been updated successfully will make the success to be true, otherwise false.
	UpdateSuccess bool `json:"update_success,omitempty" xml:"update_success,omitempty"`
}

AliexpressSolutionBatchProductPriceUpdateAPIResponseModel is aliexpress.solution.batch.product.price.update 成功返回结果

type AliexpressSolutionFeedInvalidateAPIRequest added in v1.2.0

type AliexpressSolutionFeedInvalidateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressSolutionFeedInvalidateAPIRequest aliexpress.solution.feed.invalidate API请求 aliexpress.solution.feed.invalidate

Api for invalidating specific feeds based on job Ids. Please use aliexpress.solution.feed.list.get to determine which job Ids needs to be sent for invalidation.

func NewAliexpressSolutionFeedInvalidateRequest

func NewAliexpressSolutionFeedInvalidateRequest() *AliexpressSolutionFeedInvalidateAPIRequest

NewAliexpressSolutionFeedInvalidateRequest 初始化AliexpressSolutionFeedInvalidateAPIRequest对象

func (AliexpressSolutionFeedInvalidateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSolutionFeedInvalidateAPIRequest) GetApiParams added in v1.2.0

func (r AliexpressSolutionFeedInvalidateAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSolutionFeedInvalidateAPIRequest) GetJobIdList added in v1.2.0

GetJobIdList JobIdList Getter

func (AliexpressSolutionFeedInvalidateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AliexpressSolutionFeedInvalidateAPIRequest) SetJobIdList added in v1.2.0

func (r *AliexpressSolutionFeedInvalidateAPIRequest) SetJobIdList(_jobIdList string) error

SetJobIdList is JobIdList Setter job id separated by ; No more than 100 job Ids could be passed in one request.

type AliexpressSolutionFeedInvalidateAPIResponse

type AliexpressSolutionFeedInvalidateAPIResponse struct {
	model.CommonResponse
	AliexpressSolutionFeedInvalidateAPIResponseModel
}

AliexpressSolutionFeedInvalidateAPIResponse aliexpress.solution.feed.invalidate API返回值 aliexpress.solution.feed.invalidate

Api for invalidating specific feeds based on job Ids. Please use aliexpress.solution.feed.list.get to determine which job Ids needs to be sent for invalidation.

type AliexpressSolutionFeedInvalidateAPIResponseModel added in v1.2.0

type AliexpressSolutionFeedInvalidateAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_solution_feed_invalidate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// successful list
	SuccessfulList []int64 `json:"successful_list,omitempty" xml:"successful_list>int64,omitempty"`
	// no need to be invalidated jobs. Usually caused by that the job is being or has already been executed.
	NoNeedInvalidationList []int64 `json:"no_need_invalidation_list,omitempty" xml:"no_need_invalidation_list>int64,omitempty"`
	// failed list
	FailedList []int64 `json:"failed_list,omitempty" xml:"failed_list>int64,omitempty"`
}

AliexpressSolutionFeedInvalidateAPIResponseModel is aliexpress.solution.feed.invalidate 成功返回结果

type AliexpressSolutionFeedListGetAPIRequest added in v1.2.0

type AliexpressSolutionFeedListGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressSolutionFeedListGetAPIRequest aliexpress.solution.feed.list.get API请求 aliexpress.solution.feed.list.get

API to query the feed list belonged to a seller

func NewAliexpressSolutionFeedListGetRequest

func NewAliexpressSolutionFeedListGetRequest() *AliexpressSolutionFeedListGetAPIRequest

NewAliexpressSolutionFeedListGetRequest 初始化AliexpressSolutionFeedListGetAPIRequest对象

func (AliexpressSolutionFeedListGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AliexpressSolutionFeedListGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSolutionFeedListGetAPIRequest) GetApiParams added in v1.2.0

func (r AliexpressSolutionFeedListGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSolutionFeedListGetAPIRequest) GetCurrentPage added in v1.2.0

GetCurrentPage CurrentPage Getter

func (AliexpressSolutionFeedListGetAPIRequest) GetFeedType added in v1.2.0

GetFeedType FeedType Getter

func (AliexpressSolutionFeedListGetAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (AliexpressSolutionFeedListGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AliexpressSolutionFeedListGetAPIRequest) GetStatus added in v1.2.0

GetStatus Status Getter

func (AliexpressSolutionFeedListGetAPIRequest) GetSubmittedTimeEnd added in v1.2.0

func (r AliexpressSolutionFeedListGetAPIRequest) GetSubmittedTimeEnd() string

GetSubmittedTimeEnd SubmittedTimeEnd Getter

func (AliexpressSolutionFeedListGetAPIRequest) GetSubmittedTimeStart added in v1.2.0

func (r AliexpressSolutionFeedListGetAPIRequest) GetSubmittedTimeStart() string

GetSubmittedTimeStart SubmittedTimeStart Getter

func (*AliexpressSolutionFeedListGetAPIRequest) SetCurrentPage added in v1.2.0

func (r *AliexpressSolutionFeedListGetAPIRequest) SetCurrentPage(_currentPage int64) error

SetCurrentPage is CurrentPage Setter current page

func (*AliexpressSolutionFeedListGetAPIRequest) SetFeedType added in v1.2.0

func (r *AliexpressSolutionFeedListGetAPIRequest) SetFeedType(_feedType string) error

SetFeedType is FeedType Setter feed type

func (*AliexpressSolutionFeedListGetAPIRequest) SetPageSize added in v1.2.0

func (r *AliexpressSolutionFeedListGetAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter page size

func (*AliexpressSolutionFeedListGetAPIRequest) SetStatus added in v1.2.0

SetStatus is Status Setter status of the job, currently there are 3 types: FINISH, PROCESSING, QUEUEING

func (*AliexpressSolutionFeedListGetAPIRequest) SetSubmittedTimeEnd added in v1.2.0

func (r *AliexpressSolutionFeedListGetAPIRequest) SetSubmittedTimeEnd(_submittedTimeEnd string) error

SetSubmittedTimeEnd is SubmittedTimeEnd Setter Search for feeds submitted before a specific time, format: yyyy-MM-dd hh:mm:ss. Timezone:America/Los_Angeles

func (*AliexpressSolutionFeedListGetAPIRequest) SetSubmittedTimeStart added in v1.2.0

func (r *AliexpressSolutionFeedListGetAPIRequest) SetSubmittedTimeStart(_submittedTimeStart string) error

SetSubmittedTimeStart is SubmittedTimeStart Setter Search for feeds submitted after a specific time, format: yyyy-MM-dd hh:mm:ss .Timezone:America/Los_Angeles

type AliexpressSolutionFeedListGetAPIResponse

type AliexpressSolutionFeedListGetAPIResponse struct {
	model.CommonResponse
	AliexpressSolutionFeedListGetAPIResponseModel
}

AliexpressSolutionFeedListGetAPIResponse aliexpress.solution.feed.list.get API返回值 aliexpress.solution.feed.list.get

API to query the feed list belonged to a seller

type AliexpressSolutionFeedListGetAPIResponseModel added in v1.2.0

type AliexpressSolutionFeedListGetAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_solution_feed_list_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// data
	JobList []BatchOperationJobDto `json:"job_list,omitempty" xml:"job_list>batch_operation_job_dto,omitempty"`
	// current page
	CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"`
	// page size
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// total count of jobs submitted for this seller
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// total page based on the total_count and page_size
	TotalPage int64 `json:"total_page,omitempty" xml:"total_page,omitempty"`
}

AliexpressSolutionFeedListGetAPIResponseModel is aliexpress.solution.feed.list.get 成功返回结果

type AliexpressSolutionFeedQueryAPIRequest added in v1.2.0

type AliexpressSolutionFeedQueryAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressSolutionFeedQueryAPIRequest aliexpress.solution.feed.query API请求 aliexpress.solution.feed.query

API for query the execution result of feed.

func NewAliexpressSolutionFeedQueryRequest

func NewAliexpressSolutionFeedQueryRequest() *AliexpressSolutionFeedQueryAPIRequest

NewAliexpressSolutionFeedQueryRequest 初始化AliexpressSolutionFeedQueryAPIRequest对象

func (AliexpressSolutionFeedQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r AliexpressSolutionFeedQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSolutionFeedQueryAPIRequest) GetApiParams added in v1.2.0

func (r AliexpressSolutionFeedQueryAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSolutionFeedQueryAPIRequest) GetJobId added in v1.2.0

GetJobId JobId Getter

func (AliexpressSolutionFeedQueryAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AliexpressSolutionFeedQueryAPIRequest) SetJobId added in v1.2.0

SetJobId is JobId Setter job id

type AliexpressSolutionFeedQueryAPIResponse

type AliexpressSolutionFeedQueryAPIResponse struct {
	model.CommonResponse
	AliexpressSolutionFeedQueryAPIResponseModel
}

AliexpressSolutionFeedQueryAPIResponse aliexpress.solution.feed.query API返回值 aliexpress.solution.feed.query

API for query the execution result of feed.

type AliexpressSolutionFeedQueryAPIResponseModel added in v1.2.0

type AliexpressSolutionFeedQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_solution_feed_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// Result list after all the item_content,which were previously submitted through API:aliexpress.solution.feed.submit, have been executed , including both successful and unsuccessful items.
	ResultList []SingleItemResponseDto `json:"result_list,omitempty" xml:"result_list>single_item_response_dto,omitempty"`
	// job id
	JobId int64 `json:"job_id,omitempty" xml:"job_id,omitempty"`
	// Count of successful items after executed under this job
	SuccessItemCount int64 `json:"success_item_count,omitempty" xml:"success_item_count,omitempty"`
	// Count of total items under this job
	TotalItemCount int64 `json:"total_item_count,omitempty" xml:"total_item_count,omitempty"`
}

AliexpressSolutionFeedQueryAPIResponseModel is aliexpress.solution.feed.query 成功返回结果

type AliexpressSolutionFeedSubmitAPIRequest added in v1.2.0

type AliexpressSolutionFeedSubmitAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressSolutionFeedSubmitAPIRequest aliexpress.solution.feed.submit API请求 aliexpress.solution.feed.submit

API for merchants to submit feed data. Please note for each seller, the recommended number of feeds submitted for each operation_type every 24 hours should be lee than 150, otherwise significant delay might be encountered for processing the feed.

func NewAliexpressSolutionFeedSubmitRequest

func NewAliexpressSolutionFeedSubmitRequest() *AliexpressSolutionFeedSubmitAPIRequest

NewAliexpressSolutionFeedSubmitRequest 初始化AliexpressSolutionFeedSubmitAPIRequest对象

func (AliexpressSolutionFeedSubmitAPIRequest) GetApiMethodName added in v1.2.0

func (r AliexpressSolutionFeedSubmitAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSolutionFeedSubmitAPIRequest) GetApiParams added in v1.2.0

func (r AliexpressSolutionFeedSubmitAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSolutionFeedSubmitAPIRequest) GetDeveloperFeatures added in v1.2.5

func (r AliexpressSolutionFeedSubmitAPIRequest) GetDeveloperFeatures() string

GetDeveloperFeatures DeveloperFeatures Getter

func (AliexpressSolutionFeedSubmitAPIRequest) GetItemList added in v1.2.0

GetItemList ItemList Getter

func (AliexpressSolutionFeedSubmitAPIRequest) GetOperationType added in v1.2.0

func (r AliexpressSolutionFeedSubmitAPIRequest) GetOperationType() string

GetOperationType OperationType Getter

func (AliexpressSolutionFeedSubmitAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AliexpressSolutionFeedSubmitAPIRequest) SetDeveloperFeatures added in v1.2.5

func (r *AliexpressSolutionFeedSubmitAPIRequest) SetDeveloperFeatures(_developerFeatures string) error

SetDeveloperFeatures is DeveloperFeatures Setter More information of the request.

func (*AliexpressSolutionFeedSubmitAPIRequest) SetItemList added in v1.2.0

SetItemList is ItemList Setter item list, maximum size: 2000.

func (*AliexpressSolutionFeedSubmitAPIRequest) SetOperationType added in v1.2.0

func (r *AliexpressSolutionFeedSubmitAPIRequest) SetOperationType(_operationType string) error

SetOperationType is OperationType Setter Currently support 4 types of feeds:PRODUCT_CREATE,PRODUCT_FULL_UPDATE,PRODUCT_STOCKS_UPDATE,PRODUCT_PRICES_UPDATE

type AliexpressSolutionFeedSubmitAPIResponse

type AliexpressSolutionFeedSubmitAPIResponse struct {
	model.CommonResponse
	AliexpressSolutionFeedSubmitAPIResponseModel
}

AliexpressSolutionFeedSubmitAPIResponse aliexpress.solution.feed.submit API返回值 aliexpress.solution.feed.submit

API for merchants to submit feed data. Please note for each seller, the recommended number of feeds submitted for each operation_type every 24 hours should be lee than 150, otherwise significant delay might be encountered for processing the feed.

type AliexpressSolutionFeedSubmitAPIResponseModel added in v1.2.0

type AliexpressSolutionFeedSubmitAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_solution_feed_submit_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// job id,which is for querying the job response later.
	JobId int64 `json:"job_id,omitempty" xml:"job_id,omitempty"`
}

AliexpressSolutionFeedSubmitAPIResponseModel is aliexpress.solution.feed.submit 成功返回结果

type AliexpressSolutionIssuePartnerRmaReverselogisticStateUpdateAPIRequest added in v1.2.0

type AliexpressSolutionIssuePartnerRmaReverselogisticStateUpdateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressSolutionIssuePartnerRmaReverselogisticStateUpdateAPIRequest aliexpress.solution.issue.partner.rma.reverselogistic.state.update API请求 aliexpress.solution.issue.partner.rma.reverselogistic.state.update

Updates the reverse logistics state for after sales services

func NewAliexpressSolutionIssuePartnerRmaReverselogisticStateUpdateRequest

func NewAliexpressSolutionIssuePartnerRmaReverselogisticStateUpdateRequest() *AliexpressSolutionIssuePartnerRmaReverselogisticStateUpdateAPIRequest

NewAliexpressSolutionIssuePartnerRmaReverselogisticStateUpdateRequest 初始化AliexpressSolutionIssuePartnerRmaReverselogisticStateUpdateAPIRequest对象

func (AliexpressSolutionIssuePartnerRmaReverselogisticStateUpdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSolutionIssuePartnerRmaReverselogisticStateUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSolutionIssuePartnerRmaReverselogisticStateUpdateAPIRequest) GetLogisticOrderStateUpdateRequest added in v1.2.0

GetLogisticOrderStateUpdateRequest LogisticOrderStateUpdateRequest Getter

func (AliexpressSolutionIssuePartnerRmaReverselogisticStateUpdateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AliexpressSolutionIssuePartnerRmaReverselogisticStateUpdateAPIRequest) SetLogisticOrderStateUpdateRequest added in v1.2.0

func (r *AliexpressSolutionIssuePartnerRmaReverselogisticStateUpdateAPIRequest) SetLogisticOrderStateUpdateRequest(_logisticOrderStateUpdateRequest *LogisticOrderStateUpdateRequest) error

SetLogisticOrderStateUpdateRequest is LogisticOrderStateUpdateRequest Setter Logistic order state update request

type AliexpressSolutionIssuePartnerRmaReverselogisticStateUpdateAPIResponse

type AliexpressSolutionIssuePartnerRmaReverselogisticStateUpdateAPIResponse struct {
	model.CommonResponse
	AliexpressSolutionIssuePartnerRmaReverselogisticStateUpdateAPIResponseModel
}

AliexpressSolutionIssuePartnerRmaReverselogisticStateUpdateAPIResponse aliexpress.solution.issue.partner.rma.reverselogistic.state.update API返回值 aliexpress.solution.issue.partner.rma.reverselogistic.state.update

Updates the reverse logistics state for after sales services

type AliexpressSolutionIssuePartnerRmaReverselogisticStateUpdateAPIResponseModel added in v1.2.0

type AliexpressSolutionIssuePartnerRmaReverselogisticStateUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_solution_issue_partner_rma_reverselogistic_state_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// Error code. 0 value is no error.
	CodeError string `json:"code_error,omitempty" xml:"code_error,omitempty"`
	// Error description
	ErrorDescription string `json:"error_description,omitempty" xml:"error_description,omitempty"`
}

AliexpressSolutionIssuePartnerRmaReverselogisticStateUpdateAPIResponseModel is aliexpress.solution.issue.partner.rma.reverselogistic.state.update 成功返回结果

type AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateAPIRequest added in v1.2.0

type AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateAPIRequest aliexpress.solution.issue.partner.rma.reverselogistic.trackinginfo.create API请求 aliexpress.solution.issue.partner.rma.reverselogistic.trackinginfo.create

Receives information about reverse logistics tracking info

func NewAliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateRequest

func NewAliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateRequest() *AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateAPIRequest

NewAliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateRequest 初始化AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateAPIRequest对象

func (AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateAPIRequest) GetLogisticsOrderCreationRequest added in v1.2.0

GetLogisticsOrderCreationRequest LogisticsOrderCreationRequest Getter

func (AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateAPIRequest) SetLogisticsOrderCreationRequest added in v1.2.0

func (r *AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateAPIRequest) SetLogisticsOrderCreationRequest(_logisticsOrderCreationRequest *LogisticOrderCreationForRmaRequest) error

SetLogisticsOrderCreationRequest is LogisticsOrderCreationRequest Setter Logistic's order creation request

type AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateAPIResponse

type AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateAPIResponse struct {
	model.CommonResponse
	AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateAPIResponseModel
}

AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateAPIResponse aliexpress.solution.issue.partner.rma.reverselogistic.trackinginfo.create API返回值 aliexpress.solution.issue.partner.rma.reverselogistic.trackinginfo.create

Receives information about reverse logistics tracking info

type AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateAPIResponseModel added in v1.2.0

type AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_solution_issue_partner_rma_reverselogistic_trackinginfo_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// Error code. 0 value is no error.
	CodeError string `json:"code_error,omitempty" xml:"code_error,omitempty"`
	// Error description
	ErrorDescription string `json:"error_description,omitempty" xml:"error_description,omitempty"`
}

AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateAPIResponseModel is aliexpress.solution.issue.partner.rma.reverselogistic.trackinginfo.create 成功返回结果

type AliexpressSolutionIssuePartnerRmaScreeningCreateAPIRequest added in v1.2.0

type AliexpressSolutionIssuePartnerRmaScreeningCreateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressSolutionIssuePartnerRmaScreeningCreateAPIRequest aliexpress.solution.issue.partner.rma.screening.create API请求 aliexpress.solution.issue.partner.rma.screening.create

Receives information about screening results from after sales partners

func NewAliexpressSolutionIssuePartnerRmaScreeningCreateRequest

func NewAliexpressSolutionIssuePartnerRmaScreeningCreateRequest() *AliexpressSolutionIssuePartnerRmaScreeningCreateAPIRequest

NewAliexpressSolutionIssuePartnerRmaScreeningCreateRequest 初始化AliexpressSolutionIssuePartnerRmaScreeningCreateAPIRequest对象

func (AliexpressSolutionIssuePartnerRmaScreeningCreateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSolutionIssuePartnerRmaScreeningCreateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSolutionIssuePartnerRmaScreeningCreateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AliexpressSolutionIssuePartnerRmaScreeningCreateAPIRequest) GetScreeningResultCreationRequest added in v1.2.0

GetScreeningResultCreationRequest ScreeningResultCreationRequest Getter

func (*AliexpressSolutionIssuePartnerRmaScreeningCreateAPIRequest) SetScreeningResultCreationRequest added in v1.2.0

func (r *AliexpressSolutionIssuePartnerRmaScreeningCreateAPIRequest) SetScreeningResultCreationRequest(_screeningResultCreationRequest *RmaScreeningCreationRequest) error

SetScreeningResultCreationRequest is ScreeningResultCreationRequest Setter Screening result creation request

type AliexpressSolutionIssuePartnerRmaScreeningCreateAPIResponse

type AliexpressSolutionIssuePartnerRmaScreeningCreateAPIResponse struct {
	model.CommonResponse
	AliexpressSolutionIssuePartnerRmaScreeningCreateAPIResponseModel
}

AliexpressSolutionIssuePartnerRmaScreeningCreateAPIResponse aliexpress.solution.issue.partner.rma.screening.create API返回值 aliexpress.solution.issue.partner.rma.screening.create

Receives information about screening results from after sales partners

type AliexpressSolutionIssuePartnerRmaScreeningCreateAPIResponseModel added in v1.2.0

type AliexpressSolutionIssuePartnerRmaScreeningCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_solution_issue_partner_rma_screening_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// error code. 0 means no error
	CodeError string `json:"code_error,omitempty" xml:"code_error,omitempty"`
	// error description
	ErrorDescription string `json:"error_description,omitempty" xml:"error_description,omitempty"`
}

AliexpressSolutionIssuePartnerRmaScreeningCreateAPIResponseModel is aliexpress.solution.issue.partner.rma.screening.create 成功返回结果

type AliexpressSolutionIssuePartnerRmaStateUpdateAPIRequest added in v1.2.0

type AliexpressSolutionIssuePartnerRmaStateUpdateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressSolutionIssuePartnerRmaStateUpdateAPIRequest aliexpress.solution.issue.partner.rma.state.update API请求 aliexpress.solution.issue.partner.rma.state.update

Receive changes in state updates for RMAs orders from after sales partners

func NewAliexpressSolutionIssuePartnerRmaStateUpdateRequest

func NewAliexpressSolutionIssuePartnerRmaStateUpdateRequest() *AliexpressSolutionIssuePartnerRmaStateUpdateAPIRequest

NewAliexpressSolutionIssuePartnerRmaStateUpdateRequest 初始化AliexpressSolutionIssuePartnerRmaStateUpdateAPIRequest对象

func (AliexpressSolutionIssuePartnerRmaStateUpdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSolutionIssuePartnerRmaStateUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSolutionIssuePartnerRmaStateUpdateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AliexpressSolutionIssuePartnerRmaStateUpdateAPIRequest) GetRmaStateUpdateRequest added in v1.2.0

GetRmaStateUpdateRequest RmaStateUpdateRequest Getter

func (*AliexpressSolutionIssuePartnerRmaStateUpdateAPIRequest) SetRmaStateUpdateRequest added in v1.2.0

func (r *AliexpressSolutionIssuePartnerRmaStateUpdateAPIRequest) SetRmaStateUpdateRequest(_rmaStateUpdateRequest *RmaStateUpdateRequest) error

SetRmaStateUpdateRequest is RmaStateUpdateRequest Setter RMA's order state update request

type AliexpressSolutionIssuePartnerRmaStateUpdateAPIResponse

type AliexpressSolutionIssuePartnerRmaStateUpdateAPIResponse struct {
	model.CommonResponse
	AliexpressSolutionIssuePartnerRmaStateUpdateAPIResponseModel
}

AliexpressSolutionIssuePartnerRmaStateUpdateAPIResponse aliexpress.solution.issue.partner.rma.state.update API返回值 aliexpress.solution.issue.partner.rma.state.update

Receive changes in state updates for RMAs orders from after sales partners

type AliexpressSolutionIssuePartnerRmaStateUpdateAPIResponseModel added in v1.2.0

type AliexpressSolutionIssuePartnerRmaStateUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_solution_issue_partner_rma_state_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// error code. 0 means no error
	CodeError string `json:"code_error,omitempty" xml:"code_error,omitempty"`
	// error description
	ErrorDescription string `json:"error_description,omitempty" xml:"error_description,omitempty"`
}

AliexpressSolutionIssuePartnerRmaStateUpdateAPIResponseModel is aliexpress.solution.issue.partner.rma.state.update 成功返回结果

type AliexpressSolutionMerchantProfileGetAPIRequest added in v1.2.0

type AliexpressSolutionMerchantProfileGetAPIRequest struct {
	model.Params
}

AliexpressSolutionMerchantProfileGetAPIRequest aliexpress.solution.merchant.profile.get API请求 aliexpress.solution.merchant.profile.get

API for oversea sellers to obtain the normal information, e.g. store id, registration country code.

func NewAliexpressSolutionMerchantProfileGetRequest

func NewAliexpressSolutionMerchantProfileGetRequest() *AliexpressSolutionMerchantProfileGetAPIRequest

NewAliexpressSolutionMerchantProfileGetRequest 初始化AliexpressSolutionMerchantProfileGetAPIRequest对象

func (AliexpressSolutionMerchantProfileGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSolutionMerchantProfileGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSolutionMerchantProfileGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

type AliexpressSolutionMerchantProfileGetAPIResponse

type AliexpressSolutionMerchantProfileGetAPIResponse struct {
	model.CommonResponse
	AliexpressSolutionMerchantProfileGetAPIResponseModel
}

AliexpressSolutionMerchantProfileGetAPIResponse aliexpress.solution.merchant.profile.get API返回值 aliexpress.solution.merchant.profile.get

API for oversea sellers to obtain the normal information, e.g. store id, registration country code.

type AliexpressSolutionMerchantProfileGetAPIResponseModel added in v1.2.0

type AliexpressSolutionMerchantProfileGetAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_solution_merchant_profile_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// country code which the merchant chose when registered
	CountryCode string `json:"country_code,omitempty" xml:"country_code,omitempty"`
	// merchant login id of Aliexpress
	MerchantLoginId string `json:"merchant_login_id,omitempty" xml:"merchant_login_id,omitempty"`
	// shop name
	ShopName string `json:"shop_name,omitempty" xml:"shop_name,omitempty"`
	// shop type
	ShopType string `json:"shop_type,omitempty" xml:"shop_type,omitempty"`
	// shop url
	ShopUrl string `json:"shop_url,omitempty" xml:"shop_url,omitempty"`
	// shop id
	ShopId int64 `json:"shop_id,omitempty" xml:"shop_id,omitempty"`
	// Indicate whether the mechant could post product or not. FALSE means the merchant could normally post product.
	ProductPostingForbidden bool `json:"product_posting_forbidden,omitempty" xml:"product_posting_forbidden,omitempty"`
}

AliexpressSolutionMerchantProfileGetAPIResponseModel is aliexpress.solution.merchant.profile.get 成功返回结果

type AliexpressSolutionOrderFulfillAPIRequest added in v1.2.0

type AliexpressSolutionOrderFulfillAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressSolutionOrderFulfillAPIRequest fulfill order API请求 aliexpress.solution.order.fulfill

fulfill order for seller

func NewAliexpressSolutionOrderFulfillRequest

func NewAliexpressSolutionOrderFulfillRequest() *AliexpressSolutionOrderFulfillAPIRequest

NewAliexpressSolutionOrderFulfillRequest 初始化AliexpressSolutionOrderFulfillAPIRequest对象

func (AliexpressSolutionOrderFulfillAPIRequest) GetApiMethodName added in v1.2.0

func (r AliexpressSolutionOrderFulfillAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSolutionOrderFulfillAPIRequest) GetApiParams added in v1.2.0

func (r AliexpressSolutionOrderFulfillAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSolutionOrderFulfillAPIRequest) GetDescription added in v1.2.0

GetDescription Description Getter

func (AliexpressSolutionOrderFulfillAPIRequest) GetLogisticsNo added in v1.2.0

GetLogisticsNo LogisticsNo Getter

func (AliexpressSolutionOrderFulfillAPIRequest) GetOutRef added in v1.2.0

GetOutRef OutRef Getter

func (AliexpressSolutionOrderFulfillAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AliexpressSolutionOrderFulfillAPIRequest) GetSendType added in v1.2.0

GetSendType SendType Getter

func (AliexpressSolutionOrderFulfillAPIRequest) GetServiceName added in v1.2.0

GetServiceName ServiceName Getter

func (AliexpressSolutionOrderFulfillAPIRequest) GetTrackingWebsite added in v1.2.0

func (r AliexpressSolutionOrderFulfillAPIRequest) GetTrackingWebsite() string

GetTrackingWebsite TrackingWebsite Getter

func (*AliexpressSolutionOrderFulfillAPIRequest) SetDescription added in v1.2.0

func (r *AliexpressSolutionOrderFulfillAPIRequest) SetDescription(_description string) error

SetDescription is Description Setter Remarks (only in English, and the length is limited to 512 characters)

func (*AliexpressSolutionOrderFulfillAPIRequest) SetLogisticsNo added in v1.2.0

func (r *AliexpressSolutionOrderFulfillAPIRequest) SetLogisticsNo(_logisticsNo string) error

SetLogisticsNo is LogisticsNo Setter logistics number

func (*AliexpressSolutionOrderFulfillAPIRequest) SetOutRef added in v1.2.0

SetOutRef is OutRef Setter order ID for delivery by the user

func (*AliexpressSolutionOrderFulfillAPIRequest) SetSendType added in v1.2.0

func (r *AliexpressSolutionOrderFulfillAPIRequest) SetSendType(_sendType string) error

SetSendType is SendType Setter Status including: all shipments (all), part of the delivery (part)

func (*AliexpressSolutionOrderFulfillAPIRequest) SetServiceName added in v1.2.0

func (r *AliexpressSolutionOrderFulfillAPIRequest) SetServiceName(_serviceName string) error

SetServiceName is ServiceName Setter Actual logistics service selected by the user (logistics service key: This interface obtains the currently supportable logistics according to all the supportable logistics services listed by api.listLogisticsService. Please visit the forum link http://bbs.seller.aliexpress.com/bbs/read.php?tid=266120&page=1&toread=1#tpc for the detailed list of logistics services supported by the platform.)

func (*AliexpressSolutionOrderFulfillAPIRequest) SetTrackingWebsite added in v1.2.0

func (r *AliexpressSolutionOrderFulfillAPIRequest) SetTrackingWebsite(_trackingWebsite string) error

SetTrackingWebsite is TrackingWebsite Setter When serviceName=other, fill in the corresponding tracking website.

type AliexpressSolutionOrderFulfillAPIResponse

type AliexpressSolutionOrderFulfillAPIResponse struct {
	model.CommonResponse
	AliexpressSolutionOrderFulfillAPIResponseModel
}

AliexpressSolutionOrderFulfillAPIResponse fulfill order API返回值 aliexpress.solution.order.fulfill

fulfill order for seller

type AliexpressSolutionOrderFulfillAPIResponseModel added in v1.2.0

type AliexpressSolutionOrderFulfillAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_solution_order_fulfill_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// object
	Result *BaseResult `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressSolutionOrderFulfillAPIResponseModel is fulfill order 成功返回结果

type AliexpressSolutionOrderGetAPIRequest added in v1.2.0

type AliexpressSolutionOrderGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressSolutionOrderGetAPIRequest get order list API请求 aliexpress.solution.order.get

Get Order List from AliExpress

func NewAliexpressSolutionOrderGetRequest

func NewAliexpressSolutionOrderGetRequest() *AliexpressSolutionOrderGetAPIRequest

NewAliexpressSolutionOrderGetRequest 初始化AliexpressSolutionOrderGetAPIRequest对象

func (AliexpressSolutionOrderGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AliexpressSolutionOrderGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSolutionOrderGetAPIRequest) GetApiParams added in v1.2.0

func (r AliexpressSolutionOrderGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSolutionOrderGetAPIRequest) GetParam0 added in v1.2.0

GetParam0 Param0 Getter

func (AliexpressSolutionOrderGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AliexpressSolutionOrderGetAPIRequest) SetParam0 added in v1.2.0

func (r *AliexpressSolutionOrderGetAPIRequest) SetParam0(_param0 *OrderQuery) error

SetParam0 is Param0 Setter param

type AliexpressSolutionOrderGetAPIResponse

type AliexpressSolutionOrderGetAPIResponse struct {
	model.CommonResponse
	AliexpressSolutionOrderGetAPIResponseModel
}

AliexpressSolutionOrderGetAPIResponse get order list API返回值 aliexpress.solution.order.get

Get Order List from AliExpress

type AliexpressSolutionOrderGetAPIResponseModel added in v1.2.0

type AliexpressSolutionOrderGetAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_solution_order_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *PaginationResult `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressSolutionOrderGetAPIResponseModel is get order list 成功返回结果

type AliexpressSolutionOrderInfoGetAPIRequest added in v1.2.0

type AliexpressSolutionOrderInfoGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressSolutionOrderInfoGetAPIRequest get order detail info API请求 aliexpress.solution.order.info.get

get order detail info

func NewAliexpressSolutionOrderInfoGetRequest

func NewAliexpressSolutionOrderInfoGetRequest() *AliexpressSolutionOrderInfoGetAPIRequest

NewAliexpressSolutionOrderInfoGetRequest 初始化AliexpressSolutionOrderInfoGetAPIRequest对象

func (AliexpressSolutionOrderInfoGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AliexpressSolutionOrderInfoGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSolutionOrderInfoGetAPIRequest) GetApiParams added in v1.2.0

func (r AliexpressSolutionOrderInfoGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSolutionOrderInfoGetAPIRequest) GetParam1 added in v1.2.0

GetParam1 Param1 Getter

func (AliexpressSolutionOrderInfoGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AliexpressSolutionOrderInfoGetAPIRequest) SetParam1 added in v1.2.0

SetParam1 is Param1 Setter param

type AliexpressSolutionOrderInfoGetAPIResponse

type AliexpressSolutionOrderInfoGetAPIResponse struct {
	model.CommonResponse
	AliexpressSolutionOrderInfoGetAPIResponseModel
}

AliexpressSolutionOrderInfoGetAPIResponse get order detail info API返回值 aliexpress.solution.order.info.get

get order detail info

type AliexpressSolutionOrderInfoGetAPIResponseModel added in v1.2.0

type AliexpressSolutionOrderInfoGetAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_solution_order_info_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *BaseResult `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressSolutionOrderInfoGetAPIResponseModel is get order detail info 成功返回结果

type AliexpressSolutionOrderReceiptinfoGetAPIRequest added in v1.2.0

type AliexpressSolutionOrderReceiptinfoGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressSolutionOrderReceiptinfoGetAPIRequest Get Order Receipt Info API请求 aliexpress.solution.order.receiptinfo.get

Get Order Receipt Info, Support multi stores requirements for Turkey sellers.

func NewAliexpressSolutionOrderReceiptinfoGetRequest

func NewAliexpressSolutionOrderReceiptinfoGetRequest() *AliexpressSolutionOrderReceiptinfoGetAPIRequest

NewAliexpressSolutionOrderReceiptinfoGetRequest 初始化AliexpressSolutionOrderReceiptinfoGetAPIRequest对象

func (AliexpressSolutionOrderReceiptinfoGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSolutionOrderReceiptinfoGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSolutionOrderReceiptinfoGetAPIRequest) GetParam1 added in v1.2.0

GetParam1 Param1 Getter

func (AliexpressSolutionOrderReceiptinfoGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AliexpressSolutionOrderReceiptinfoGetAPIRequest) SetParam1 added in v1.2.0

SetParam1 is Param1 Setter query param

type AliexpressSolutionOrderReceiptinfoGetAPIResponse

type AliexpressSolutionOrderReceiptinfoGetAPIResponse struct {
	model.CommonResponse
	AliexpressSolutionOrderReceiptinfoGetAPIResponseModel
}

AliexpressSolutionOrderReceiptinfoGetAPIResponse Get Order Receipt Info API返回值 aliexpress.solution.order.receiptinfo.get

Get Order Receipt Info, Support multi stores requirements for Turkey sellers.

type AliexpressSolutionOrderReceiptinfoGetAPIResponseModel added in v1.2.0

type AliexpressSolutionOrderReceiptinfoGetAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_solution_order_receiptinfo_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *OrderAddressDto `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressSolutionOrderReceiptinfoGetAPIResponseModel is Get Order Receipt Info 成功返回结果

type AliexpressSolutionProductCategorySuggestAPIRequest added in v1.2.5

type AliexpressSolutionProductCategorySuggestAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressSolutionProductCategorySuggestAPIRequest Suggest product categories API请求 aliexpress.solution.product.category.suggest

Suggest product categories by title and image.

func NewAliexpressSolutionProductCategorySuggestRequest added in v1.2.5

func NewAliexpressSolutionProductCategorySuggestRequest() *AliexpressSolutionProductCategorySuggestAPIRequest

NewAliexpressSolutionProductCategorySuggestRequest 初始化AliexpressSolutionProductCategorySuggestAPIRequest对象

func (AliexpressSolutionProductCategorySuggestAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSolutionProductCategorySuggestAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSolutionProductCategorySuggestAPIRequest) GetImageUrl added in v1.2.5

GetImageUrl ImageUrl Getter

func (AliexpressSolutionProductCategorySuggestAPIRequest) GetLanguage added in v1.2.5

GetLanguage Language Getter

func (AliexpressSolutionProductCategorySuggestAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AliexpressSolutionProductCategorySuggestAPIRequest) GetTitle added in v1.2.5

GetTitle Title Getter

func (*AliexpressSolutionProductCategorySuggestAPIRequest) SetImageUrl added in v1.2.5

SetImageUrl is ImageUrl Setter product main image

func (*AliexpressSolutionProductCategorySuggestAPIRequest) SetLanguage added in v1.2.5

SetLanguage is Language Setter language

func (*AliexpressSolutionProductCategorySuggestAPIRequest) SetTitle added in v1.2.5

SetTitle is Title Setter product title

type AliexpressSolutionProductCategorySuggestAPIResponse added in v1.2.5

type AliexpressSolutionProductCategorySuggestAPIResponse struct {
	model.CommonResponse
	AliexpressSolutionProductCategorySuggestAPIResponseModel
}

AliexpressSolutionProductCategorySuggestAPIResponse Suggest product categories API返回值 aliexpress.solution.product.category.suggest

Suggest product categories by title and image.

type AliexpressSolutionProductCategorySuggestAPIResponseModel added in v1.2.5

type AliexpressSolutionProductCategorySuggestAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_solution_product_category_suggest_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// suggest category list, order by priority
	SuggestCategoryList []SuggestCategory `json:"suggest_category_list,omitempty" xml:"suggest_category_list>suggest_category,omitempty"`
}

AliexpressSolutionProductCategorySuggestAPIResponseModel is Suggest product categories 成功返回结果

type AliexpressSolutionProductEditAPIRequest added in v1.2.0

type AliexpressSolutionProductEditAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressSolutionProductEditAPIRequest Edit Product API API请求 aliexpress.solution.product.edit

API for editing product, customized for Oversea merchants. Most of the input fields of this API is similar with aliexpress.solution.product.post. For editing, just fill in the fields you would like to edit, leave other fields to be blank.

func NewAliexpressSolutionProductEditRequest

func NewAliexpressSolutionProductEditRequest() *AliexpressSolutionProductEditAPIRequest

NewAliexpressSolutionProductEditRequest 初始化AliexpressSolutionProductEditAPIRequest对象

func (AliexpressSolutionProductEditAPIRequest) GetApiMethodName added in v1.2.0

func (r AliexpressSolutionProductEditAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSolutionProductEditAPIRequest) GetApiParams added in v1.2.0

func (r AliexpressSolutionProductEditAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSolutionProductEditAPIRequest) GetEditProductRequest added in v1.2.0

GetEditProductRequest EditProductRequest Getter

func (AliexpressSolutionProductEditAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AliexpressSolutionProductEditAPIRequest) SetEditProductRequest added in v1.2.0

func (r *AliexpressSolutionProductEditAPIRequest) SetEditProductRequest(_editProductRequest *PostProductRequestDto) error

SetEditProductRequest is EditProductRequest Setter input param

type AliexpressSolutionProductEditAPIResponse

type AliexpressSolutionProductEditAPIResponse struct {
	model.CommonResponse
	AliexpressSolutionProductEditAPIResponseModel
}

AliexpressSolutionProductEditAPIResponse Edit Product API API返回值 aliexpress.solution.product.edit

API for editing product, customized for Oversea merchants. Most of the input fields of this API is similar with aliexpress.solution.product.post. For editing, just fill in the fields you would like to edit, leave other fields to be blank.

type AliexpressSolutionProductEditAPIResponseModel added in v1.2.0

type AliexpressSolutionProductEditAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_solution_product_edit_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *PostItemResponseDto `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressSolutionProductEditAPIResponseModel is Edit Product API 成功返回结果

type AliexpressSolutionProductInfoGetAPIRequest added in v1.2.0

type AliexpressSolutionProductInfoGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressSolutionProductInfoGetAPIRequest Get Single Product Info API请求 aliexpress.solution.product.info.get

Get Single Product Info

func NewAliexpressSolutionProductInfoGetRequest

func NewAliexpressSolutionProductInfoGetRequest() *AliexpressSolutionProductInfoGetAPIRequest

NewAliexpressSolutionProductInfoGetRequest 初始化AliexpressSolutionProductInfoGetAPIRequest对象

func (AliexpressSolutionProductInfoGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSolutionProductInfoGetAPIRequest) GetApiParams added in v1.2.0

func (r AliexpressSolutionProductInfoGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSolutionProductInfoGetAPIRequest) GetProductId added in v1.2.0

GetProductId ProductId Getter

func (AliexpressSolutionProductInfoGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AliexpressSolutionProductInfoGetAPIRequest) SetProductId added in v1.2.0

func (r *AliexpressSolutionProductInfoGetAPIRequest) SetProductId(_productId int64) error

SetProductId is ProductId Setter product ID

type AliexpressSolutionProductInfoGetAPIResponse

type AliexpressSolutionProductInfoGetAPIResponse struct {
	model.CommonResponse
	AliexpressSolutionProductInfoGetAPIResponseModel
}

AliexpressSolutionProductInfoGetAPIResponse Get Single Product Info API返回值 aliexpress.solution.product.info.get

Get Single Product Info

type AliexpressSolutionProductInfoGetAPIResponseModel added in v1.2.0

type AliexpressSolutionProductInfoGetAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_solution_product_info_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *GlobalAeopFindProductResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressSolutionProductInfoGetAPIResponseModel is Get Single Product Info 成功返回结果

type AliexpressSolutionProductListGetAPIRequest added in v1.2.0

type AliexpressSolutionProductListGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressSolutionProductListGetAPIRequest Get product list API请求 aliexpress.solution.product.list.get

Get product list

func NewAliexpressSolutionProductListGetRequest

func NewAliexpressSolutionProductListGetRequest() *AliexpressSolutionProductListGetAPIRequest

NewAliexpressSolutionProductListGetRequest 初始化AliexpressSolutionProductListGetAPIRequest对象

func (AliexpressSolutionProductListGetAPIRequest) GetAeopAEProductListQuery added in v1.2.0

func (r AliexpressSolutionProductListGetAPIRequest) GetAeopAEProductListQuery() *ItemListQuery

GetAeopAEProductListQuery AeopAEProductListQuery Getter

func (AliexpressSolutionProductListGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSolutionProductListGetAPIRequest) GetApiParams added in v1.2.0

func (r AliexpressSolutionProductListGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSolutionProductListGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AliexpressSolutionProductListGetAPIRequest) SetAeopAEProductListQuery added in v1.2.0

func (r *AliexpressSolutionProductListGetAPIRequest) SetAeopAEProductListQuery(_aeopAEProductListQuery *ItemListQuery) error

SetAeopAEProductListQuery is AeopAEProductListQuery Setter request parameters to query

type AliexpressSolutionProductListGetAPIResponse

type AliexpressSolutionProductListGetAPIResponse struct {
	model.CommonResponse
	AliexpressSolutionProductListGetAPIResponseModel
}

AliexpressSolutionProductListGetAPIResponse Get product list API返回值 aliexpress.solution.product.list.get

Get product list

type AliexpressSolutionProductListGetAPIResponseModel added in v1.2.0

type AliexpressSolutionProductListGetAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_solution_product_list_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *ItemListResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressSolutionProductListGetAPIResponseModel is Get product list 成功返回结果

type AliexpressSolutionProductPostAPIRequest added in v1.2.0

type AliexpressSolutionProductPostAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressSolutionProductPostAPIRequest Product posting API API请求 aliexpress.solution.product.post

Product posting API for Oversea merchants, simplifying the complexity of integration that sellers and merchants face. For example, these sellers can use their own category and attributes instead of mapping those from AE.

func NewAliexpressSolutionProductPostRequest

func NewAliexpressSolutionProductPostRequest() *AliexpressSolutionProductPostAPIRequest

NewAliexpressSolutionProductPostRequest 初始化AliexpressSolutionProductPostAPIRequest对象

func (AliexpressSolutionProductPostAPIRequest) GetApiMethodName added in v1.2.0

func (r AliexpressSolutionProductPostAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSolutionProductPostAPIRequest) GetApiParams added in v1.2.0

func (r AliexpressSolutionProductPostAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSolutionProductPostAPIRequest) GetPostProductRequest added in v1.2.0

GetPostProductRequest PostProductRequest Getter

func (AliexpressSolutionProductPostAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AliexpressSolutionProductPostAPIRequest) SetPostProductRequest added in v1.2.0

func (r *AliexpressSolutionProductPostAPIRequest) SetPostProductRequest(_postProductRequest *PostProductRequestDto) error

SetPostProductRequest is PostProductRequest Setter input param

type AliexpressSolutionProductPostAPIResponse

type AliexpressSolutionProductPostAPIResponse struct {
	model.CommonResponse
	AliexpressSolutionProductPostAPIResponseModel
}

AliexpressSolutionProductPostAPIResponse Product posting API API返回值 aliexpress.solution.product.post

Product posting API for Oversea merchants, simplifying the complexity of integration that sellers and merchants face. For example, these sellers can use their own category and attributes instead of mapping those from AE.

type AliexpressSolutionProductPostAPIResponseModel added in v1.2.0

type AliexpressSolutionProductPostAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_solution_product_post_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *PostItemResponseDto `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressSolutionProductPostAPIResponseModel is Product posting API 成功返回结果

type AliexpressSolutionProductSchemaGetAPIRequest added in v1.2.0

type AliexpressSolutionProductSchemaGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressSolutionProductSchemaGetAPIRequest get product schema API请求 aliexpress.solution.product.schema.get

provide a new schema way to post product. With a pair of API, one for getting schema, one for posting instance

func NewAliexpressSolutionProductSchemaGetRequest

func NewAliexpressSolutionProductSchemaGetRequest() *AliexpressSolutionProductSchemaGetAPIRequest

NewAliexpressSolutionProductSchemaGetRequest 初始化AliexpressSolutionProductSchemaGetAPIRequest对象

func (AliexpressSolutionProductSchemaGetAPIRequest) GetAliexpressCategoryId added in v1.2.0

func (r AliexpressSolutionProductSchemaGetAPIRequest) GetAliexpressCategoryId() int64

GetAliexpressCategoryId AliexpressCategoryId Getter

func (AliexpressSolutionProductSchemaGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSolutionProductSchemaGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSolutionProductSchemaGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AliexpressSolutionProductSchemaGetAPIRequest) SetAliexpressCategoryId added in v1.2.0

func (r *AliexpressSolutionProductSchemaGetAPIRequest) SetAliexpressCategoryId(_aliexpressCategoryId int64) error

SetAliexpressCategoryId is AliexpressCategoryId Setter aliexpress category id. You can get it from category API

type AliexpressSolutionProductSchemaGetAPIResponse

type AliexpressSolutionProductSchemaGetAPIResponse struct {
	model.CommonResponse
	AliexpressSolutionProductSchemaGetAPIResponseModel
}

AliexpressSolutionProductSchemaGetAPIResponse get product schema API返回值 aliexpress.solution.product.schema.get

provide a new schema way to post product. With a pair of API, one for getting schema, one for posting instance

type AliexpressSolutionProductSchemaGetAPIResponseModel added in v1.2.0

type AliexpressSolutionProductSchemaGetAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_solution_product_schema_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *ProductSchemaDto `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressSolutionProductSchemaGetAPIResponseModel is get product schema 成功返回结果

type AliexpressSolutionSchemaProductFullUpdateAPIRequest added in v1.2.0

type AliexpressSolutionSchemaProductFullUpdateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressSolutionSchemaProductFullUpdateAPIRequest aliexpress.solution.schema.product.full.update API请求 aliexpress.solution.schema.product.full.update

Schema interface for product full update. QPS(Invoke per second) for this API is limited to 100 for each appkey and 50 for each seller.

func NewAliexpressSolutionSchemaProductFullUpdateRequest

func NewAliexpressSolutionSchemaProductFullUpdateRequest() *AliexpressSolutionSchemaProductFullUpdateAPIRequest

NewAliexpressSolutionSchemaProductFullUpdateRequest 初始化AliexpressSolutionSchemaProductFullUpdateAPIRequest对象

func (AliexpressSolutionSchemaProductFullUpdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSolutionSchemaProductFullUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSolutionSchemaProductFullUpdateAPIRequest) GetDeveloperFeatures added in v1.2.5

GetDeveloperFeatures DeveloperFeatures Getter

func (AliexpressSolutionSchemaProductFullUpdateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AliexpressSolutionSchemaProductFullUpdateAPIRequest) GetSchemaFullUpdateRequest added in v1.2.0

func (r AliexpressSolutionSchemaProductFullUpdateAPIRequest) GetSchemaFullUpdateRequest() string

GetSchemaFullUpdateRequest SchemaFullUpdateRequest Getter

func (*AliexpressSolutionSchemaProductFullUpdateAPIRequest) SetDeveloperFeatures added in v1.2.5

func (r *AliexpressSolutionSchemaProductFullUpdateAPIRequest) SetDeveloperFeatures(_developerFeatures string) error

SetDeveloperFeatures is DeveloperFeatures Setter More information of the request.

func (*AliexpressSolutionSchemaProductFullUpdateAPIRequest) SetSchemaFullUpdateRequest added in v1.2.0

func (r *AliexpressSolutionSchemaProductFullUpdateAPIRequest) SetSchemaFullUpdateRequest(_schemaFullUpdateRequest string) error

SetSchemaFullUpdateRequest is SchemaFullUpdateRequest Setter Product full update request. To learn how to generate the content, please refer to https://developers.aliexpress.com/en/doc.htm?docId=109760&docType=1. Be aware that the aliexpress_product_id field should be replaced by the product ID belonged to the seller.

type AliexpressSolutionSchemaProductFullUpdateAPIResponse

type AliexpressSolutionSchemaProductFullUpdateAPIResponse struct {
	model.CommonResponse
	AliexpressSolutionSchemaProductFullUpdateAPIResponseModel
}

AliexpressSolutionSchemaProductFullUpdateAPIResponse aliexpress.solution.schema.product.full.update API返回值 aliexpress.solution.schema.product.full.update

Schema interface for product full update. QPS(Invoke per second) for this API is limited to 100 for each appkey and 50 for each seller.

type AliexpressSolutionSchemaProductFullUpdateAPIResponseModel added in v1.2.0

type AliexpressSolutionSchemaProductFullUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_solution_schema_product_full_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// Product id that has been updated.
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
}

AliexpressSolutionSchemaProductFullUpdateAPIResponseModel is aliexpress.solution.schema.product.full.update 成功返回结果

type AliexpressSolutionSchemaProductInstancePostAPIRequest added in v1.2.0

type AliexpressSolutionSchemaProductInstancePostAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressSolutionSchemaProductInstancePostAPIRequest aliexpress.solution.schema.product.instance.post API请求 aliexpress.solution.schema.product.instance.post

Upload product based on json schema instance.QPS(Invoke per second) for this API is limited to 100 for each appkey and 50 for each seller.

func NewAliexpressSolutionSchemaProductInstancePostRequest

func NewAliexpressSolutionSchemaProductInstancePostRequest() *AliexpressSolutionSchemaProductInstancePostAPIRequest

NewAliexpressSolutionSchemaProductInstancePostRequest 初始化AliexpressSolutionSchemaProductInstancePostAPIRequest对象

func (AliexpressSolutionSchemaProductInstancePostAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSolutionSchemaProductInstancePostAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSolutionSchemaProductInstancePostAPIRequest) GetDeveloperFeatures added in v1.2.5

GetDeveloperFeatures DeveloperFeatures Getter

func (AliexpressSolutionSchemaProductInstancePostAPIRequest) GetProductInstanceRequest added in v1.2.0

func (r AliexpressSolutionSchemaProductInstancePostAPIRequest) GetProductInstanceRequest() string

GetProductInstanceRequest ProductInstanceRequest Getter

func (AliexpressSolutionSchemaProductInstancePostAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AliexpressSolutionSchemaProductInstancePostAPIRequest) SetDeveloperFeatures added in v1.2.5

func (r *AliexpressSolutionSchemaProductInstancePostAPIRequest) SetDeveloperFeatures(_developerFeatures string) error

SetDeveloperFeatures is DeveloperFeatures Setter More information of the request.

func (*AliexpressSolutionSchemaProductInstancePostAPIRequest) SetProductInstanceRequest added in v1.2.0

func (r *AliexpressSolutionSchemaProductInstancePostAPIRequest) SetProductInstanceRequest(_productInstanceRequest string) error

SetProductInstanceRequest is ProductInstanceRequest Setter Product instance data. The relative parameters description in schema json String are same as "aliexpress.solution.product.post" .Please note: the shipping_template_id should be replaced with your own shipping template id, which could be obtained through https://developers.aliexpress.com/en/doc.htm?docId=43456&docType=2

type AliexpressSolutionSchemaProductInstancePostAPIResponse

type AliexpressSolutionSchemaProductInstancePostAPIResponse struct {
	model.CommonResponse
	AliexpressSolutionSchemaProductInstancePostAPIResponseModel
}

AliexpressSolutionSchemaProductInstancePostAPIResponse aliexpress.solution.schema.product.instance.post API返回值 aliexpress.solution.schema.product.instance.post

Upload product based on json schema instance.QPS(Invoke per second) for this API is limited to 100 for each appkey and 50 for each seller.

type AliexpressSolutionSchemaProductInstancePostAPIResponseModel added in v1.2.0

type AliexpressSolutionSchemaProductInstancePostAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_solution_schema_product_instance_post_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result of the product posting
	Result *PostItemResponseDto `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressSolutionSchemaProductInstancePostAPIResponseModel is aliexpress.solution.schema.product.instance.post 成功返回结果

type AliexpressSolutionSellerCategoryTreeQueryAPIRequest added in v1.2.0

type AliexpressSolutionSellerCategoryTreeQueryAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressSolutionSellerCategoryTreeQueryAPIRequest aliexpress.solution.seller.category.tree.query API请求 aliexpress.solution.seller.category.tree.query

API for seller to query the category tree. Support only displaying the categories which seller have permissions to publish products.

func NewAliexpressSolutionSellerCategoryTreeQueryRequest

func NewAliexpressSolutionSellerCategoryTreeQueryRequest() *AliexpressSolutionSellerCategoryTreeQueryAPIRequest

NewAliexpressSolutionSellerCategoryTreeQueryRequest 初始化AliexpressSolutionSellerCategoryTreeQueryAPIRequest对象

func (AliexpressSolutionSellerCategoryTreeQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSolutionSellerCategoryTreeQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSolutionSellerCategoryTreeQueryAPIRequest) GetCategoryId added in v1.2.0

GetCategoryId CategoryId Getter

func (AliexpressSolutionSellerCategoryTreeQueryAPIRequest) GetFilterNoPermission added in v1.2.0

GetFilterNoPermission FilterNoPermission Getter

func (AliexpressSolutionSellerCategoryTreeQueryAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AliexpressSolutionSellerCategoryTreeQueryAPIRequest) SetCategoryId added in v1.2.0

func (r *AliexpressSolutionSellerCategoryTreeQueryAPIRequest) SetCategoryId(_categoryId int64) error

SetCategoryId is CategoryId Setter parent category ID. To obtain the root categories, setting the category_id = 0

func (*AliexpressSolutionSellerCategoryTreeQueryAPIRequest) SetFilterNoPermission added in v1.2.0

func (r *AliexpressSolutionSellerCategoryTreeQueryAPIRequest) SetFilterNoPermission(_filterNoPermission bool) error

SetFilterNoPermission is FilterNoPermission Setter filter the categories which seller does not have permission

type AliexpressSolutionSellerCategoryTreeQueryAPIResponse

type AliexpressSolutionSellerCategoryTreeQueryAPIResponse struct {
	model.CommonResponse
	AliexpressSolutionSellerCategoryTreeQueryAPIResponseModel
}

AliexpressSolutionSellerCategoryTreeQueryAPIResponse aliexpress.solution.seller.category.tree.query API返回值 aliexpress.solution.seller.category.tree.query

API for seller to query the category tree. Support only displaying the categories which seller have permissions to publish products.

type AliexpressSolutionSellerCategoryTreeQueryAPIResponseModel added in v1.2.0

type AliexpressSolutionSellerCategoryTreeQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_solution_seller_category_tree_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// children category list under category_id
	ChildrenCategoryList []CategoryInfo `json:"children_category_list,omitempty" xml:"children_category_list>category_info,omitempty"`
	// whether success or not
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

AliexpressSolutionSellerCategoryTreeQueryAPIResponseModel is aliexpress.solution.seller.category.tree.query 成功返回结果

type AliexpressSolutionSkuAttributeQueryAPIRequest added in v1.2.0

type AliexpressSolutionSkuAttributeQueryAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressSolutionSkuAttributeQueryAPIRequest Query the sku attribute information belonged to a specific category API请求 aliexpress.solution.sku.attribute.query

Query the sku attribute information belonged to a specific category, customized for oversea merchants.

func NewAliexpressSolutionSkuAttributeQueryRequest

func NewAliexpressSolutionSkuAttributeQueryRequest() *AliexpressSolutionSkuAttributeQueryAPIRequest

NewAliexpressSolutionSkuAttributeQueryRequest 初始化AliexpressSolutionSkuAttributeQueryAPIRequest对象

func (AliexpressSolutionSkuAttributeQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSolutionSkuAttributeQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSolutionSkuAttributeQueryAPIRequest) GetQuerySkuAttributeInfoRequest added in v1.2.0

GetQuerySkuAttributeInfoRequest QuerySkuAttributeInfoRequest Getter

func (AliexpressSolutionSkuAttributeQueryAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AliexpressSolutionSkuAttributeQueryAPIRequest) SetQuerySkuAttributeInfoRequest added in v1.2.0

func (r *AliexpressSolutionSkuAttributeQueryAPIRequest) SetQuerySkuAttributeInfoRequest(_querySkuAttributeInfoRequest *SkuAttributeInfoQueryRequest) error

SetQuerySkuAttributeInfoRequest is QuerySkuAttributeInfoRequest Setter input parameters

type AliexpressSolutionSkuAttributeQueryAPIResponse

type AliexpressSolutionSkuAttributeQueryAPIResponse struct {
	model.CommonResponse
	AliexpressSolutionSkuAttributeQueryAPIResponseModel
}

AliexpressSolutionSkuAttributeQueryAPIResponse Query the sku attribute information belonged to a specific category API返回值 aliexpress.solution.sku.attribute.query

Query the sku attribute information belonged to a specific category, customized for oversea merchants.

type AliexpressSolutionSkuAttributeQueryAPIResponseModel added in v1.2.0

type AliexpressSolutionSkuAttributeQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_solution_sku_attribute_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *SkuAttributeInfoQueryResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressSolutionSkuAttributeQueryAPIResponseModel is Query the sku attribute information belonged to a specific category 成功返回结果

type AttributeDto

type AttributeDto struct {
	// merchant's attribute name
	AttributeName string `json:"attribute_name,omitempty" xml:"attribute_name,omitempty"`
	// merchant's attribute value
	AttributeValue string `json:"attribute_value,omitempty" xml:"attribute_value,omitempty"`
	// aliexpress attribute value id, which could be obtained from aliexpress.solution.sku.attribute.query
	AliexpressAttributeValueId int64 `json:"aliexpress_attribute_value_id,omitempty" xml:"aliexpress_attribute_value_id,omitempty"`
	// aliexpress attribute name id, which could be obtained from aliexpress.solution.sku.attribute.query
	AliexpressAttributeNameId int64 `json:"aliexpress_attribute_name_id,omitempty" xml:"aliexpress_attribute_name_id,omitempty"`
}

AttributeDto 结构体

type BaseResult

type BaseResult struct {
	// error message
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// time stamp
	TimeStamp string `json:"time_stamp,omitempty" xml:"time_stamp,omitempty"`
	// error code
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// data
	Data *GlobalAeopTpOrderDetailDto `json:"data,omitempty" xml:"data,omitempty"`
	// success
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
}

BaseResult 结构体

type BatchOperationJobDto

type BatchOperationJobDto struct {
	// The status of the feed
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// feed type
	OperationType string `json:"operation_type,omitempty" xml:"operation_type,omitempty"`
	// job id
	JobId int64 `json:"job_id,omitempty" xml:"job_id,omitempty"`
}

BatchOperationJobDto 结构体

type CategoryInfo

type CategoryInfo struct {
	// multi langauge names of the categories
	MultiLanguageNames string `json:"multi_language_names,omitempty" xml:"multi_language_names,omitempty"`
	// category id
	ChildrenCategoryId int64 `json:"children_category_id,omitempty" xml:"children_category_id,omitempty"`
	// level of the categories. As for root categories, the level is 1
	Level int64 `json:"level,omitempty" xml:"level,omitempty"`
	// whether the category is leaf or not
	IsLeafCategory bool `json:"is_leaf_category,omitempty" xml:"is_leaf_category,omitempty"`
}

CategoryInfo 结构体

type CommonAttributeValueInfoDto

type CommonAttributeValueInfoDto struct {
	// aliexpress common attribute value
	AliexpressCommonAttributeValue string `json:"aliexpress_common_attribute_value,omitempty" xml:"aliexpress_common_attribute_value,omitempty"`
	// aliexpress common attribute value id
	AliexpressCommonAttributeValueId int64 `json:"aliexpress_common_attribute_value_id,omitempty" xml:"aliexpress_common_attribute_value_id,omitempty"`
}

CommonAttributeValueInfoDto 结构体

type Currency

type Currency struct {
	// Currency code
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// Symbol of the currency
	Symbol string `json:"symbol,omitempty" xml:"symbol,omitempty"`
	// Display name of the currency
	DisplayName string `json:"display_name,omitempty" xml:"display_name,omitempty"`
	// The default minimum accuracy of the currency
	DefaultFractionDigits int64 `json:"default_fraction_digits,omitempty" xml:"default_fraction_digits,omitempty"`
	// Numeric code of the currency
	NumericCode int64 `json:"numeric_code,omitempty" xml:"numeric_code,omitempty"`
}

Currency 结构体

type GlobalAeopAeMultimedia

type GlobalAeopAeMultimedia struct {
	// video information
	AeopAEVideos []GlobalAeopAeVideo `json:"aeop_a_e_videos,omitempty" xml:"aeop_a_e_videos>global_aeop_ae_video,omitempty"`
}

GlobalAeopAeMultimedia 结构体

type GlobalAeopAeProductProperty

type GlobalAeopAeProductProperty struct {
	// Customized attribute name
	AttrName string `json:"attr_name,omitempty" xml:"attr_name,omitempty"`
	// Customized attribute value
	AttrValue string `json:"attr_value,omitempty" xml:"attr_value,omitempty"`
	// unit of customized attribute value
	AttrValueUnit string `json:"attr_value_unit,omitempty" xml:"attr_value_unit,omitempty"`
	// Attribute Name ID
	AttrNameId int64 `json:"attr_name_id,omitempty" xml:"attr_name_id,omitempty"`
	// Attribute Value ID
	AttrValueId int64 `json:"attr_value_id,omitempty" xml:"attr_value_id,omitempty"`
}

GlobalAeopAeProductProperty 结构体

type GlobalAeopAeProductSku

type GlobalAeopAeProductSku struct {
	// List of SKU attributes
	AeopSKUPropertyList []GlobalAeopSkuProperty `json:"aeop_s_k_u_property_list,omitempty" xml:"aeop_s_k_u_property_list>global_aeop_sku_property,omitempty"`
	// all of warehouse goods will return barcode
	Barcode string `json:"barcode,omitempty" xml:"barcode,omitempty"`
	// The Currency code. "USD" will be used as the default value if this information is not provided; Currency code is mandatory for Russian sellers(RUB) and Spanish sellers(EUR).
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// SKU ID. Can uniquely represent a SKU within a product range.
	Id string `json:"id,omitempty" xml:"id,omitempty"`
	// Sku merchant code from the seller's system. Format: alphanumeric, length 20, does not contain spaces greater than and less than sign. If you only fill in the product price and product code, you need to create a complete SKU record submission, otherwise the product code can not be saved. The system will consider that only the retail price is submitted, but no SKU, resulting in product editing is not saved.
	SkuCode string `json:"sku_code,omitempty" xml:"sku_code,omitempty"`
	// Sku price. Value range: 0.01-100000; Such as: 200.07 means 200 US dollars 7 cents(if other currency_code is used, referring to the corresponding price in that currency, e.g., 200.07 Euros).
	SkuPrice string `json:"sku_price,omitempty" xml:"sku_price,omitempty"`
	// SKU discount price, also called sale price, value range: 0.01 - 100000.
	SkuDiscountPrice string `json:"sku_discount_price,omitempty" xml:"sku_discount_price,omitempty"`
	// EAN, or EAN13, stands for International Article Number (originally European Article Number). It is an extension of the UPC codes and you'll find them as barcodes on most everyday products. Sometimes the barcode is also called GTIN or GTIN13 (Global Trade Identifier)
	EanCode string `json:"ean_code,omitempty" xml:"ean_code,omitempty"`
	// Ranges from 1 to 999999 for one sku. The total stock of the entire product within multiple skus should also be in the range of 1 to 999999.
	IpmSkuStock int64 `json:"ipm_sku_stock,omitempty" xml:"ipm_sku_stock,omitempty"`
	// True means stock available for the sku, false means out of stock. The stock of at least one should be available.
	SkuStock bool `json:"sku_stock,omitempty" xml:"sku_stock,omitempty"`
}

GlobalAeopAeProductSku 结构体

type GlobalAeopAeVideo

type GlobalAeopAeVideo struct {
	// The status of the video
	MediaStatus string `json:"media_status,omitempty" xml:"media_status,omitempty"`
	// The type of video
	MediaType string `json:"media_type,omitempty" xml:"media_type,omitempty"`
	// URL of the video cover image
	PosterUrl string `json:"poster_url,omitempty" xml:"poster_url,omitempty"`
	// Seller admin ID
	AliMemberId int64 `json:"ali_member_id,omitempty" xml:"ali_member_id,omitempty"`
	// Video ID
	MediaId int64 `json:"media_id,omitempty" xml:"media_id,omitempty"`
}

GlobalAeopAeVideo 结构体

type GlobalAeopFindProductResultDto

type GlobalAeopFindProductResultDto struct {
	// Product properties
	AeopAeProductPropertys []GlobalAeopAeProductProperty `json:"aeop_ae_product_propertys,omitempty" xml:"aeop_ae_product_propertys>global_aeop_ae_product_property,omitempty"`
	// List for multiple skus of the product, expressed in json format.
	AeopAeProductSKUs []GlobalAeopAeProductSku `json:"aeop_ae_product_s_k_us,omitempty" xml:"aeop_ae_product_s_k_us>global_aeop_ae_product_sku,omitempty"`
	// All the groups that the product belongs to.
	GroupIds []int64 `json:"group_ids,omitempty" xml:"group_ids>int64,omitempty"`
	// multi language subject list
	MultiLanguageSubjectList []GlobalSubject `json:"multi_language_subject_list,omitempty" xml:"multi_language_subject_list>global_subject,omitempty"`
	// multo language description list
	MultiLanguageDescriptionList []GlobalDescription `json:"multi_language_description_list,omitempty" xml:"multi_language_description_list>global_description,omitempty"`
	// Required when is_pack_sell equals to true. It means weight to be correspondingly added. Range value: 0.001-500.000, reserving three decimal places and applying scale; Unit: kilogram(s). Please refer to the field is_pack_sell for details.
	AddWeight string `json:"add_weight,omitempty" xml:"add_weight,omitempty"`
	// the Currency code. "USD" will be used as the default value if this information is not provided; Currency code is mandatory for Russian sellers and Spanish sellers. For Russian sellers, RUB should be filled in while EUR for Spanish sellers.
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// Deprecated, please use multi_language_description_list
	Detail string `json:"detail,omitempty" xml:"detail,omitempty"`
	// created time
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// modified time
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// Product gross weight. Range value: 0.001-500.000, reserving three decimal places and applying scale; Unit: kilogram(s).
	GrossWeight string `json:"gross_weight,omitempty" xml:"gross_weight,omitempty"`
	// image urls for the product
	ImageURLs string `json:"image_u_r_ls,omitempty" xml:"image_u_r_ls,omitempty"`
	// mobile detail
	MobileDetail string `json:"mobile_detail,omitempty" xml:"mobile_detail,omitempty"`
	// Out of date, please ignore
	OwnerMemberId string `json:"owner_member_id,omitempty" xml:"owner_member_id,omitempty"`
	// Price for product
	ProductPrice string `json:"product_price,omitempty" xml:"product_price,omitempty"`
	// product status type
	ProductStatusType string `json:"product_status_type,omitempty" xml:"product_status_type,omitempty"`
	// Stock reduction strategy. It is divided into 2 types: stock reduction after placing order (place_order_withhold) or stock reduction after payment (payment_success_deduct).
	ReduceStrategy string `json:"reduce_strategy,omitempty" xml:"reduce_strategy,omitempty"`
	// Deprecated, please use multi_language_subject_list
	Subject string `json:"subject,omitempty" xml:"subject,omitempty"`
	// The offline date of the product
	WsOfflineDate string `json:"ws_offline_date,omitempty" xml:"ws_offline_date,omitempty"`
	// Required when is_pack_sell equals to true. Value range for pieces to be added: 1-1000. Please refer to the field is_pack_sell for details.
	AddUnit int64 `json:"add_unit,omitempty" xml:"add_unit,omitempty"`
	// Multimedia information
	AeopAEMultimedia *GlobalAeopAeMultimedia `json:"aeop_a_e_multimedia,omitempty" xml:"aeop_a_e_multimedia,omitempty"`
	// Required when is_pack_sell equals to true. It means no additional freight will be charged when the number of pieces to be purchased is under the base unit. Value range: 1-1000.
	BaseUnit int64 `json:"base_unit,omitempty" xml:"base_unit,omitempty"`
	// Bulk discount for wholesale. It must be multiplied by 100 and selected and saved as integer. Value range: 1-99. Note: It is discount, other than discount rate. For example, if the discount is 68, it should be selected and saved as 32. bulk_order and bulk_discount must have value or have no value simultaneously.
	BulkDiscount int64 `json:"bulk_discount,omitempty" xml:"bulk_discount,omitempty"`
	// Minimum bulk for wholesale. Value range: 2-100000. bulk_order and bulk_discount must have value or have no value simultaneously.
	BulkOrder int64 `json:"bulk_order,omitempty" xml:"bulk_order,omitempty"`
	// Product category ID. It must be leaf category to be obtained from the category interface.
	CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"`
	// Stocking period. Value range: 1-60; Unit: day(s). Referring to the preparation time before the order could be dispatched.
	DeliveryTime int64 `json:"delivery_time,omitempty" xml:"delivery_time,omitempty"`
	// shipping template id
	FreightTemplateId int64 `json:"freight_template_id,omitempty" xml:"freight_template_id,omitempty"`
	// Group ID that the product belongs to.
	GroupId int64 `json:"group_id,omitempty" xml:"group_id,omitempty"`
	// Number of piece(s) in each pack. In case of packing sale,lotNum>1, and in case of unpacking sale, lotNum=1.
	LotNum int64 `json:"lot_num,omitempty" xml:"lot_num,omitempty"`
	// Out of date, please ignore.
	OwnerMemberSeq int64 `json:"owner_member_seq,omitempty" xml:"owner_member_seq,omitempty"`
	// package height
	PackageHeight int64 `json:"package_height,omitempty" xml:"package_height,omitempty"`
	// package length
	PackageLength int64 `json:"package_length,omitempty" xml:"package_length,omitempty"`
	// package width
	PackageWidth int64 `json:"package_width,omitempty" xml:"package_width,omitempty"`
	// product ID
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// Product unit
	ProductUnit int64 `json:"product_unit,omitempty" xml:"product_unit,omitempty"`
	// Service template ID which the product is associated with
	PromiseTemplateId int64 `json:"promise_template_id,omitempty" xml:"promise_template_id,omitempty"`
	// Size chart template ID that the product is associated with.
	SizechartId int64 `json:"sizechart_id,omitempty" xml:"sizechart_id,omitempty"`
	// multi country price configuration
	MultiCountryPriceConfiguration *MultiCountryPriceConfigurationDto `json:"multi_country_price_configuration,omitempty" xml:"multi_country_price_configuration,omitempty"`
	// Whether customized weighting is enabled or not. True means customized weighting enabled. When is_pack_sell equals to true, add_unit, add_weight and base_unit must be filled in. For example, base_unit equals to 5, add_unit equals to 2 and add_weight equals to 1.2. It means that Basic shipping cost will cover the first 5 pieces, freight calculating of which will base on a single product. For every additional 2 pieces, the shipping cost will be added to the total shipping cost for 1.2kg
	IsPackSell bool `json:"is_pack_sell,omitempty" xml:"is_pack_sell,omitempty"`
	// Packing sale: true; Unpacking sale: false.
	PackageType bool `json:"package_type,omitempty" xml:"package_type,omitempty"`
}

GlobalAeopFindProductResultDto 结构体

type GlobalAeopSkuProperty

type GlobalAeopSkuProperty struct {
	// Customized attribute value name
	PropertyValueDefinitionName string `json:"property_value_definition_name,omitempty" xml:"property_value_definition_name,omitempty"`
	// Self-defined image url for this sku.
	SkuImage string `json:"sku_image,omitempty" xml:"sku_image,omitempty"`
	// SKU attribute value id
	PropertyValueId int64 `json:"property_value_id,omitempty" xml:"property_value_id,omitempty"`
	// SKU attribute name id
	SkuPropertyId int64 `json:"sku_property_id,omitempty" xml:"sku_property_id,omitempty"`
}

GlobalAeopSkuProperty 结构体

type GlobalAeopTpAddressDto

type GlobalAeopTpAddressDto struct {
	// Fax area code
	FaxArea string `json:"fax_area,omitempty" xml:"fax_area,omitempty"`
	// Postal code
	Zip string `json:"zip,omitempty" xml:"zip,omitempty"`
	// Fax country/region code
	FaxCountry string `json:"fax_country,omitempty" xml:"fax_country,omitempty"`
	// address 2
	Address2 string `json:"address2,omitempty" xml:"address2,omitempty"`
	// detail address
	DetailAddress string `json:"detail_address,omitempty" xml:"detail_address,omitempty"`
	// country/region
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// city
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// fax number
	FaxNumber string `json:"fax_number,omitempty" xml:"fax_number,omitempty"`
	// phone number
	PhoneNumber string `json:"phone_number,omitempty" xml:"phone_number,omitempty"`
	// address 1
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// province
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// Phone area code
	PhoneArea string `json:"phone_area,omitempty" xml:"phone_area,omitempty"`
	// Phone country/region code
	PhoneCountry string `json:"phone_country,omitempty" xml:"phone_country,omitempty"`
	// Recipient
	ContactPerson string `json:"contact_person,omitempty" xml:"contact_person,omitempty"`
	// mobile phone number
	MobileNo string `json:"mobile_no,omitempty" xml:"mobile_no,omitempty"`
	// localized address, currently only used in Russia
	LocalizedAddress string `json:"localized_address,omitempty" xml:"localized_address,omitempty"`
}

GlobalAeopTpAddressDto 结构体

type GlobalAeopTpChildOrderDto

type GlobalAeopTpChildOrderDto struct {
	// discount detail list for each child order
	ChildOrderDiscountDetailList []GlobalAeopTpSaleDiscountInfo `` /* 132-byte string literal not displayed */
	// snapshot ID
	SnapshotId string `json:"snapshot_id,omitempty" xml:"snapshot_id,omitempty"`
	// Extended attributes of product
	ProductAttributes string `json:"product_attributes,omitempty" xml:"product_attributes,omitempty"`
	// buyer memo
	BuyerMemo string `json:"buyer_memo,omitempty" xml:"buyer_memo,omitempty"`
	// product_unit
	ProductUnit string `json:"product_unit,omitempty" xml:"product_unit,omitempty"`
	// logistics type
	LogisticsType string `json:"logistics_type,omitempty" xml:"logistics_type,omitempty"`
	// frozen status(NO_FROZEN; IN_FROZEN)
	FrozenStatus string `json:"frozen_status,omitempty" xml:"frozen_status,omitempty"`
	// issue status
	IssueStatus string `json:"issue_status,omitempty" xml:"issue_status,omitempty"`
	// affiliate fee rate
	AfflicateFeeRate string `json:"afflicate_fee_rate,omitempty" xml:"afflicate_fee_rate,omitempty"`
	// logistics service name
	LogisticsServiceName string `json:"logistics_service_name,omitempty" xml:"logistics_service_name,omitempty"`
	// product snapshot Url
	ProductSnapUrl string `json:"product_snap_url,omitempty" xml:"product_snap_url,omitempty"`
	// Order Status:PLACE_ORDER_SUCCESS;  IN_CANCEL;  WAIT_SELLER_SEND_GOODS;  SELLER_PART_SEND_GOODS;  WAIT_BUYER_ACCEPT_GOODS;  FUND_PROCESSING; IN_ISSUE;  IN_FROZEN;  WAIT_SELLER_EXAMINE_MONEY;  RISK_CONTROL.
	OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// SKU code
	SkuCode string `json:"sku_code,omitempty" xml:"sku_code,omitempty"`
	// SELLER_SEND_GOODS" or "WAREHOUSE_SEND_GOODS"
	SendGoodsOperator string `json:"send_goods_operator,omitempty" xml:"send_goods_operator,omitempty"`
	// fund status (NOT_PAY;PAY_SUCCESS)
	FundStatus string `json:"fund_status,omitempty" xml:"fund_status,omitempty"`
	// escrow fee rate
	EscrowFeeRate string `json:"escrow_fee_rate,omitempty" xml:"escrow_fee_rate,omitempty"`
	// product image Url
	ProductImgUrl string `json:"product_img_url,omitempty" xml:"product_img_url,omitempty"`
	// child order ID
	ChildOrderId string `json:"child_order_id,omitempty" xml:"child_order_id,omitempty"`
	// product name
	ProductName string `json:"product_name,omitempty" xml:"product_name,omitempty"`
	// snapshot small photo path
	SnapshotSmallPhotoPath string `json:"snapshot_small_photo_path,omitempty" xml:"snapshot_small_photo_path,omitempty"`
	// Product specifications
	ProductStandard string `json:"product_standard,omitempty" xml:"product_standard,omitempty"`
	// cainiaoInternationalWarehouse
	LogisticsWarehouseType string `json:"logistics_warehouse_type,omitempty" xml:"logistics_warehouse_type,omitempty"`
	// How many products in one piece or lot
	LotNum int64 `json:"lot_num,omitempty" xml:"lot_num,omitempty"`
	// logistics amount
	LogisticsAmount *GlobalMoneyStr `json:"logistics_amount,omitempty" xml:"logistics_amount,omitempty"`
	// goods prepare days
	GoodsPrepareTime int64 `json:"goods_prepare_time,omitempty" xml:"goods_prepare_time,omitempty"`
	// refund info
	RefundInfo *GlobalAeopTpRefundInfoDto `json:"refund_info,omitempty" xml:"refund_info,omitempty"`
	// order ID
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// order sort id
	OrderSortId int64 `json:"order_sort_id,omitempty" xml:"order_sort_id,omitempty"`
	// order amount
	InitOrderAmt *GlobalMoneyStr `json:"init_order_amt,omitempty" xml:"init_order_amt,omitempty"`
	// child issue info
	ChildIssueInfo *GlobalAeopTpIssueInfoDto `json:"child_issue_info,omitempty" xml:"child_issue_info,omitempty"`
	// order loan info
	LoanInfo *GlobalAeopTpLoanInfoDto `json:"loan_info,omitempty" xml:"loan_info,omitempty"`
	// product ID
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// product quantity
	ProductCount int64 `json:"product_count,omitempty" xml:"product_count,omitempty"`
	// product price
	ProductPrice *GlobalMoneyStr `json:"product_price,omitempty" xml:"product_price,omitempty"`
	// discount amount of child order
	ChildOrderDiscountInfo *GlobalMoneyStr `json:"child_order_discount_info,omitempty" xml:"child_order_discount_info,omitempty"`
	// An amount to adjust the product price on, for example, if the seller wants to give buyer a personal discount by the "Adjust price"  button in order management backend.
	ChildOrderAdjustAmount *GlobalMoneyStr `json:"child_order_adjust_amount,omitempty" xml:"child_order_adjust_amount,omitempty"`
}

GlobalAeopTpChildOrderDto 结构体

type GlobalAeopTpIssueInfoDto

type GlobalAeopTpIssueInfoDto struct {
	// Issue model
	IssueModel string `json:"issue_model,omitempty" xml:"issue_model,omitempty"`
	// Issue status
	IssueStatus string `json:"issue_status,omitempty" xml:"issue_status,omitempty"`
	// issue creation time
	IssueTime string `json:"issue_time,omitempty" xml:"issue_time,omitempty"`
}

GlobalAeopTpIssueInfoDto 结构体

type GlobalAeopTpLoanInfoDto

type GlobalAeopTpLoanInfoDto struct {
	// loan time
	LoanTime string `json:"loan_time,omitempty" xml:"loan_time,omitempty"`
	// loan amount
	LoanAmount *GlobalMoneyStr `json:"loan_amount,omitempty" xml:"loan_amount,omitempty"`
}

GlobalAeopTpLoanInfoDto 结构体

type GlobalAeopTpLogisticInfoDto

type GlobalAeopTpLogisticInfoDto struct {
	// logistics tracking number
	LogisticsNo string `json:"logistics_no,omitempty" xml:"logistics_no,omitempty"`
	// un-receive reason,such as Country does not match
	RecvStatusDesc string `json:"recv_status_desc,omitempty" xml:"recv_status_desc,omitempty"`
	// logistics service show name
	LogisticsServiceName string `json:"logistics_service_name,omitempty" xml:"logistics_service_name,omitempty"`
	// send time
	GmtSend string `json:"gmt_send,omitempty" xml:"gmt_send,omitempty"`
	// received time
	GmtReceived string `json:"gmt_received,omitempty" xml:"gmt_received,omitempty"`
	// logistics service name key
	LogisticsTypeCode string `json:"logistics_type_code,omitempty" xml:"logistics_type_code,omitempty"`
	// receive status。(default:initial value; received:; not_received; suspected_received)
	ReceiveStatus string `json:"receive_status,omitempty" xml:"receive_status,omitempty"`
	// ship order id
	ShipOrderId int64 `json:"ship_order_id,omitempty" xml:"ship_order_id,omitempty"`
	// to get logistics tracking information
	HaveTrackingInfo bool `json:"have_tracking_info,omitempty" xml:"have_tracking_info,omitempty"`
}

GlobalAeopTpLogisticInfoDto 结构体

type GlobalAeopTpOperationLogDto

type GlobalAeopTpOperationLogDto struct {
	// order modification time
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// buyer memo
	Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
	// action type
	ActionType string `json:"action_type,omitempty" xml:"action_type,omitempty"`
	// operator
	Operator string `json:"operator,omitempty" xml:"operator,omitempty"`
	// order creation time
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// child order ID
	ChildOrderId int64 `json:"child_order_id,omitempty" xml:"child_order_id,omitempty"`
	// order ID
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

GlobalAeopTpOperationLogDto 结构体

type GlobalAeopTpOrderDetailDto

type GlobalAeopTpOrderDetailDto struct {
	// Order Message list(deprecated)
	OrderMsgList []GlobalAeopTpOrderMsgDto `json:"order_msg_list,omitempty" xml:"order_msg_list>global_aeop_tp_order_msg_dto,omitempty"`
	// child order ext info list
	ChildOrderExtInfoList []GlobalAeopTpOrderProductInfoDto `json:"child_order_ext_info_list,omitempty" xml:"child_order_ext_info_list>global_aeop_tp_order_product_info_dto,omitempty"`
	// logistics info
	LogisticInfoList []GlobalAeopTpLogisticInfoDto `json:"logistic_info_list,omitempty" xml:"logistic_info_list>global_aeop_tp_logistic_info_dto,omitempty"`
	// operation details list
	OprLogDtoList []GlobalAeopTpOperationLogDto `json:"opr_log_dto_list,omitempty" xml:"opr_log_dto_list>global_aeop_tp_operation_log_dto,omitempty"`
	// child order list
	ChildOrderList []GlobalAeopTpChildOrderDto `json:"child_order_list,omitempty" xml:"child_order_list>global_aeop_tp_child_order_dto,omitempty"`
	// modified time, it's US pacific time
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// Order end time
	GmtTradeEnd string `json:"gmt_trade_end,omitempty" xml:"gmt_trade_end,omitempty"`
	// buyer login id
	Buyerloginid string `json:"buyerloginid,omitempty" xml:"buyerloginid,omitempty"`
	// buyer memo
	Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
	// logisitcs escrow fee rate(Deprecated)
	LogisitcsEscrowFeeRate string `json:"logisitcs_escrow_fee_rate,omitempty" xml:"logisitcs_escrow_fee_rate,omitempty"`
	// Payment settlement currency
	SettlementCurrency string `json:"settlement_currency,omitempty" xml:"settlement_currency,omitempty"`
	// order pay amount(settlemet currency)
	PayAmountBySettlementCur string `json:"pay_amount_by_settlement_cur,omitempty" xml:"pay_amount_by_settlement_cur,omitempty"`
	// frozen status
	FrozenStatus string `json:"frozen_status,omitempty" xml:"frozen_status,omitempty"`
	// issue status
	IssueStatus string `json:"issue_status,omitempty" xml:"issue_status,omitempty"`
	// logistics status:NO_LOGISTICS 、 WAIT_SELLER_SEND_GOODS, SELLER_SEND_PART_GOODS, SELLER_SEND_GOODS, BUYER_ACCEPT_GOODS,NO_LOGISTICS
	LogisticsStatus string `json:"logistics_status,omitempty" xml:"logistics_status,omitempty"`
	// Seller full name
	SellerSignerFullname string `json:"seller_signer_fullname,omitempty" xml:"seller_signer_fullname,omitempty"`
	// Current status expiration date
	OverTimeLeft string `json:"over_time_left,omitempty" xml:"over_time_left,omitempty"`
	// order end reason
	OrderEndReason string `json:"order_end_reason,omitempty" xml:"order_end_reason,omitempty"`
	// order creation time
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// seller operator login ID
	SellerOperatorLoginId string `json:"seller_operator_login_id,omitempty" xml:"seller_operator_login_id,omitempty"`
	// payment type
	PaymentType string `json:"payment_type,omitempty" xml:"payment_type,omitempty"`
	// Order Status:PLACE_ORDER_SUCCESS;  IN_CANCEL;  WAIT_SELLER_SEND_GOODS;  SELLER_PART_SEND_GOODS;  WAIT_BUYER_ACCEPT_GOODS;  FUND_PROCESSING; IN_ISSUE;  IN_FROZEN;  WAIT_SELLER_EXAMINE_MONEY;  RISK_CONTROL.
	OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// buyer full name
	BuyerSignerFullname string `json:"buyer_signer_fullname,omitempty" xml:"buyer_signer_fullname,omitempty"`
	// successful payment time
	GmtPaySuccess string `json:"gmt_pay_success,omitempty" xml:"gmt_pay_success,omitempty"`
	// loan status
	LoanStatus string `json:"loan_status,omitempty" xml:"loan_status,omitempty"`
	// seller operator ali login id
	SellerOperatorAliidloginid string `json:"seller_operator_aliidloginid,omitempty" xml:"seller_operator_aliidloginid,omitempty"`
	// fund status
	FundStatus string `json:"fund_status,omitempty" xml:"fund_status,omitempty"`
	// cpf  number of order
	CpfNumber string `json:"cpf_number,omitempty" xml:"cpf_number,omitempty"`
	// pick-up type of order
	OfflinePickupType string `json:"offline_pickup_type,omitempty" xml:"offline_pickup_type,omitempty"`
	// pickup point code of the specific order
	OfflinePickupPointCode string `json:"offline_pickup_point_code,omitempty" xml:"offline_pickup_point_code,omitempty"`
	// buyer info
	BuyerInfo *GlobalAeopTpPersonDto `json:"buyer_info,omitempty" xml:"buyer_info,omitempty"`
	// receipt address
	ReceiptAddress *GlobalAeopTpAddressDto `json:"receipt_address,omitempty" xml:"receipt_address,omitempty"`
	// logistics amount
	LogisticsAmount *GlobalMoneyStr `json:"logistics_amount,omitempty" xml:"logistics_amount,omitempty"`
	// issue info
	IssueInfo *GlobalAeopTpIssueInfoDto `json:"issue_info,omitempty" xml:"issue_info,omitempty"`
	// refund info
	RefundInfo *GlobalAeopTpRefundInfoDto `json:"refund_info,omitempty" xml:"refund_info,omitempty"`
	// order ID
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// order amount
	OrderAmount *GlobalMoneyStr `json:"order_amount,omitempty" xml:"order_amount,omitempty"`
	// order amount
	InitOderAmount *GlobalMoneyStr `json:"init_oder_amount,omitempty" xml:"init_oder_amount,omitempty"`
	// loan info
	LoanInfo *GlobalAeopTpLoanInfoDto `json:"loan_info,omitempty" xml:"loan_info,omitempty"`
	// escrow fee (deprecated)
	EscrowFee *GlobalMoneyStr `json:"escrow_fee,omitempty" xml:"escrow_fee,omitempty"`
	// Order discount total amount (sum of the platform and seller discounts)
	OrderDiscountInfo *GlobalMoneyStr `json:"order_discount_info,omitempty" xml:"order_discount_info,omitempty"`
	// phone order or not
	IsPhone bool `json:"is_phone,omitempty" xml:"is_phone,omitempty"`
}

GlobalAeopTpOrderDetailDto 结构体

type GlobalAeopTpOrderMsgDto

type GlobalAeopTpOrderMsgDto struct {
	// order creation time
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// order modification time
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// message status
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// meesage content
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// message sender ( buyer; seller)
	Poster string `json:"poster,omitempty" xml:"poster,omitempty"`
	// sender login ID
	SenderLoginId string `json:"sender_login_id,omitempty" xml:"sender_login_id,omitempty"`
	// sender first name
	SenderFirstName string `json:"sender_first_name,omitempty" xml:"sender_first_name,omitempty"`
	// send last name
	SenderLastName string `json:"sender_last_name,omitempty" xml:"sender_last_name,omitempty"`
	// receiver ID
	ReceiverLoginId string `json:"receiver_login_id,omitempty" xml:"receiver_login_id,omitempty"`
	// receiver first name
	ReceiverFirstName string `json:"receiver_first_name,omitempty" xml:"receiver_first_name,omitempty"`
	// receiver last name
	ReceiverLastName string `json:"receiver_last_name,omitempty" xml:"receiver_last_name,omitempty"`
	// order id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// business order id
	BusinessOrderId int64 `json:"business_order_id,omitempty" xml:"business_order_id,omitempty"`
	// sender account seq
	SenderSeq int64 `json:"sender_seq,omitempty" xml:"sender_seq,omitempty"`
	// sender admin account seq
	SenderAdminSeq int64 `json:"sender_admin_seq,omitempty" xml:"sender_admin_seq,omitempty"`
	// receiver account seq
	ReceiverSeq int64 `json:"receiver_seq,omitempty" xml:"receiver_seq,omitempty"`
	// receiver admin account seq
	ReceiverAdminSeq int64 `json:"receiver_admin_seq,omitempty" xml:"receiver_admin_seq,omitempty"`
}

GlobalAeopTpOrderMsgDto 结构体

type GlobalAeopTpOrderProductInfoDto

type GlobalAeopTpOrderProductInfoDto struct {
	// product SKU details
	Sku string `json:"sku,omitempty" xml:"sku,omitempty"`
	// product name
	ProductName string `json:"product_name,omitempty" xml:"product_name,omitempty"`
	// Leaf category Id of the product
	CategoryId string `json:"category_id,omitempty" xml:"category_id,omitempty"`
	// product quantity
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// product unit price
	UnitPrice *GlobalMoneyStr `json:"unit_price,omitempty" xml:"unit_price,omitempty"`
	// product id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
}

GlobalAeopTpOrderProductInfoDto 结构体

type GlobalAeopTpPersonDto

type GlobalAeopTpPersonDto struct {
	// login ID
	LoginId string `json:"login_id,omitempty" xml:"login_id,omitempty"`
	// last name
	LastName string `json:"last_name,omitempty" xml:"last_name,omitempty"`
	// first name
	FirstName string `json:"first_name,omitempty" xml:"first_name,omitempty"`
	// country/region
	Country string `json:"country,omitempty" xml:"country,omitempty"`
}

GlobalAeopTpPersonDto 结构体

type GlobalAeopTpRefundInfoDto

type GlobalAeopTpRefundInfoDto struct {
	// refund reason
	RefundReason string `json:"refund_reason,omitempty" xml:"refund_reason,omitempty"`
	// refund status: wait_refund, refund_ok, refund_cancel,  close,  refund_frozen
	RefundStatus string `json:"refund_status,omitempty" xml:"refund_status,omitempty"`
	// refund type
	RefundType string `json:"refund_type,omitempty" xml:"refund_type,omitempty"`
	// refund time
	RefundTime string `json:"refund_time,omitempty" xml:"refund_time,omitempty"`
	// refund coupon amount
	RefundCouponAmt *GlobalMoneyStr `json:"refund_coupon_amt,omitempty" xml:"refund_coupon_amt,omitempty"`
	// refund cash amount
	RefundCashAmt *GlobalMoneyStr `json:"refund_cash_amt,omitempty" xml:"refund_cash_amt,omitempty"`
}

GlobalAeopTpRefundInfoDto 结构体

type GlobalAeopTpSaleDiscountInfo

type GlobalAeopTpSaleDiscountInfo struct {
	// Promotion owner, can be Seller, Platform or Mix.
	PromotionOwner string `json:"promotion_owner,omitempty" xml:"promotion_owner,omitempty"`
	// promotion type
	PromotionType string `json:"promotion_type,omitempty" xml:"promotion_type,omitempty"`
	// promotion ID
	PromotionId string `json:"promotion_id,omitempty" xml:"promotion_id,omitempty"`
	// discount detail
	DiscountDetail *GlobalMoneyStr `json:"discount_detail,omitempty" xml:"discount_detail,omitempty"`
}

GlobalAeopTpSaleDiscountInfo 结构体

type GlobalDescription

type GlobalDescription struct {
	// locale of the descripiton
	Locale string `json:"locale,omitempty" xml:"locale,omitempty"`
	// mobile detail
	MobileDetail string `json:"mobile_detail,omitempty" xml:"mobile_detail,omitempty"`
	// web detail
	WebDetail string `json:"web_detail,omitempty" xml:"web_detail,omitempty"`
}

GlobalDescription 结构体

type GlobalMoneyStr

type GlobalMoneyStr struct {
	// Currency code
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// Amount
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// Amount
	AmountStr string `json:"amount_str,omitempty" xml:"amount_str,omitempty"`
	// Cent
	Cent int64 `json:"cent,omitempty" xml:"cent,omitempty"`
	// The factor to the smallest currency unit
	CentFactor int64 `json:"cent_factor,omitempty" xml:"cent_factor,omitempty"`
	// Currency description
	Currency *Currency `json:"currency,omitempty" xml:"currency,omitempty"`
}

GlobalMoneyStr 结构体

type GlobalSubject

type GlobalSubject struct {
	// locale of the subject
	Locale string `json:"locale,omitempty" xml:"locale,omitempty"`
	// subject
	Subject string `json:"subject,omitempty" xml:"subject,omitempty"`
}

GlobalSubject 结构体

type ItemDisplayDto

type ItemDisplayDto struct {
	// product offline time
	WsOfflineDate string `json:"ws_offline_date,omitempty" xml:"ws_offline_date,omitempty"`
	// product offline reason
	WsDisplay string `json:"ws_display,omitempty" xml:"ws_display,omitempty"`
	// product tite
	Subject string `json:"subject,omitempty" xml:"subject,omitempty"`
	// product src
	Src string `json:"src,omitempty" xml:"src,omitempty"`
	// min price among all skus of the product
	ProductMinPrice string `json:"product_min_price,omitempty" xml:"product_min_price,omitempty"`
	// max price among all skus of the product
	ProductMaxPrice string `json:"product_max_price,omitempty" xml:"product_max_price,omitempty"`
	// seller login id
	OwnerMemberId string `json:"owner_member_id,omitempty" xml:"owner_member_id,omitempty"`
	// product image urls
	ImageURLs string `json:"image_u_r_ls,omitempty" xml:"image_u_r_ls,omitempty"`
	// time that product was modifed
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// time that product was created
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// currency code
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// Coupon start date, GMT+8
	CouponStartDate string `json:"coupon_start_date,omitempty" xml:"coupon_start_date,omitempty"`
	// Coupon end date, GMT+8
	CouponEndDate string `json:"coupon_end_date,omitempty" xml:"coupon_end_date,omitempty"`
	// product id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// seller member seq
	OwnerMemberSeq int64 `json:"owner_member_seq,omitempty" xml:"owner_member_seq,omitempty"`
	// group id
	GroupId int64 `json:"group_id,omitempty" xml:"group_id,omitempty"`
	// freight template id
	FreightTemplateId int64 `json:"freight_template_id,omitempty" xml:"freight_template_id,omitempty"`
}

ItemDisplayDto 结构体

type ItemListQuery

type ItemListQuery struct {
	// Product Ids which needs to be excluded
	ExceptedProductIds []int64 `json:"excepted_product_ids,omitempty" xml:"excepted_product_ids>int64,omitempty"`
	// Login ID of product owner
	OwnerMemberId string `json:"owner_member_id,omitempty" xml:"owner_member_id,omitempty"`
	// onSelling	Product operation status. Currently, it is divided into 4 types with the following input parameters respectively: onSelling; offline; auditing; and editingRequired.
	ProductStatusType string `json:"product_status_type,omitempty" xml:"product_status_type,omitempty"`
	// Fuzzy search field by product subject. It only supports half-width numbers in English with a length not more than 128.
	Subject string `json:"subject,omitempty" xml:"subject,omitempty"`
	// Reasons for product offline: expire_offline; user_offline; violate_offline; punish_offline; and degrade_offline.
	WsDisplay string `json:"ws_display,omitempty" xml:"ws_display,omitempty"`
	// Whether having national quotation. "y" for yes, "n" for no.
	HaveNationalQuote string `json:"have_national_quote,omitempty" xml:"have_national_quote,omitempty"`
	// Search for products created after a specific time, format: yyyy-MM-dd hh:mm:ss
	GmtCreateStart string `json:"gmt_create_start,omitempty" xml:"gmt_create_start,omitempty"`
	// Search for products created before a specific time,yyyy-MM-dd hh:mm:ss
	GmtCreateEnd string `json:"gmt_create_end,omitempty" xml:"gmt_create_end,omitempty"`
	// Search for product modified after a specific time,yyyy-MM-dd hh:mm:ss
	GmtModifiedStart string `json:"gmt_modified_start,omitempty" xml:"gmt_modified_start,omitempty"`
	// Search for products modified before a specific time,yyyy-MM-dd hh:mm:ss
	GmtModifiedEnd string `json:"gmt_modified_end,omitempty" xml:"gmt_modified_end,omitempty"`
	// merchant sku code
	SkuCode string `json:"sku_code,omitempty" xml:"sku_code,omitempty"`
	// Current page of products to be needed. The default page is page 1.
	CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"`
	// Search field by expiration date. For example, if the value for expiration date is 3, it means to query products to be offline within 3 days.
	OffLineTime int64 `json:"off_line_time,omitempty" xml:"off_line_time,omitempty"`
	// Number of products to be queried at each page. The input value must be less than 100, the default value of which is 20.
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// product id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// Search field by product groups. Enter product group id (groupId).
	GroupId int64 `json:"group_id,omitempty" xml:"group_id,omitempty"`
}

ItemListQuery 结构体

type ItemListResultDto

type ItemListResultDto struct {
	// product list
	AeopAEProductDisplayDTOList []ItemDisplayDto `json:"aeop_a_e_product_display_d_t_o_list,omitempty" xml:"aeop_a_e_product_display_d_t_o_list>item_display_dto,omitempty"`
	// error message
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// error msg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// error code
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// total page
	TotalPage int64 `json:"total_page,omitempty" xml:"total_page,omitempty"`
	// products total count
	ProductCount int64 `json:"product_count,omitempty" xml:"product_count,omitempty"`
	// current page
	CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"`
	// success or not
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

ItemListResultDto 结构体

type LogisticOrderCreationForRmaRequest

type LogisticOrderCreationForRmaRequest struct {
	// Carrier tracking code. Tracking code or Shipping code must be provided
	TrackingCode string `json:"tracking_code,omitempty" xml:"tracking_code,omitempty"`
	// Order date. PST time
	OrderDate string `json:"order_date,omitempty" xml:"order_date,omitempty"`
	// Values: PRODUCT_CUSTOMER_GATHERING,PRODUCT_RETURN_CUSTOMER,PRODUCT_RETURN_WAREHOUSE,PRODUCT_RETURN_SUPPLIER
	LogisticReason string `json:"logistic_reason,omitempty" xml:"logistic_reason,omitempty"`
	// Carrier name
	CarrierName string `json:"carrier_name,omitempty" xml:"carrier_name,omitempty"`
	// The dispute Id
	DisputeId int64 `json:"dispute_id,omitempty" xml:"dispute_id,omitempty"`
}

LogisticOrderCreationForRmaRequest 结构体

type LogisticOrderStateUpdateRequest

type LogisticOrderStateUpdateRequest struct {
	// Tracking code
	TrackingCode string `json:"tracking_code,omitempty" xml:"tracking_code,omitempty"`
	// Logistic order state information
	RmaLogisticOrderState *RmaLogisticOrderState `json:"rma_logistic_order_state,omitempty" xml:"rma_logistic_order_state,omitempty"`
}

LogisticOrderStateUpdateRequest 结构体

type MarketImageDto

type MarketImageDto struct {
	// The image url needs to be obtained via uploading the image through Aliexpress API: aliexpress.photobank.redefining.uploadimageforsdk(https://developers.aliexpress.com/en/doc.htm?docId=30186&docType=2)
	ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"`
	// 1 represents 3:4 rectangle(resolution at least 750*1000) image while 2 represents 1:1 square image(Resolution at least 800*800).
	ImageType string `json:"image_type,omitempty" xml:"image_type,omitempty"`
}

MarketImageDto 结构体

type MultiCountryPriceConfigurationDto

type MultiCountryPriceConfigurationDto struct {
	// Price list for different countries
	CountryPriceList []SingleCountryPriceDto `json:"country_price_list,omitempty" xml:"country_price_list>single_country_price_dto,omitempty"`
	// Currently supporting only absolute. Please test carefully before uploading products.
	PriceType string `json:"price_type,omitempty" xml:"price_type,omitempty"`
}

MultiCountryPriceConfigurationDto 结构体

type OrderAddressDto

type OrderAddressDto struct {
	// English country/region name
	CountryName string `json:"country_name,omitempty" xml:"country_name,omitempty"`
	// mobile number
	MobileNo string `json:"mobile_no,omitempty" xml:"mobile_no,omitempty"`
	// Recipient
	ContactPerson string `json:"contact_person,omitempty" xml:"contact_person,omitempty"`
	// Phone country/region code
	PhoneCountry string `json:"phone_country,omitempty" xml:"phone_country,omitempty"`
	// Phone area code
	PhoneArea string `json:"phone_area,omitempty" xml:"phone_area,omitempty"`
	// province
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// address 1
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// phone number
	PhoneNumber string `json:"phone_number,omitempty" xml:"phone_number,omitempty"`
	// Fax number
	FaxNumber string `json:"fax_number,omitempty" xml:"fax_number,omitempty"`
	// Street detailed address
	DetailAddress string `json:"detail_address,omitempty" xml:"detail_address,omitempty"`
	// city
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// country/region
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// address 2
	Address2 string `json:"address2,omitempty" xml:"address2,omitempty"`
	// Fax country/region code
	FaxCountry string `json:"fax_country,omitempty" xml:"fax_country,omitempty"`
	// Postal code
	Zip string `json:"zip,omitempty" xml:"zip,omitempty"`
	// Fax area code
	FaxArea string `json:"fax_area,omitempty" xml:"fax_area,omitempty"`
	// localized address, currently for buyer whose address is in Russia.
	LocalizedAddress string `json:"localized_address,omitempty" xml:"localized_address,omitempty"`
}

OrderAddressDto 结构体

type OrderDetailQuery

type OrderDetailQuery struct {
	// It defines which details to be returned. Convert the number into binary format, for example, 16 to 10000. Only the last 5 bits take effects, starting from the end, 1st bit is for issue information, 2nd bit is for loan information, 3rd bit is for logistics information, 4th bit is for buyer information and 5th bit is for refund information. If any bit is 1, it means to return the corresponding information, for example, 3 wich is 00011, means to return issue information and logistics information. Leaving this field blank means return all information.
	ExtInfoBitFlag int64 `json:"ext_info_bit_flag,omitempty" xml:"ext_info_bit_flag,omitempty"`
	// Order id
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

OrderDetailQuery 结构体

type OrderDto

type OrderDto struct {
	// product list
	ProductList []OrderProductDto `json:"product_list,omitempty" xml:"product_list>order_product_dto,omitempty"`
	// seller fuller name
	SellerSignerFullname string `json:"seller_signer_fullname,omitempty" xml:"seller_signer_fullname,omitempty"`
	// seller operator login id
	SellerOperatorLoginId string `json:"seller_operator_login_id,omitempty" xml:"seller_operator_login_id,omitempty"`
	// seller login id
	SellerLoginId string `json:"seller_login_id,omitempty" xml:"seller_login_id,omitempty"`
	// pay type: migs: Credit card payments go through the RMB channel; migs: 102MasterCard pays and takes the RMB channel; migs101:Visa Pay and take the RMB channel; pp101: PayPal; mb: MoneyBooker channel; tt101: Bank Transfer payment; wu101: West Union payment; wp101: Visa pays for the US dollar channel; wp102: Mastercard to pay for the US dollar channel; qw101: QIWI payment; cybs101: Visa takes the payment of the CYBS channel; cybs102: Mastercard to pay for CYBS channels; wm101: WebMoney payment; ebanx101: Brazilian Beloto payment;
	PaymentType string `json:"payment_type,omitempty" xml:"payment_type,omitempty"`
	// order status
	OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// order detail url
	OrderDetailUrl string `json:"order_detail_url,omitempty" xml:"order_detail_url,omitempty"`
	// logistics status。logistics status。(WAIT_SELLER_SEND_GOODS: Waiting for seller to ship; SELLER_SEND_PART_GOODS: Partial delivery by seller; SELLER_SEND_GOODS: Seller has shipped; BUYER_ACCEPT_GOODS: Buyer has confirmed receipt; NO_LOGISTICS: No logistics transfer)
	LogisticsStatus string `json:"logistics_status,omitempty" xml:"logistics_status,omitempty"`
	// logistics escrow fee rate
	LogisitcsEscrowFeeRate string `json:"logisitcs_escrow_fee_rate,omitempty" xml:"logisitcs_escrow_fee_rate,omitempty"`
	// Remaining delivery time (minute)
	LeftSendGoodMin string `json:"left_send_good_min,omitempty" xml:"left_send_good_min,omitempty"`
	// Remaining delivery time (hour)
	LeftSendGoodHour string `json:"left_send_good_hour,omitempty" xml:"left_send_good_hour,omitempty"`
	// Remaining delivery time (days)
	LeftSendGoodDay string `json:"left_send_good_day,omitempty" xml:"left_send_good_day,omitempty"`
	// issue status (NO_ISSUE; IN_ISSUE; END_ISSUE)
	IssueStatus string `json:"issue_status,omitempty" xml:"issue_status,omitempty"`
	// Last order update time
	GmtUpdate string `json:"gmt_update,omitempty" xml:"gmt_update,omitempty"`
	// Last order delivery time
	GmtSendGoodsTime string `json:"gmt_send_goods_time,omitempty" xml:"gmt_send_goods_time,omitempty"`
	// order pay time (The gmtPaysuccess field has the same meaning in the order details.)it's US Pacific time
	GmtPayTime string `json:"gmt_pay_time,omitempty" xml:"gmt_pay_time,omitempty"`
	// order create time,it's US Pacific time
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// fund status (NOT_PAY; PAY_SUCCESS; WAIT_SELLER_CHECK)
	FundStatus string `json:"fund_status,omitempty" xml:"fund_status,omitempty"`
	// frozen status。(NO_FROZEN:no frozen; IN_FROZEN:in frozen)
	FrozenStatus string `json:"frozen_status,omitempty" xml:"frozen_status,omitempty"`
	// order finished reason
	EndReason string `json:"end_reason,omitempty" xml:"end_reason,omitempty"`
	// buyer full name
	BuyerSignerFullname string `json:"buyer_signer_fullname,omitempty" xml:"buyer_signer_fullname,omitempty"`
	// buyer login id
	BuyerLoginId string `json:"buyer_login_id,omitempty" xml:"buyer_login_id,omitempty"`
	// order type。(AE_COMMON:common type,AE_TRIAL:trial type;AE_RECHARGE:recharge order)
	BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// pickup type of order
	OfflinePickupType string `json:"offline_pickup_type,omitempty" xml:"offline_pickup_type,omitempty"`
	// The remain time of the current status (negative number indicates the timeout period)
	TimeoutLeftTime int64 `json:"timeout_left_time,omitempty" xml:"timeout_left_time,omitempty"`
	// pay amount
	PayAmount *SimpleMoney `json:"pay_amount,omitempty" xml:"pay_amount,omitempty"`
	// order ID
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// loan amount details
	LoanAmount *SimpleMoney `json:"loan_amount,omitempty" xml:"loan_amount,omitempty"`
	// escrow fee rate
	EscrowFeeRate int64 `json:"escrow_fee_rate,omitempty" xml:"escrow_fee_rate,omitempty"`
	// escrow fee
	EscrowFee *SimpleMoney `json:"escrow_fee,omitempty" xml:"escrow_fee,omitempty"`
	// Whether mobile phone orders
	Phone bool `json:"phone,omitempty" xml:"phone,omitempty"`
	// Have you requested a loan?
	HasRequestLoan bool `json:"has_request_loan,omitempty" xml:"has_request_loan,omitempty"`
}

OrderDto 结构体

type OrderProductDto

type OrderProductDto struct {
	// child order status
	SonOrderStatus string `json:"son_order_status,omitempty" xml:"son_order_status,omitempty"`
	// sku code
	SkuCode string `json:"sku_code,omitempty" xml:"sku_code,omitempty"`
	// order show status
	ShowStatus string `json:"show_status,omitempty" xml:"show_status,omitempty"`
	// Last delivery time
	SendGoodsTime string `json:"send_goods_time,omitempty" xml:"send_goods_time,omitempty"`
	// Shipper type. "SELLER_SEND_GOODS": seller shipping; "WAREHOUSE_SEND_GOODS": warehouse delivery
	SendGoodsOperator string `json:"send_goods_operator,omitempty" xml:"send_goods_operator,omitempty"`
	// product unit
	ProductUnit string `json:"product_unit,omitempty" xml:"product_unit,omitempty"`
	// product standard
	ProductStandard string `json:"product_standard,omitempty" xml:"product_standard,omitempty"`
	// product snap Url
	ProductSnapUrl string `json:"product_snap_url,omitempty" xml:"product_snap_url,omitempty"`
	// product name
	ProductName string `json:"product_name,omitempty" xml:"product_name,omitempty"`
	// product main image url
	ProductImgUrl string `json:"product_img_url,omitempty" xml:"product_img_url,omitempty"`
	// buyer memo
	Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
	// logistics service name( key)
	LogisticsType string `json:"logistics_type,omitempty" xml:"logistics_type,omitempty"`
	// logistics service show name
	LogisticsServiceName string `json:"logistics_service_name,omitempty" xml:"logistics_service_name,omitempty"`
	// issue status (NO_ISSUE; IN_ISSUE; END_ISSUE)
	IssueStatus string `json:"issue_status,omitempty" xml:"issue_status,omitempty"`
	// issue mode
	IssueMode string `json:"issue_mode,omitempty" xml:"issue_mode,omitempty"`
	// fund status (NOT_PAY; PAY_SUCCESS; WAIT_SELLER_CHECK)
	FundStatus string `json:"fund_status,omitempty" xml:"fund_status,omitempty"`
	// Limited time
	FreightCommitDay string `json:"freight_commit_day,omitempty" xml:"freight_commit_day,omitempty"`
	// escrow fee rate
	EscrowFeeRate string `json:"escrow_fee_rate,omitempty" xml:"escrow_fee_rate,omitempty"`
	// delivery time
	DeliveryTime string `json:"delivery_time,omitempty" xml:"delivery_time,omitempty"`
	// buyer last name
	BuyerSignerLastName string `json:"buyer_signer_last_name,omitempty" xml:"buyer_signer_last_name,omitempty"`
	// buyer first name
	BuyerSignerFirstName string `json:"buyer_signer_first_name,omitempty" xml:"buyer_signer_first_name,omitempty"`
	// afflicate fee rate
	AfflicateFeeRate string `json:"afflicate_fee_rate,omitempty" xml:"afflicate_fee_rate,omitempty"`
	// total product amount
	TotalProductAmount *SimpleMoney `json:"total_product_amount,omitempty" xml:"total_product_amount,omitempty"`
	// product unit price
	ProductUnitPrice *SimpleMoney `json:"product_unit_price,omitempty" xml:"product_unit_price,omitempty"`
	// product id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// product count
	ProductCount int64 `json:"product_count,omitempty" xml:"product_count,omitempty"`
	// order ID
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// Logistics amount(sub-orders have no shipping costs, please ignore)
	LogisticsAmount *SimpleMoney `json:"logistics_amount,omitempty" xml:"logistics_amount,omitempty"`
	// goods prepare days
	GoodsPrepareTime int64 `json:"goods_prepare_time,omitempty" xml:"goods_prepare_time,omitempty"`
	// child order id
	ChildId int64 `json:"child_id,omitempty" xml:"child_id,omitempty"`
	// fake one compensate three flag
	MoneyBack3x bool `json:"money_back3x,omitempty" xml:"money_back3x,omitempty"`
	// Whether child orders can submit disputes
	CanSubmitIssue bool `json:"can_submit_issue,omitempty" xml:"can_submit_issue,omitempty"`
}

OrderProductDto 结构体

type OrderQuery

type OrderQuery struct {
	// Query order information in multiple order status. For specific order status, see order_status description.
	OrderStatusList []string `json:"order_status_list,omitempty" xml:"order_status_list>string,omitempty"`
	// create date end time.It's US pacific time
	CreateDateEnd string `json:"create_date_end,omitempty" xml:"create_date_end,omitempty"`
	// create date start time.It's US pacific time
	CreateDateStart string `json:"create_date_start,omitempty" xml:"create_date_start,omitempty"`
	// modified date start time.It's US pacific time
	ModifiedDateStart string `json:"modified_date_start,omitempty" xml:"modified_date_start,omitempty"`
	// buyer login id
	BuyerLoginId string `json:"buyer_login_id,omitempty" xml:"buyer_login_id,omitempty"`
	// modified date end time.It's US pacific time
	ModifiedDateEnd string `json:"modified_date_end,omitempty" xml:"modified_date_end,omitempty"`
	// Order status: PLACE_ORDER_SUCCESS: Waiting for buyer to pay; IN_CANCEL: Buyer request cancellation; WAIT_SELLER_SEND_GOODS: Waiting for your shipment; SELLER_PART_SEND_GOODS: Partial delivery; WAIT_BUYER_ACCEPT_GOODS: Waiting for buyer to receive goods; FUND_PROCESSING: Buyers agree, funds processing; IN_ISSUE : Orders in disputes; IN_FROZEN: Orders in freeze; WAIT_SELLER_EXAMINE_MONEY: Waiting for your confirmation amount; RISK_CONTROL: Orders are in 24 hours of risk control, starting 24 hours after the buyer's online payment is completed. The above status query can be separately queried separately, and the order status information is not included in the order status. (FINISH, closed order status) FINISH: The completed order needs to be queried separately.
	OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// Number of pages per page
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// the current page
	CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"`
}

OrderQuery 结构体

type PaginationResult

type PaginationResult struct {
	// target list
	TargetList []OrderDto `json:"target_list,omitempty" xml:"target_list>order_dto,omitempty"`
	// error massage
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// error code
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// timeStamp
	TimeStamp string `json:"time_stamp,omitempty" xml:"time_stamp,omitempty"`
	// total count(SC order is not include the result)
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// the number of each page
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// current page
	CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"`
	// total page
	TotalPage int64 `json:"total_page,omitempty" xml:"total_page,omitempty"`
	// success or not
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

PaginationResult 结构体

type PostItemResponseDto

type PostItemResponseDto struct {
	// productId
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
}

PostItemResponseDto 结构体

type PostProductRequestDto

type PostProductRequestDto struct {
	// marketing images for product. Currently supported 2 types: 1 represents 3:4 rectangle(resolution at least 750*1000) image while 2 represents 1:1 square image(Resolution at least 800*800). The image url needs to be obtained via uploading the image through Aliexpress API: aliexpress.photobank.redefining.uploadimageforsdk(https://developers.aliexpress.com/en/doc.htm?docId=30186&docType=2)
	MarketingImages []MarketImageDto `json:"marketing_images,omitempty" xml:"marketing_images>market_image_dto,omitempty"`
	// Main image that represents the product. The url should be accesible and there is a maximum of 6 pictures. The url can point to a seller's server or to AliExpress photobank. In order to obtain more information about the photobank and how to upload images, please visit the following page: https://developers.aliexpress.com/en/doc.htm?docId=30186&docType=2
	MainImageUrlsList []string `json:"main_image_urls_list,omitempty" xml:"main_image_urls_list>string,omitempty"`
	// There are 4 types of how to fill in the content of each element in this attribute list. 1). When filling in the standard dropdown/multi-dropdown attributes, fill in "aliexpress_attribute_name_id" and "aliexpress_attribute_value_id"(For multi-dropdown, splitting them into multiple elements) 2). When filling in the attributes in which the value needs to be manually entered, fill in "aliexpress_attribute_name_id" and "attribute_value" in the element. 3). There exists a special kind of "aliexpress_attribute_value_id" of which the value represents for "Other". When encoutering this scenario, please fill in "aliexpress_attribute_name_id", "aliexpress_attribute_value_id" and "attribute_value". 4). Besides the three types mentioned above, if the seller would like to fully customized all the atttributes, fill in "attribute name" and "attribute_value" in the element.
	AttributeList []AttributeDto `json:"attribute_list,omitempty" xml:"attribute_list>attribute_dto,omitempty"`
	// If specified this field, all the previous skus will be replaced by the new skus.
	SkuInfoList []SkuInfoDto `json:"sku_info_list,omitempty" xml:"sku_info_list>sku_info_dto,omitempty"`
	// List for multi language subject. To learn how to set this field, please refer to the document:https://developers.aliexpress.com/en/doc.htm?docId=108976&docType=1
	MultiLanguageSubjectList []SingleLanguageTitleDto `json:"multi_language_subject_list,omitempty" xml:"multi_language_subject_list>single_language_title_dto,omitempty"`
	// List for multi language description. To learn how to set this field, please refer to the document:https://developers.aliexpress.com/en/doc.htm?docId=108976&docType=1
	MultiLanguageDescriptionList []SingleLanguageDescriptionDto `` /* 128-byte string literal not displayed */
	// extra params. Configured some special products
	ExtraParams string `json:"extra_params,omitempty" xml:"extra_params,omitempty"`
	// More information about the request.
	DeveloperFeatures string `json:"developer_features,omitempty" xml:"developer_features,omitempty"`
	// Deprecated. Please use aliexpress_category_id
	CategoryId string `json:"category_id,omitempty" xml:"category_id,omitempty"`
	// merchant's brand name
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// Weight of the product, including package. Measured in Kilograms (Kg) with a maximum 500 and minumum 0.001
	Weight string `json:"weight,omitempty" xml:"weight,omitempty"`
	// indicate when the inventory of a specific product will be deducted. place_order_withhold: the inventory is deducted just after the order is placed by customer. payment_success_deduct: the stock is deducted after the payment is done successfully by the customer.
	InventoryDeductionStrategy string `json:"inventory_deduction_strategy,omitempty" xml:"inventory_deduction_strategy,omitempty"`
	// Deprecated. Please use  multi_language_subject_list. 1-218 length, support multi language. Check the field "language" to find the supported languages.
	Subject string `json:"subject,omitempty" xml:"subject,omitempty"`
	// Deprecated, please use product description, support html format and multi languages. Check the field language to find the supported languages.
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// The main language of the product. Aliexpress will depend on the subject and detail in main language to translate to other languages, if not filled in by sellers. Main language could not be modified after product has been uploaded. Support: en(English) ru(Russian) es(Spanish) fr(French) it(Italian) tr(Turkish) pt(Portuguese) de(German) nl(Dutch) in(Indonesian) ar(Arabic) ja(Japanese) ko(Korean) th(Thai) vi(Vietnamese) iw(Hebrew)
	Language string `json:"language,omitempty" xml:"language,omitempty"`
	// aliexpress product Id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// group id, you can get group list from aliexpress.product.productgroups.get
	GroupId int64 `json:"group_id,omitempty" xml:"group_id,omitempty"`
	// Aliexpress leaf category ID obtained through https://developers.aliexpress.com/en/doc.htm?docId=46042&docType=2
	AliexpressCategoryId int64 `json:"aliexpress_category_id,omitempty" xml:"aliexpress_category_id,omitempty"`
	// Package height measured in centimeters (cm). Maximum 700 cm, minumum: 1cm
	PackageHeight int64 `json:"package_height,omitempty" xml:"package_height,omitempty"`
	// Package length, measured in centimeters (cm). Maximum 700 cm, minumum: 1cm
	PackageLength int64 `json:"package_length,omitempty" xml:"package_length,omitempty"`
	// Package width measured in centimeters (cm). Maximum 700 cm, minumum: 1cm
	PackageWidth int64 `json:"package_width,omitempty" xml:"package_width,omitempty"`
	// multi country price configuration
	MultiCountryPriceConfiguration *MultiCountryPriceConfigurationDto `json:"multi_country_price_configuration,omitempty" xml:"multi_country_price_configuration,omitempty"`
	// freight template ID. After the merchant has created an freight template in the backend: freighttemplate.aliexpress.com, the id could be obtained in the backend directly or thourgh the API: aliexpress.freight.redefining.listfreighttemplate
	FreightTemplateId int64 `json:"freight_template_id,omitempty" xml:"freight_template_id,omitempty"`
	// refer to the preparation period of merchant before the package could be dispatched to the customer.
	ShippingLeadTime int64 `json:"shipping_lead_time,omitempty" xml:"shipping_lead_time,omitempty"`
	// service policy id, which could be set and obtained in the seller's background.
	ServicePolicyId int64 `json:"service_policy_id,omitempty" xml:"service_policy_id,omitempty"`
	// merchant's size chart id, more used in the category of shoes and clothes.
	SizeChartId int64 `json:"size_chart_id,omitempty" xml:"size_chart_id,omitempty"`
	// Product Unit ID, Most common-used ID: 100000015 piece/pieces; 100000000:bag/bags; 100000001:barrel/barrels; 100000002:bushel/bushels; 100078580:carton; 100078581:centimeter; 100000003:cubic meter; 100000004:dozen; 100078584:feet; 100000005:gallon; 100000006:gram; 100078587:inch; 100000007:kilogram; 100078589:kiloliter; 100000008:kilometer; 100078559:liter/liters; 100000009:long ton; 100000010:meter; 100000011:metric ton; 100078560:milligram; 100078596:milliliter; 100078597:millimeter; 100000012:ounce; 100000014:pack/packs; 100000013:pair; 100000016:pound; 100078603:quart; 100000017:set/sets; 100000018:short ton; 100078606:square feet; 100078607:square inch; 100000019:square meter; 100078609:square yard; 100000020:ton; 100078558:yard/yards
	ProductUnit int64 `json:"product_unit,omitempty" xml:"product_unit,omitempty"`
}

PostProductRequestDto 结构体

type ProductSchemaDto

type ProductSchemaDto struct {
	// error code
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// error message
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// schema
	Schema string `json:"schema,omitempty" xml:"schema,omitempty"`
	// success flag
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

ProductSchemaDto 结构体

type RmaLogisticOrderState

type RmaLogisticOrderState struct {
	// State date. PST time
	StateDate string `json:"state_date,omitempty" xml:"state_date,omitempty"`
	// values CANCELLED, PRODUCT_CAPTURED, INCIDENT, PRODUCT_DELIVERED
	State string `json:"state,omitempty" xml:"state,omitempty"`
	// Logistic order detail
	OrderStateDetail string `json:"order_state_detail,omitempty" xml:"order_state_detail,omitempty"`
}

RmaLogisticOrderState 结构体

type RmaScreeningCreationRequest

type RmaScreeningCreationRequest struct {
	// Values: OK, NO_OK
	Result string `json:"result,omitempty" xml:"result,omitempty"`
	// RMA ID
	RmaId string `json:"rma_id,omitempty" xml:"rma_id,omitempty"`
	// Date of screening
	ScreeningDate string `json:"screening_date,omitempty" xml:"screening_date,omitempty"`
	// Description of the screening result
	ScreeningResultDetails string `json:"screening_result_details,omitempty" xml:"screening_result_details,omitempty"`
	// Values: CUSTOMER_FAULT, GIVE_UP_UNSEALED, GIVE_UP_SEALED, DOA_SEALED_QUALITY_ISSUE, DOA_SEALED_NO_QUALITY_ISSUE
	ScreeningResultReasons string `json:"screening_result_reasons,omitempty" xml:"screening_result_reasons,omitempty"`
}

RmaScreeningCreationRequest 结构体

type RmaState

type RmaState struct {
	// Order data. PST time
	StateDate string `json:"state_date,omitempty" xml:"state_date,omitempty"`
	// Values: CANCELLED, PRODUCT_COLLECTED, PRODUCT_RECEIVED, PRODUCT_SCREENING, WAITING_AE_ACTION, COMPLETED, CANCELLED_LOGISTICS_ISSUE, CANCELLED_LOGISTICS_ISSUE_RETRIES
	State string `json:"state,omitempty" xml:"state,omitempty"`
	// Detail of the state changed
	StateDetail string `json:"state_detail,omitempty" xml:"state_detail,omitempty"`
}

RmaState 结构体

type RmaStateUpdateRequest

type RmaStateUpdateRequest struct {
	// RMA's ID
	RmaId string `json:"rma_id,omitempty" xml:"rma_id,omitempty"`
	// RMA's state information
	RmaState *RmaState `json:"rma_state,omitempty" xml:"rma_state,omitempty"`
}

RmaStateUpdateRequest 结构体

type SimpleMoney

type SimpleMoney struct {
	// currency code
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// amount
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
}

SimpleMoney 结构体

type SingleCountryPriceDto

type SingleCountryPriceDto struct {
	// Sku price list under the same ship_to_country
	SkuPriceByCountryList []SingleSkuPriceByCountryDto `json:"sku_price_by_country_list,omitempty" xml:"sku_price_by_country_list>single_sku_price_by_country_dto,omitempty"`
	// Currently supporting RU US CA ES FR UK NL IL BR CL AU UA BY JP TH SG KR ID MY PH VN IT DE SA AE PL TR
	ShipToCountry string `json:"ship_to_country,omitempty" xml:"ship_to_country,omitempty"`
}

SingleCountryPriceDto 结构体

type SingleItemRequestDto

type SingleItemRequestDto struct {
	// Content of each item, which follows different format according to different feed type.
	ItemContent string `json:"item_content,omitempty" xml:"item_content,omitempty"`
	// The id of the item_content, which could be defined by the seller. item_content_id should be unique among all the items in item_list.This field also appears in the API:aliexpress.solution.feed.query, which is regarding the convenience for the sellers to match the item_execuation_result with the item_content.
	ItemContentId string `json:"item_content_id,omitempty" xml:"item_content_id,omitempty"`
}

SingleItemRequestDto 结构体

type SingleItemResponseDto

type SingleItemResponseDto struct {
	// Execution result of each item
	ItemExecutionResult string `json:"item_execution_result,omitempty" xml:"item_execution_result,omitempty"`
	// Corresponding to the item_content_id defined by the seller when invoking the API: aliexpress.solution.feed.submit
	ItemContentId string `json:"item_content_id,omitempty" xml:"item_content_id,omitempty"`
}

SingleItemResponseDto 结构体

type SingleLanguageDescriptionDto

type SingleLanguageDescriptionDto struct {
	// Support: en(English) ru(Russian) es(Spanish) fr(French) it(Italian) tr(Turkish) pt(Portuguese) de(German) nl(Dutch) in(Indonesian) ar(Arabic) ja(Japanese) ko(Korean) th(Thai) vi(Vietnamese) iw(Hebrew).Must contains the original locale.
	Language string `json:"language,omitempty" xml:"language,omitempty"`
	// mobile detail for  this language, do not support "html" and "dynamic" type, for more information, please check the format here https://developers.aliexpress.com/en/doc.htm?docId=109534&docType=1
	MobileDetail string `json:"mobile_detail,omitempty" xml:"mobile_detail,omitempty"`
	// web detail for this language, please check the format here: https://developers.aliexpress.com/en/doc.htm?docId=109534&docType=1
	WebDetail string `json:"web_detail,omitempty" xml:"web_detail,omitempty"`
}

SingleLanguageDescriptionDto 结构体

type SingleLanguageTitleDto

type SingleLanguageTitleDto struct {
	// Support: en(English) ru(Russian) es(Spanish) fr(French) it(Italian) tr(Turkish) pt(Portuguese) de(German) nl(Dutch) in(Indonesian) ar(Arabic) ja(Japanese) ko(Korean) th(Thai) vi(Vietnamese) iw(Hebrew).Must contains the original locale.
	Language string `json:"language,omitempty" xml:"language,omitempty"`
	// subject, maximum 218 characters.
	Subject string `json:"subject,omitempty" xml:"subject,omitempty"`
}

SingleLanguageTitleDto 结构体

type SingleOrderQuery

type SingleOrderQuery struct {
	// order ID
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

SingleOrderQuery 结构体

type SingleSkuPriceByCountryDto

type SingleSkuPriceByCountryDto struct {
	// sku_code, must existed in  multiple_sku_update_list
	SkuCode string `json:"sku_code,omitempty" xml:"sku_code,omitempty"`
	// Value of price configuration. If the price of a specific country is set, it must be greater than or equal to 70% of the original sku price in multiple_sku_update_list
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// Value of discount_price for each country
	DiscountPrice string `json:"discount_price,omitempty" xml:"discount_price,omitempty"`
	// Deprecated. Please do not use.
	Value string `json:"value,omitempty" xml:"value,omitempty"`
}

SingleSkuPriceByCountryDto 结构体

type SkuAttributeDto

type SkuAttributeDto struct {
	// Deprecated, please use sku_attribute_name_id. To obtain the available sku attribute names under a specific category, please check API: aliexpress.solution.sku.attribute.query
	SkuAttributeName string `json:"sku_attribute_name,omitempty" xml:"sku_attribute_name,omitempty"`
	// Customized sku attribute value by sellers, do not include these 4 symbols { # : = , }.maximum 70 characters.
	SkuAttributeValue string `json:"sku_attribute_value,omitempty" xml:"sku_attribute_value,omitempty"`
	// Image that will represent the variation of the product. The url can point to a seller's server or to AliExpress photobank. In order to obtain more information about the photobank and how to upload images, please visit the following page: https://developers.aliexpress.com/en/doc.htm?docId=30186&docType=2
	SkuImage string `json:"sku_image,omitempty" xml:"sku_image,omitempty"`
	// Image that will represent the variation of the product. The url can point to a seller's server or to AliExpress photobank. In order to obtain more information about the photobank and how to upload images, please visit the following page: https://developers.aliexpress.com/en/doc.htm?docId=30186&docType=2
	SkuImageUrl string `json:"sku_image_url,omitempty" xml:"sku_image_url,omitempty"`
	// Please refer to https://developers.aliexpress.com/en/doc.htm?docId=29988&docType=2 to obtain the sku_attribute_value_id under specific category
	SkuAttributeValueId int64 `json:"sku_attribute_value_id,omitempty" xml:"sku_attribute_value_id,omitempty"`
	// Please refer to https://developers.aliexpress.com/en/doc.htm?docId=29988&docType=2 to obtain the sku_attribute_name_id under specific category
	SkuAttributeNameId int64 `json:"sku_attribute_name_id,omitempty" xml:"sku_attribute_name_id,omitempty"`
}

SkuAttributeDto 结构体

type SkuAttributeInfoQueryRequest

type SkuAttributeInfoQueryRequest struct {
	// merchant's category ID
	CategoryId string `json:"category_id,omitempty" xml:"category_id,omitempty"`
	// aliexpress category ID. aliexpress_category_id and category_id could not be both empty.
	AliexpressCategoryId int64 `json:"aliexpress_category_id,omitempty" xml:"aliexpress_category_id,omitempty"`
}

SkuAttributeInfoQueryRequest 结构体

type SkuAttributeInfoQueryResponse

type SkuAttributeInfoQueryResponse struct {
	// supported sku attribute lis
	SupportingSkuAttributeList []SupportedSkuAttributeDto `json:"supporting_sku_attribute_list,omitempty" xml:"supporting_sku_attribute_list>supported_sku_attribute_dto,omitempty"`
	// common attributes under a specific category
	SupportingCommonAttributeList []SupportedCommonAttributeDto `` /* 129-byte string literal not displayed */
}

SkuAttributeInfoQueryResponse 结构体

type SkuInfoDto

type SkuInfoDto struct {
	// sku attribute list. Some categories don't have sku attributes, then sku_attributes_list should be empty.When there are more than one sku in the sku_info_list, sku_attributes_list is required for each of them, please do not let them empty
	SkuAttributesList []SkuAttributeDto `json:"sku_attributes_list,omitempty" xml:"sku_attributes_list>sku_attribute_dto,omitempty"`
	// extra params. Configured some special products
	ExtraParams string `json:"extra_params,omitempty" xml:"extra_params,omitempty"`
	// EAN or EAN13, stands for international product number (formerly European product number). It is an extension of UPC codes, and you will find them as barcodes on most everyday products. It will be empty if you don't fill it in
	EanCode string `json:"ean_code,omitempty" xml:"ean_code,omitempty"`
	// price. Maximum:999999, minumum:0.01
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// Code for merchant's sku, important reference to maintain the relationship between merchant and Aliexpress's system.
	SkuCode string `json:"sku_code,omitempty" xml:"sku_code,omitempty"`
	// discount price for the sku. discount_price should be cheaper than price.
	DiscountPrice string `json:"discount_price,omitempty" xml:"discount_price,omitempty"`
	// barcode of the sku. Except some Russian sellers who will be fulfilled by Aliexpress, please ignore this field for other sellers.
	BarCode string `json:"bar_code,omitempty" xml:"bar_code,omitempty"`
	// stock. Maximum:999999, minumum:1
	Inventory int64 `json:"inventory,omitempty" xml:"inventory,omitempty"`
}

SkuInfoDto 结构体

type SkuValueSimplifiedInfoDto

type SkuValueSimplifiedInfoDto struct {
	// aliexpress sku value name
	AliexpressSkuValueName string `json:"aliexpress_sku_value_name,omitempty" xml:"aliexpress_sku_value_name,omitempty"`
}

SkuValueSimplifiedInfoDto 结构体

type SuggestCategory added in v1.2.5

type SuggestCategory struct {
	// category id path
	IdPath []int64 `json:"id_path,omitempty" xml:"id_path>int64,omitempty"`
	// category name path
	NamePath []string `json:"name_path,omitempty" xml:"name_path>string,omitempty"`
	// category name
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// category id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

SuggestCategory 结构体

type SupportedCommonAttributeDto

type SupportedCommonAttributeDto struct {
	// aliexpress common attribute value list
	AliexpressCommonAttributeValueList []CommonAttributeValueInfoDto `` /* 142-byte string literal not displayed */
	// aliexpress common attribute name
	AliexpressCommonAttributeName string `json:"aliexpress_common_attribute_name,omitempty" xml:"aliexpress_common_attribute_name,omitempty"`
	// aliexpress common attribute name id
	AliexpressCommonAttributeNameId int64 `json:"aliexpress_common_attribute_name_id,omitempty" xml:"aliexpress_common_attribute_name_id,omitempty"`
	// whether the common attribute is required under this category
	Required bool `json:"required,omitempty" xml:"required,omitempty"`
}

SupportedCommonAttributeDto 结构体

type SupportedSkuAttributeDto

type SupportedSkuAttributeDto struct {
	// aliexpress sku value list
	AliexpressSkuValueList []SkuValueSimplifiedInfoDto `json:"aliexpress_sku_value_list,omitempty" xml:"aliexpress_sku_value_list>sku_value_simplified_info_dto,omitempty"`
	// aliexpress sku name, the same field when indicating the sku_name for posting product
	AliexpressSkuName string `json:"aliexpress_sku_name,omitempty" xml:"aliexpress_sku_name,omitempty"`
	// Indicates whether this sku attribute is mandatory under this category
	Required bool `json:"required,omitempty" xml:"required,omitempty"`
	// whether the corresponding aliexpress_sku_name support customized name by merchants
	SupportCustomizedName bool `json:"support_customized_name,omitempty" xml:"support_customized_name,omitempty"`
	// whether the corresponding aliexpress_sku_name support customized picture
	SupportCustomizedPicture bool `json:"support_customized_picture,omitempty" xml:"support_customized_picture,omitempty"`
}

SupportedSkuAttributeDto 结构体

type SynchronizeProductRequestDto

type SynchronizeProductRequestDto struct {
	// The sku list, in which the inventory needs to be updated within the same product id. Maximum 200 skus.
	MultipleSkuUpdateList []SynchronizeSkuRequestDto `json:"multiple_sku_update_list,omitempty" xml:"multiple_sku_update_list>synchronize_sku_request_dto,omitempty"`
	// product id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// multi country price configuration
	MultiCountryPriceConfiguration *MultiCountryPriceConfigurationDto `json:"multi_country_price_configuration,omitempty" xml:"multi_country_price_configuration,omitempty"`
}

SynchronizeProductRequestDto 结构体

type SynchronizeProductResponseDto

type SynchronizeProductResponseDto struct {
	// error code
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// error message
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// product id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
}

SynchronizeProductResponseDto 结构体

type SynchronizeSkuRequestDto

type SynchronizeSkuRequestDto struct {
	// sku code
	SkuCode string `json:"sku_code,omitempty" xml:"sku_code,omitempty"`
	// price of an sku
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// discount_price of an sku. If not set, the discount_price will be erased.
	DiscountPrice string `json:"discount_price,omitempty" xml:"discount_price,omitempty"`
	// inventory
	Inventory int64 `json:"inventory,omitempty" xml:"inventory,omitempty"`
}

SynchronizeSkuRequestDto 结构体

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL