Documentation
¶
Index ¶
- Constants
- func Ptr[T any](v T) *T
- type AccessTokenResponse
- type ActivateFlexiComboResponse
- type AddAdgroupBatchResponse
- type AddFlexiComboProductsResponse
- type AddFlexiComboProductsResponseData
- type AddOrUpdatePickupStopResponse
- type AddSolutionResponse
- type AddressBilling
- type AddressShipping
- type AdjustSellableQuantityResponse
- type Advanced
- type ApiResult
- type App
- type AppliedVas
- type ArticleBizOrders
- type Attributes
- type AttributesOptions
- type AudienceViewDTO
- type AuthService
- type AuthServiceOp
- type BaseInfo
- type BaseResponse
- type Batch
- type BatchDeliverJitPurchaseOrderResponse
- type BatchQueryFollowStatusResponse
- type BatchQueryFollowStatusResponseDataResult
- type BatchUpdateSizeChartRequest
- type BatchUpdateSizeChartResponse
- type BizSupplement
- type BuildFulfillmentSkuRelationResponse
- type BuildFulfillmentSkuRelationResponseDataResult
- type Buyer
- type CageValidationResponse
- type CancelFulfillmentOrderForMCLResponse
- type CancelInboundReservationResponse
- type CancelOutboundOrderResponse
- type CancelTaskResponse
- type CancelTaskResponseDataResult
- type CancelVasOrder4FBLResponse
- type CancelnBoundOrderResponse
- type CategorySuggestions
- type Certificate
- type ChangeFaceResponse
- type ChangeFaceResponseDataResult
- type ChangeProductBackgroundResponse
- type ChannelRatio
- type ChannelStocks
- type CheckInboundReservationSlotResponse
- type CheckInboundReservationSlotResponseData
- type Children
- type ChoiceCustomizedService
- type ChoiceCustomizedServiceOp
- func (s *ChoiceCustomizedServiceOp[T]) BatchDeliverJitPurchaseOrder(ctx context.Context) (*BatchDeliverJitPurchaseOrderResponse, error)
- func (s *ChoiceCustomizedServiceOp[T]) EditChoiceSkuStock(ctx context.Context) (*EditChoiceSkuStockResponse, error)
- func (s *ChoiceCustomizedServiceOp[T]) GetChoiceProductItem(ctx context.Context) (*GetChoiceProductItemResponse, error)
- func (s *ChoiceCustomizedServiceOp[T]) GetChoiceProducts(ctx context.Context) (*GetChoiceProductsResponse, error)
- func (s *ChoiceCustomizedServiceOp[T]) GetChoiceSeller(ctx context.Context) (*GetChoiceSellerResponse, error)
- func (s *ChoiceCustomizedServiceOp[T]) GetChoiceSkuItemRelationBySku(ctx context.Context) (*GetChoiceSkuItemRelationBySkuResponse, error)
- func (s *ChoiceCustomizedServiceOp[T]) PackageJitPurchaseOrder(ctx context.Context) (*PackageJitPurchaseOrderResponse, error)
- func (s *ChoiceCustomizedServiceOp[T]) PrintJitPurchaseOrderAndItem(ctx context.Context) (*PrintJitPurchaseOrderAndItemResponse, error)
- func (s *ChoiceCustomizedServiceOp[T]) PrintPickuoOrder(ctx context.Context) (*PrintPickuoOrderResponse, error)
- func (s *ChoiceCustomizedServiceOp[T]) QueryListJitPurchaseOrder(ctx context.Context) (*QueryListJitPurchaseOrderResponse, error)
- func (s *ChoiceCustomizedServiceOp[T]) QueryListPurchaseItem(ctx context.Context) (*QueryListPurchaseItemResponse, error)
- func (s *ChoiceCustomizedServiceOp[T]) QueryPickupOrder(ctx context.Context) (*QueryPickupOrderResponse, error)
- type Chronology
- type ClickserverResponse
- type Client
- type CollectBenefitResponse
- type CompleteCreateVideoResponse
- type ConfirmCollectForDBSResponse
- type ConfirmCollectForDBSResponseDataResult
- type ConfirmCollectForDBSResponseDataResultData
- type ConfirmDeliveryForDBSResponse
- type ConfirmInboundResponse
- type ConfirmParcelCollectionResponse
- type ConsultPaymentResponse
- type Content
- type ContentService
- type ContentServiceOp
- func (s *ContentServiceOp[T]) CancelTask(ctx context.Context) (*CancelTaskResponse, error)
- func (s *ContentServiceOp[T]) ChangeFace(ctx context.Context) (*ChangeFaceResponse, error)
- func (s *ContentServiceOp[T]) ChangeProductBackground(ctx context.Context) (*ChangeProductBackgroundResponse, error)
- func (s *ContentServiceOp[T]) FixHand(ctx context.Context) (*FixHandResponse, error)
- func (s *ContentServiceOp[T]) GetTaskStatus(ctx context.Context) (*GetTaskStatusResponse, error)
- func (s *ContentServiceOp[T]) ProductImageMatch(ctx context.Context) (*ProductImageMatchResponse, error)
- func (s *ContentServiceOp[T]) TryOnCloth(ctx context.Context) (*TryOnClothResponse, error)
- type ConvertedAddress
- type CountryInfo
- type CountryPrice
- type Create3PLStationResponse
- type CreateConsolidationServiceResponse
- type CreateCustomerAccountRelationshipByOTPResponse
- type CreateCustomerAccountRelationshipForExternalResponse
- type CreateEarlyBirdActivityV2Response
- type CreateEarlyBirdActivityV2ResponseDataResult
- type CreateFlexiComboResponse
- type CreateFulfillmentOrderForMCLResponse
- type CreateFulfillmentOrderForMCLV2PNFResponse
- type CreateFulfillmentSkuDecoupleResponse
- type CreateFulfillmentSkuDecoupleResponseData
- type CreateFulfillmentSkuForFBLResponse
- type CreateFulfillmentSkuForFBLResponseData
- type CreateGlobalProductResponse
- type CreateGlobalProductResponseData
- type CreateInboundOrderResponse
- type CreateInboundReservationResponse
- type CreateInboundReservationResponseData
- type CreateOrUpdateCustomerWarehouseResponse
- type CreateOrUpdateCustomerWarehouseResponseData
- type CreateOutBoundOrderResponse
- type CreateProductReinboundOrderForMCLResponse
- type CreateProductRequest
- type CreateProductResponse
- type CreateProductResponseData
- type CreateProductResponseDataSku
- type CreateScannedParcelResponse
- type CreateScannedParcelResponseData
- type CreateSubscriptionToFusionResponse
- type CreateVasOrder4FBLResponse
- type CrossBoarderProductService
- type CrossBoarderProductServiceOp
- func (s *CrossBoarderProductServiceOp[T]) CreateGlobalProduct(ctx context.Context) (*CreateGlobalProductResponse, error)
- func (s *CrossBoarderProductServiceOp[T]) DeleteMerchantProduct(ctx context.Context) (*DeleteMerchantProductResponse, error)
- func (s *CrossBoarderProductServiceOp[T]) GetGlobalProductExtension(ctx context.Context) (*GetGlobalProductExtensionResponse, error)
- func (s *CrossBoarderProductServiceOp[T]) GetGlobalProductStatus(ctx context.Context) (*GetGlobalProductStatusResponse, error)
- func (s *CrossBoarderProductServiceOp[T]) GetRecommendPrice(ctx context.Context) (*GetRecommendPriceResponse, error)
- func (s *CrossBoarderProductServiceOp[T]) GetUnfilledAttribute(ctx context.Context) (*GetUnfilledAttributeResponse, error)
- func (s *CrossBoarderProductServiceOp[T]) GetUpgradableGlobalPlusProductList(ctx context.Context) (*GetUpgradableGlobalPlusProductListResponse, error)
- func (s *CrossBoarderProductServiceOp[T]) SemiProductUpdate(ctx context.Context) (*SemiProductUpdateResponse, error)
- func (s *CrossBoarderProductServiceOp[T]) SemiProductUpgrade(ctx context.Context) (*SemiProductUpgradeResponse, error)
- func (s *CrossBoarderProductServiceOp[T]) UpdateGlobalProductAttribute(ctx context.Context) (*UpdateGlobalProductAttributeResponse, error)
- func (s *CrossBoarderProductServiceOp[T]) UpdateProductStatus(ctx context.Context) (*UpdateProductStatusResponse, error)
- type DGUtiityPreCreateOrderResponse
- type DGUtilityPreGetPaymentStatusResponse
- type DGUtilityPreUpdateFulfillemtStatusResponse
- type Data
- type DataBatch
- type DataGiftSkus
- type DataItems
- type DataPageInfo
- type DataSource
- type DeactivateFlexiComboResponse
- type DeactivateProductResponse
- type DefaultClient
- type DefaultOption
- func WithHTTPClientDefault(client *http.Client) DefaultOption
- func WithLoggerDefault(logger LeveledLoggerInterface) DefaultOption
- func WithMetaDefault(meta any) DefaultOption
- func WithOnTokenRefreshDefault(fn func(res *RefreshAccessTokenResponse, meta any)) DefaultOption
- func WithProxyDefault(proxyHost string) DefaultOption
- func WithRefreshTokenDefault(refreshToken string) DefaultOption
- func WithRetryDefault(retries int) DefaultOption
- type DeleteAdgroupBatchResponse
- type DeleteCampaignResponse
- type DeleteFlexiComboProductsResponse
- type DeleteIcProductFailResult
- type DeleteMerchantProductResponse
- type DeleteMerchantProductResponseData
- type DeleteScannedParcelResponse
- type DeliverDigitalResponse
- type DeliverDigitalResponseDataResult
- type DeliverDigitalResponseDataResultData
- type DigitalAlterOrderStatusResponse
- type DigitalCreateOrderResponse
- type DigitalQueryOrderResponse
- type DigitalServiceCdkCodeReceivedResponse
- type DirectTransferQueryResponse
- type DirectTransferRequestResponse
- type Document
- type DopConfirmInboundResponse
- type DopCreateScannedParcelResponse
- type DopCreateScannedParcelResponseData
- type DopDeleteScannedParcelResponse
- type DopGetInboundedParcelResponse
- type DopGetInboundedParcelResponseData
- type DopGetScannedParcelResponse
- type DopGetScannedParcelResponseData
- type ETicketsService
- type ETicketsServiceOp
- func (s *ETicketsServiceOp[T]) GetOrderItemsFromBarCode(ctx context.Context) (*GetOrderItemsFromBarCodeResponse, error)
- func (s *ETicketsServiceOp[T]) GlobalEticketMerchantMaAvailable(ctx context.Context) (*GlobalEticketMerchantMaAvailableResponse, error)
- func (s *ETicketsServiceOp[T]) GlobalEticketMerchantMaConsume(ctx context.Context) (*GlobalEticketMerchantMaConsumeResponse, error)
- func (s *ETicketsServiceOp[T]) GlobalEticketMerchantMaFailsend(ctx context.Context) (*GlobalEticketMerchantMaFailsendResponse, error)
- func (s *ETicketsServiceOp[T]) GlobalEticketMerchantMaQuery(ctx context.Context) (*GlobalEticketMerchantMaQueryResponse, error)
- func (s *ETicketsServiceOp[T]) GlobalEticketMerchantMaQueryTbMa(ctx context.Context) (*GlobalEticketMerchantMaQueryTbMaResponse, error)
- func (s *ETicketsServiceOp[T]) GlobalEticketMerchantMaSend(ctx context.Context) (*GlobalEticketMerchantMaSendResponse, error)
- func (s *ETicketsServiceOp[T]) RedeemOrderItems(ctx context.Context) (*RedeemOrderItemsResponse, error)
- type EarlyBirdActivityAddSkusV2Response
- type EarlyBirdActivityAddSkusV2ResponseDataResult
- type EarlyBirdActivityDeactivateSkusV2Response
- type EarlyBirdActivityIsWhitelistSellerResponse
- type EarlyBirdPriceService
- type EarlyBirdPriceServiceOp
- func (s *EarlyBirdPriceServiceOp[T]) CreateEarlyBirdActivityV2(ctx context.Context) (*CreateEarlyBirdActivityV2Response, error)
- func (s *EarlyBirdPriceServiceOp[T]) EarlyBirdActivityAddSkusV2(ctx context.Context) (*EarlyBirdActivityAddSkusV2Response, error)
- func (s *EarlyBirdPriceServiceOp[T]) EarlyBirdActivityDeactivateSkusV2(ctx context.Context) (*EarlyBirdActivityDeactivateSkusV2Response, error)
- func (s *EarlyBirdPriceServiceOp[T]) EarlyBirdActivityIsWhitelistSeller(ctx context.Context) (*EarlyBirdActivityIsWhitelistSellerResponse, error)
- type EditChoiceSkuStockResponse
- type EditChoiceSkuStockResponseData
- type EpisGetDeliveryOptionsResponse
- type EpisGetDeliveryOptionsResponseData
- type EpisPackageCancellationResponse
- type EpisPackageCancellationV3Response
- type EpisPackageConsignmentResponse
- type EpisPackageConsignmentResponseData
- type EpisPackageConsignmentV2Response
- type EpisPackageConsignmentV2ResponseData
- type EpisPackageCreationResponse
- type EpisPackageCreationResponseData
- type EpisPackageInfoUpdateResponse
- type EpisPackageInfoUpdateResponseData
- type EpisPackagePrintAwbResponse
- type EpisPackagePrintAwbResponseData
- type EpisPackageReAttemptResponse
- type EpisPackageReadyToBeShippedResponse
- type EpisPackageReadyToBeShippedResponseData
- type EpisPackageReadyToBeShippedResponseDataErrors
- type EpisUploadAwbFulfillmentResponse
- type EpisXspaceCreateResponse
- type EpisXspaceCreateResponseData
- type EpisXspaceGetDetailResponse
- type EpisXspaceGetDetailResponseData
- type EpisXspaceQueryResponse
- type EpisXspaceQueryResponseData
- type EpisXspaceRateTicketResponse
- type Error
- type ErrorCode
- type Errors
- type EstimateShippingFeeResponse
- type EstimateShippingFeeResponseData
- type FBLService
- type FBLServiceOp
- func (s *FBLServiceOp[T]) BuildFulfillmentSkuRelation(ctx context.Context) (*BuildFulfillmentSkuRelationResponse, error)
- func (s *FBLServiceOp[T]) CancelFulfillmentOrderForMCL(ctx context.Context) (*CancelFulfillmentOrderForMCLResponse, error)
- func (s *FBLServiceOp[T]) CancelInboundReservation(ctx context.Context) (*CancelInboundReservationResponse, error)
- func (s *FBLServiceOp[T]) CancelOutboundOrder(ctx context.Context) (*CancelOutboundOrderResponse, error)
- func (s *FBLServiceOp[T]) CancelVasOrder4FBL(ctx context.Context) (*CancelVasOrder4FBLResponse, error)
- func (s *FBLServiceOp[T]) CancelnBoundOrder(ctx context.Context) (*CancelnBoundOrderResponse, error)
- func (s *FBLServiceOp[T]) CheckInboundReservationSlot(ctx context.Context) (*CheckInboundReservationSlotResponse, error)
- func (s *FBLServiceOp[T]) CreateFulfillmentOrderForMCL(ctx context.Context) (*CreateFulfillmentOrderForMCLResponse, error)
- func (s *FBLServiceOp[T]) CreateFulfillmentOrderForMCLV2PNF(ctx context.Context) (*CreateFulfillmentOrderForMCLV2PNFResponse, error)
- func (s *FBLServiceOp[T]) CreateFulfillmentSkuDecouple(ctx context.Context) (*CreateFulfillmentSkuDecoupleResponse, error)
- func (s *FBLServiceOp[T]) CreateFulfillmentSkuForFBL(ctx context.Context) (*CreateFulfillmentSkuForFBLResponse, error)
- func (s *FBLServiceOp[T]) CreateInboundOrder(ctx context.Context) (*CreateInboundOrderResponse, error)
- func (s *FBLServiceOp[T]) CreateInboundReservation(ctx context.Context) (*CreateInboundReservationResponse, error)
- func (s *FBLServiceOp[T]) CreateOutBoundOrder(ctx context.Context) (*CreateOutBoundOrderResponse, error)
- func (s *FBLServiceOp[T]) CreateProductReinboundOrderForMCL(ctx context.Context) (*CreateProductReinboundOrderForMCLResponse, error)
- func (s *FBLServiceOp[T]) CreateVasOrder4FBL(ctx context.Context) (*CreateVasOrder4FBLResponse, error)
- func (s *FBLServiceOp[T]) GetChannelStocksForMCL(ctx context.Context) (*GetChannelStocksForMCLResponse, error)
- func (s *FBLServiceOp[T]) GetFulfillmentProductDetail(ctx context.Context) (*GetFulfillmentProductDetailResponse, error)
- func (s *FBLServiceOp[T]) GetFulfillmentSkuListForMCL(ctx context.Context) (*GetFulfillmentSkuListForMCLResponse, error)
- func (s *FBLServiceOp[T]) GetFulfillmentSkuRelationByScItem(ctx context.Context) (*GetFulfillmentSkuRelationByScItemResponse, error)
- func (s *FBLServiceOp[T]) GetFulfillmentSkuRelationBySku(ctx context.Context) (*GetFulfillmentSkuRelationBySkuResponse, error)
- func (s *FBLServiceOp[T]) GetFulfillmentSkuRelationsByScItems(ctx context.Context) (*GetFulfillmentSkuRelationsByScItemsResponse, error)
- func (s *FBLServiceOp[T]) GetFulfillmentSkuRelationsBySkus(ctx context.Context) (*GetFulfillmentSkuRelationsBySkusResponse, error)
- func (s *FBLServiceOp[T]) GetIcpOrderFile(ctx context.Context) (*GetIcpOrderFileResponse, error)
- func (s *FBLServiceOp[T]) GetInboundOrderDetail(ctx context.Context) (*GetInboundOrderDetailResponse, error)
- func (s *FBLServiceOp[T]) GetInboundOrderList(ctx context.Context) (*GetInboundOrderListResponse, error)
- func (s *FBLServiceOp[T]) GetInboundReservationFile(ctx context.Context) (*GetInboundReservationFileResponse, error)
- func (s *FBLServiceOp[T]) GetInventoryChangedSKU(ctx context.Context) (*GetInventoryChangedSKUResponse, error)
- func (s *FBLServiceOp[T]) GetInventoryOccupyDetails(ctx context.Context) (*GetInventoryOccupyDetailsResponse, error)
- func (s *FBLServiceOp[T]) GetInventoryOperateLog(ctx context.Context) (*GetInventoryOperateLogResponse, error)
- func (s *FBLServiceOp[T]) GetOutboundOrderDetail(ctx context.Context) (*GetOutboundOrderDetailResponse, error)
- func (s *FBLServiceOp[T]) GetOutboundOrderList(ctx context.Context) (*GetOutboundOrderListResponse, error)
- func (s *FBLServiceOp[T]) GetPlatformProductsV2(ctx context.Context) (*GetPlatformProductsV2Response, error)
- func (s *FBLServiceOp[T]) GetProductBatchList(ctx context.Context) (*GetProductBatchListResponse, error)
- func (s *FBLServiceOp[T]) GetShipperInfo(ctx context.Context) (*GetShipperInfoResponse, error)
- func (s *FBLServiceOp[T]) GetStockRule(ctx context.Context) (*GetStockRuleResponse, error)
- func (s *FBLServiceOp[T]) GetVasOrderByNo4FBL(ctx context.Context) (*GetVasOrderByNo4FBLResponse, error)
- func (s *FBLServiceOp[T]) GetWarehouseListForMCL(ctx context.Context) (*GetWarehouseListForMCLResponse, error)
- func (s *FBLServiceOp[T]) GetWarehouseStock(ctx context.Context) (*GetWarehouseStockResponse, error)
- func (s *FBLServiceOp[T]) GetWarehouseStockV3(ctx context.Context) (*GetWarehouseStockV3Response, error)
- func (s *FBLServiceOp[T]) ListIcpWarehouse(ctx context.Context) (*ListIcpWarehouseResponse, error)
- func (s *FBLServiceOp[T]) QueryFulfillmentOrderForMCL(ctx context.Context) (*QueryFulfillmentOrderForMCLResponse, error)
- func (s *FBLServiceOp[T]) QueryInboundBatch(ctx context.Context) (*QueryInboundBatchResponse, error)
- func (s *FBLServiceOp[T]) QueryInboundReservationOrder(ctx context.Context) (*QueryInboundReservationOrderResponse, error)
- func (s *FBLServiceOp[T]) QueryReverseOrderForMCL(ctx context.Context) (*QueryReverseOrderForMCLResponse, error)
- func (s *FBLServiceOp[T]) RemoveFulfillmentSkuRelation(ctx context.Context) (*RemoveFulfillmentSkuRelationResponse, error)
- func (s *FBLServiceOp[T]) ReturnCancellation(ctx context.Context) (*ReturnCancellationResponse, error)
- func (s *FBLServiceOp[T]) ReturnOrderCreation(ctx context.Context) (*ReturnOrderCreationResponse, error)
- func (s *FBLServiceOp[T]) SetStockRule(ctx context.Context) (*SetStockRuleResponse, error)
- func (s *FBLServiceOp[T]) UpdateFulfillmentSkuDecouple(ctx context.Context) (*UpdateFulfillmentSkuDecoupleResponse, error)
- func (s *FBLServiceOp[T]) UploadWaybill(ctx context.Context, filename string, reader io.Reader) (*UploadWaybillResponse, error)
- type FailedDeliveryForDBSResponse
- type FeeCreationDate
- type FinanceService
- type FinanceServiceOp
- func (s *FinanceServiceOp[T]) GetPayoutStatus(ctx context.Context) (*GetPayoutStatusResponse, error)
- func (s *FinanceServiceOp[T]) QueryAccountTransactions(ctx context.Context) (*QueryAccountTransactionsResponse, error)
- func (s *FinanceServiceOp[T]) QueryLogisticsFeeDetail(ctx context.Context) (*QueryLogisticsFeeDetailResponse, error)
- func (s *FinanceServiceOp[T]) QueryTransactionDetails(ctx context.Context) (*QueryTransactionDetailsResponse, error)
- type FirstMileBigbagonlyForCNService
- type FirstMileBigbagonlyForCNServiceOp
- func (s *FirstMileBigbagonlyForCNServiceOp[T]) GetChannelcodeByFirstMileNo(ctx context.Context) (*GetChannelcodeByFirstMileNoResponse, error)
- func (s *FirstMileBigbagonlyForCNServiceOp[T]) GetLazadaBigbagPDFLable(ctx context.Context) (*GetLazadaBigbagPDFLableResponse, error)
- func (s *FirstMileBigbagonlyForCNServiceOp[T]) LazadaBigbagCancel(ctx context.Context) (*LazadaBigbagCancelResponse, error)
- func (s *FirstMileBigbagonlyForCNServiceOp[T]) LazadaBigbagCollectionPoints(ctx context.Context) (*LazadaBigbagCollectionPointsResponse, error)
- func (s *FirstMileBigbagonlyForCNServiceOp[T]) LazadaBigbagCommit(ctx context.Context) (*LazadaBigbagCommitResponse, error)
- func (s *FirstMileBigbagonlyForCNServiceOp[T]) LazadaBigbagUpdate(ctx context.Context) (*LazadaBigbagUpdateResponse, error)
- func (s *FirstMileBigbagonlyForCNServiceOp[T]) LazadaSellerAccountBind(ctx context.Context) (*LazadaSellerAccountBindResponse, error)
- func (s *FirstMileBigbagonlyForCNServiceOp[T]) QueryAddressInformaiton(ctx context.Context) (*QueryAddressInformaitonResponse, error)
- func (s *FirstMileBigbagonlyForCNServiceOp[T]) QueryLazadaBigbagInfo(ctx context.Context) (*QueryLazadaBigbagInfoResponse, error)
- type FixHandResponse
- type FlexFloat
- type FlexInt
- type FlexString
- type FlexicomboService
- type FlexicomboServiceOp
- func (s *FlexicomboServiceOp[T]) ActivateFlexiCombo(ctx context.Context) (*ActivateFlexiComboResponse, error)
- func (s *FlexicomboServiceOp[T]) AddFlexiComboProducts(ctx context.Context) (*AddFlexiComboProductsResponse, error)
- func (s *FlexicomboServiceOp[T]) CreateFlexiCombo(ctx context.Context) (*CreateFlexiComboResponse, error)
- func (s *FlexicomboServiceOp[T]) DeactivateFlexiCombo(ctx context.Context) (*DeactivateFlexiComboResponse, error)
- func (s *FlexicomboServiceOp[T]) DeleteFlexiComboProducts(ctx context.Context) (*DeleteFlexiComboProductsResponse, error)
- func (s *FlexicomboServiceOp[T]) GetFlexiComboDetails(ctx context.Context) (*GetFlexiComboDetailsResponse, error)
- func (s *FlexicomboServiceOp[T]) ListFlexiCombo(ctx context.Context) (*ListFlexiComboResponse, error)
- func (s *FlexicomboServiceOp[T]) ListFlexiComboProducts(ctx context.Context) (*ListFlexiComboProductsResponse, error)
- func (s *FlexicomboServiceOp[T]) UpdateFlexiCombo(ctx context.Context) (*UpdateFlexiComboResponse, error)
- type FreeShippingActivateResponse
- type FreeShippingAddSelectedProductSKUResponse
- type FreeShippingAddSelectedProductSKUResponseData
- type FreeShippingCreateResponse
- type FreeShippingDeactivateResponse
- type FreeShippingDeleteSelectedProductSKUResponse
- type FreeShippingDeliveryOptionsQueryResponse
- type FreeShippingDeliveryOptionsQueryResponseData
- type FreeShippingGetResponse
- type FreeShippingGetResponseData
- type FreeShippingListResponse
- type FreeShippingListResponseData
- type FreeShippingListResponseDataData
- type FreeShippingRegionsQueryResponse
- type FreeShippingRegionsQueryResponseData
- type FreeShippingSelectedProductListResponse
- type FreeShippingSelectedProductListResponseData
- type FreeShippingSelectedProductListResponseDataData
- type FreeShippingService
- type FreeShippingServiceOp
- func (s *FreeShippingServiceOp[T]) FreeShippingActivate(ctx context.Context) (*FreeShippingActivateResponse, error)
- func (s *FreeShippingServiceOp[T]) FreeShippingAddSelectedProductSKU(ctx context.Context) (*FreeShippingAddSelectedProductSKUResponse, error)
- func (s *FreeShippingServiceOp[T]) FreeShippingCreate(ctx context.Context) (*FreeShippingCreateResponse, error)
- func (s *FreeShippingServiceOp[T]) FreeShippingDeactivate(ctx context.Context) (*FreeShippingDeactivateResponse, error)
- func (s *FreeShippingServiceOp[T]) FreeShippingDeleteSelectedProductSKU(ctx context.Context) (*FreeShippingDeleteSelectedProductSKUResponse, error)
- func (s *FreeShippingServiceOp[T]) FreeShippingDeliveryOptionsQuery(ctx context.Context) (*FreeShippingDeliveryOptionsQueryResponse, error)
- func (s *FreeShippingServiceOp[T]) FreeShippingGet(ctx context.Context) (*FreeShippingGetResponse, error)
- func (s *FreeShippingServiceOp[T]) FreeShippingList(ctx context.Context) (*FreeShippingListResponse, error)
- func (s *FreeShippingServiceOp[T]) FreeShippingRegionsQuery(ctx context.Context) (*FreeShippingRegionsQueryResponse, error)
- func (s *FreeShippingServiceOp[T]) FreeShippingSelectedProductList(ctx context.Context) (*FreeShippingSelectedProductListResponse, error)
- func (s *FreeShippingServiceOp[T]) FreeShippingUpdate(ctx context.Context) (*FreeShippingUpdateResponse, error)
- type FreeShippingUpdateResponse
- type FulfillmentService
- type FulfillmentServiceOp
- func (s *FulfillmentServiceOp[T]) ConfirmCollectForDBS(ctx context.Context) (*ConfirmCollectForDBSResponse, error)
- func (s *FulfillmentServiceOp[T]) ConfirmDeliveryForDBS(ctx context.Context) (*ConfirmDeliveryForDBSResponse, error)
- func (s *FulfillmentServiceOp[T]) DeliverDigital(ctx context.Context) (*DeliverDigitalResponse, error)
- func (s *FulfillmentServiceOp[T]) FailedDeliveryForDBS(ctx context.Context) (*FailedDeliveryForDBSResponse, error)
- func (s *FulfillmentServiceOp[T]) GetShipmentProvider(ctx context.Context) (*GetShipmentProviderResponse, error)
- func (s *FulfillmentServiceOp[T]) Pack(ctx context.Context, req PackRequest) (*PackResponse, error)
- func (s *FulfillmentServiceOp[T]) PackageStatusUpdateForDBS(ctx context.Context) (*PackageStatusUpdateForDBSResponse, error)
- func (s *FulfillmentServiceOp[T]) PrintAWB(ctx context.Context, req PrintAWBRequest) (*PrintAWBResponse, error)
- func (s *FulfillmentServiceOp[T]) ReadyToShip(ctx context.Context, req ReadyToShipRequest) (*ReadyToShipResponse, error)
- func (s *FulfillmentServiceOp[T]) RecreatePackage(ctx context.Context) (*RecreatePackageResponse, error)
- type GetAccountSignInfoResponse
- type GetAutoTopUpOptionOneConfigResponse
- type GetAutoTopUpOptionOneConfigResponseDataResult
- type GetBrandByPagesRequest
- type GetBrandByPagesResponse
- type GetBrandByPagesResponseData
- type GetCampaignCountResponse
- type GetCampaignResponse
- type GetCampaignResponseDataResult
- type GetCategoryAttributesRequest
- type GetCategoryAttributesResponse
- type GetCategoryAttributesResponseData
- type GetCategorySuggestionResponse
- type GetCategorySuggestionResponseData
- type GetCategoryTreeResponse
- type GetCategoryTreeResponseData
- type GetChannelStocksForMCLResponse
- type GetChannelStocksForMCLResponseData
- type GetChannelcodeByFirstMileNoResponse
- type GetChannelcodeByFirstMileNoResponseDataResult
- type GetChoiceProductItemResponse
- type GetChoiceProductItemResponseData
- type GetChoiceProductsResponse
- type GetChoiceProductsResponseData
- type GetChoiceSellerResponse
- type GetChoiceSellerResponseData
- type GetChoiceSkuItemRelationBySkuResponse
- type GetChoiceSkuItemRelationBySkuResponseData
- type GetCountryInfoResponse
- type GetCountryInfoResponseData
- type GetCpScheduledPuParcelResponse
- type GetCpScheduledPuParcelResponseData
- type GetDiscoveryReportAdgroupResponse
- type GetDiscoveryReportAdgroupResponseDataResult
- type GetDiscoveryReportAudienceResponse
- type GetDiscoveryReportAudienceResponseDataResult
- type GetDiscoveryReportCampaignResponse
- type GetDiscoveryReportCampaignResponseDataResult
- type GetDiscoveryReportCampaignResponseDataResultResult
- type GetDiscoveryReportKeywordResponse
- type GetDiscoveryReportKeywordResponseDataResult
- type GetDiscoveryReportKeywordResponseDataResultResult
- type GetDocumentReq
- type GetDocumentReqPackages
- type GetDocumentResponse
- type GetDocumentResponseData
- type GetFlexiComboDetailsResponse
- type GetFlexiComboDetailsResponseData
- type GetFulfillmentProductDetailResponse
- type GetFulfillmentProductDetailResponseData
- type GetFulfillmentSkuListForMCLResponse
- type GetFulfillmentSkuListForMCLResponseData
- type GetFulfillmentSkuRelationByScItemResponse
- type GetFulfillmentSkuRelationByScItemResponseDataResult
- type GetFulfillmentSkuRelationByScItemResponseDataResultData
- type GetFulfillmentSkuRelationBySkuResponse
- type GetFulfillmentSkuRelationBySkuResponseDataResult
- type GetFulfillmentSkuRelationsByScItemsResponse
- type GetFulfillmentSkuRelationsBySkusResponse
- type GetGlobalProductExtensionResponse
- type GetGlobalProductExtensionResponseData
- type GetGlobalProductStatusResponse
- type GetHistoryReviewIdListResponse
- type GetHistoryReviewIdListResponseData
- type GetIcpOrderFileResponse
- type GetIcpOrderFileResponseData
- type GetInboundOrderDetailResponse
- type GetInboundOrderDetailResponseData
- type GetInboundOrderDetailResponseDataSkus
- type GetInboundOrderListResponse
- type GetInboundOrderListResponseDataResult
- type GetInboundOrderListResponseDataResultData
- type GetInboundReservationFileResponse
- type GetInboundReservationFileResponseData
- type GetInboundedParcelResponse
- type GetInboundedParcelResponseData
- type GetInventoryChangedSKUResponse
- type GetInventoryOccupyDetailsResponse
- type GetInventoryOperateLogResponse
- type GetLatestSignInfoResponse
- type GetLazadaBigbagPDFLableResponse
- type GetLazadaBigbagPDFLableResponseDataResult
- type GetLinkMember1Response
- type GetLinkMemberList1Response
- type GetLinkMemberListResponse
- type GetLinkMemberListResponseDataResult
- type GetLinkMemberResponse
- type GetLinkMemberResponseDataResult
- type GetListAccessStationResponse
- type GetListAccessStationResponseData
- type GetMessagesResponse
- type GetMessagesResponseData
- type GetMetaDataResponse
- type GetMetaDataResponseData
- type GetMultipleOrderItemsRequest
- type GetMultipleOrderItemsResponse
- type GetMultipleOrderItemsResponseData
- type GetNextCascadePropResponse
- type GetNextCascadePropResponseData
- type GetOVOOrdersResponse
- type GetOVOOrdersResponseDataResult
- type GetOrderItemsFromBarCodeResponse
- type GetOrderItemsFromBarCodeResponseData
- type GetOrderItemsRequest
- type GetOrderItemsResponse
- type GetOrderItemsResponseData
- type GetOrderResponse
- type GetOrderResponseData
- type GetOrderTraceResponse
- type GetOrderTraceResponseDataResult
- type GetOrdersRequest
- type GetOrdersResponse
- type GetOrdersResponseData
- type GetOutboundOrderDetailResponse
- type GetOutboundOrderDetailResponseData
- type GetOutboundOrderDetailResponseDataSkus
- type GetOutboundOrderListResponse
- type GetOutboundOrderListResponseDataResult
- type GetOutboundOrderListResponseDataResultData
- type GetPayoutStatusResponse
- type GetPayoutStatusResponseData
- type GetPickUpStoreListResponse
- type GetPickUpStoreListResponseDataResult
- type GetPlatformProductsV2Response
- type GetPlatformProductsV2ResponseData
- type GetPlatformProductsV2ResponseDataSkus
- type GetPreQcRulesResponse
- type GetProductBatchListResponse
- type GetProductBatchListResponseDataResult
- type GetProductBatchListResponseDataResultData
- type GetProductContentScoreResponse
- type GetProductContentScoreResponseDataResult
- type GetProductContentScoreResponseDataResultData
- type GetProductItemRequest
- type GetProductItemResponse
- type GetProductItemResponseData
- type GetProductItemResponseDataSkus
- type GetProductsRequest
- type GetProductsResponse
- type GetProductsResponseData
- type GetProductsResponseDataProducts
- type GetProductsResponseDataProductsSkus
- type GetQCAlertProductsResponse
- type GetQCAlertProductsResponseData
- type GetRecommendPriceResponse
- type GetRecommendPriceResponseData
- type GetReportCampaignOnFIrstSlotResponse
- type GetReportCampaignOnFIrstSlotResponseDataResult
- type GetReportCampaignOnFIrstSlotResponseDataResultResult
- type GetReportOverviewMetricResponse
- type GetReportOverviewMetricResponseDataResult
- type GetReportOverviewResponse
- type GetReportOverviewResponseDataResult
- type GetResponseResponse
- type GetResponseResponseData
- type GetResponseResponseDataErrors
- type GetReverseOrderDetailResponse
- type GetReverseOrderDetailResponseData
- type GetReverseOrderHistoryListResponse
- type GetReverseOrderHistoryListResponseData
- type GetReverseOrderReasonListResponse
- type GetReverseOrderReasonListResponseData
- type GetReverseOrdersForSellerRequest
- type GetReverseOrdersForSellerResponse
- type GetReverseOrdersForSellerResponseData
- type GetReverseOrdersForSellerResponseDataItems
- type GetReverseOrdersForSellerResponseDataResult
- type GetReviewListByIdListResponse
- type GetReviewListByIdListResponseData
- type GetScannedParcelResponse
- type GetScannedParcelResponseData
- type GetSellerItemLimitResponse
- type GetSellerItemLimitResponseData
- type GetSellerMetricsByIdResponse
- type GetSellerMetricsByIdResponseData
- type GetSellerPerformanceResponse
- type GetSellerPerformanceResponseData
- type GetSellerRegisterInfoResponse
- type GetSellerRegisterInfoResponseData
- type GetSellerResponse
- type GetSellerResponseData
- type GetSessionDetailResponse
- type GetSessionDetailResponseData
- type GetSessionListResponse
- type GetSessionListResponseData
- type GetShipmentProviderResponse
- type GetShipmentProviderResponseDataResult
- type GetShipmentProviderResponseDataResultData
- type GetShipperInfoResponse
- type GetShipperInfoResponseData
- type GetShippingFeeResponse
- type GetShippingFeeResponseData
- type GetSizeChartTemplateRequest
- type GetSizeChartTemplateResponse
- type GetSizeChartTemplateResponseData
- type GetStockRuleResponse
- type GetStockRuleResponseData
- type GetStoreCustomPageResponse
- type GetStoreCustomPageResponseData
- type GetStoreCustomPageResponseDataResult
- type GetSubAddressResponse
- type GetSubAddressResponseData
- type GetSubscriptionToFusionResponse
- type GetTaskStatusResponse
- type GetTaskStatusResponseDataResult
- type GetUnfilledAttributeItemResponse
- type GetUnfilledAttributeItemResponseDataProducts
- type GetUnfilledAttributeResponse
- type GetUnfilledAttributeResponseData
- type GetUnfilledAttributeResponseDataProducts
- type GetUpgradableGlobalPlusProductListResponse
- type GetUpgradableGlobalPlusProductListResponseData
- type GetUpgradableGlobalPlusProductListResponseDataProducts
- type GetVasOrderByNo4FBLResponse
- type GetVideoQuotaResponse
- type GetVideoResponse
- type GetWarehouseBySellerIdResponse
- type GetWarehouseBySellerIdResponseDataResult
- type GetWarehouseListForMCLResponse
- type GetWarehouseListForMCLResponseData
- type GetWarehouseStockResponse
- type GetWarehouseStockResponseData
- type GetWarehouseStockV3Response
- type GetWarehouseStockV3ResponseData
- type GiftCodeQueryResponse
- type GiftCodeRequestResponse
- type GiftSkus
- type GlobalEticketMerchantMaAvailableResponse
- type GlobalEticketMerchantMaConsumeResponse
- type GlobalEticketMerchantMaFailsendResponse
- type GlobalEticketMerchantMaQueryResponse
- type GlobalEticketMerchantMaQueryTbMaResponse
- type GlobalEticketMerchantMaSendResponse
- type HighlightProductResponse
- type HighlightProductResponseData
- type Image
- type ImageIndicators
- type ImageSequence
- type Indicators
- type InitCreateVideoResponse
- type InitReverseOrderCancelDecideResponse
- type InitReverseOrderCancelRequest
- type InitReverseOrderCancelResponse
- type InitReverseOrderCancelResponseData
- type InstallServiceCallBack1Response
- type InstallServiceCallBackForTestResponse
- type InstallServiceCallBackResponse
- type InstantMessagingService
- type InstantMessagingServiceOp
- func (s *InstantMessagingServiceOp[T]) GetMessages(ctx context.Context) (*GetMessagesResponse, error)
- func (s *InstantMessagingServiceOp[T]) GetSessionDetail(ctx context.Context) (*GetSessionDetailResponse, error)
- func (s *InstantMessagingServiceOp[T]) GetSessionList(ctx context.Context) (*GetSessionListResponse, error)
- func (s *InstantMessagingServiceOp[T]) MessageRecall(ctx context.Context) (*MessageRecallResponse, error)
- func (s *InstantMessagingServiceOp[T]) OpenSession(ctx context.Context) (*OpenSessionResponse, error)
- func (s *InstantMessagingServiceOp[T]) ReadSession(ctx context.Context) (*ReadSessionResponse, error)
- func (s *InstantMessagingServiceOp[T]) SendMessage(ctx context.Context) (*SendMessageResponse, error)
- type InsuranceAlterOrderStatusResponse
- type InsuranceCreateOrderResponse
- type InsuranceGetPromotionsResponse
- type InsuranceQueryOrderResponse
- type InsuranceRealTimeCDPResponse
- type InuranceNotication1Response
- type InuranceNoticationResponse
- type InuranceNotifyLapseResponse
- type InventoryOccupyDetails
- type InventoryOperateLog
- type Item
- type Items
- type LastMileShippingProvider
- type LastReportOverviewDetailDTO
- type LazLikeService
- type LazLikeServiceOp
- func (s *LazLikeServiceOp[T]) MCNQueryTagInfoByName(ctx context.Context) (*MCNQueryTagInfoByNameResponse, error)
- func (s *LazLikeServiceOp[T]) McnContentCancelSchedulePublish(ctx context.Context) (*McnContentCancelSchedulePublishResponse, error)
- func (s *LazLikeServiceOp[T]) McnContentCompleteCreateVideo(ctx context.Context) (*McnContentCompleteCreateVideoResponse, error)
- func (s *LazLikeServiceOp[T]) McnContentCreate(ctx context.Context) (*McnContentCreateResponse, error)
- func (s *LazLikeServiceOp[T]) McnContentInitCreateVideo(ctx context.Context) (*McnContentInitCreateVideoResponse, error)
- func (s *LazLikeServiceOp[T]) McnContentListCategory(ctx context.Context) (*McnContentListCategoryResponse, error)
- func (s *LazLikeServiceOp[T]) McnContentPropertyTagList(ctx context.Context) (*McnContentPropertyTagListResponse, error)
- func (s *LazLikeServiceOp[T]) McnContentReplySchedulePublish(ctx context.Context) (*McnContentReplySchedulePublishResponse, error)
- func (s *LazLikeServiceOp[T]) McnContentUploadImage(ctx context.Context, filename string, reader io.Reader) (*McnContentUploadImageResponse, error)
- func (s *LazLikeServiceOp[T]) McnContentUploadVideoBlock(ctx context.Context, filename string, reader io.Reader) (*McnContentUploadVideoBlockResponse, error)
- func (s *LazLikeServiceOp[T]) McnProductValidator(ctx context.Context) (*McnProductValidatorResponse, error)
- func (s *LazLikeServiceOp[T]) McnSimilarProductSearch(ctx context.Context) (*McnSimilarProductSearchResponse, error)
- func (s *LazLikeServiceOp[T]) QueryContentReviewRecords(ctx context.Context) (*QueryContentReviewRecordsResponse, error)
- type LazLiveService
- type LazLiveServiceOp
- type LazPayService
- type LazPayServiceOp
- func (s *LazPayServiceOp[T]) CollectBenefit(ctx context.Context) (*CollectBenefitResponse, error)
- func (s *LazPayServiceOp[T]) ConsultPayment(ctx context.Context) (*ConsultPaymentResponse, error)
- func (s *LazPayServiceOp[T]) CreateSubscriptionToFusion(ctx context.Context) (*CreateSubscriptionToFusionResponse, error)
- func (s *LazPayServiceOp[T]) DGUtiityPreCreateOrder(ctx context.Context) (*DGUtiityPreCreateOrderResponse, error)
- func (s *LazPayServiceOp[T]) DGUtilityPreGetPaymentStatus(ctx context.Context) (*DGUtilityPreGetPaymentStatusResponse, error)
- func (s *LazPayServiceOp[T]) DGUtilityPreUpdateFulfillemtStatus(ctx context.Context) (*DGUtilityPreUpdateFulfillemtStatusResponse, error)
- func (s *LazPayServiceOp[T]) DigitalAlterOrderStatus(ctx context.Context) (*DigitalAlterOrderStatusResponse, error)
- func (s *LazPayServiceOp[T]) DigitalCreateOrder(ctx context.Context) (*DigitalCreateOrderResponse, error)
- func (s *LazPayServiceOp[T]) DigitalQueryOrder(ctx context.Context) (*DigitalQueryOrderResponse, error)
- func (s *LazPayServiceOp[T]) GetSubscriptionToFusion(ctx context.Context) (*GetSubscriptionToFusionResponse, error)
- func (s *LazPayServiceOp[T]) InsuranceAlterOrderStatus(ctx context.Context) (*InsuranceAlterOrderStatusResponse, error)
- func (s *LazPayServiceOp[T]) InsuranceCreateOrder(ctx context.Context) (*InsuranceCreateOrderResponse, error)
- func (s *LazPayServiceOp[T]) InsuranceGetPromotions(ctx context.Context) (*InsuranceGetPromotionsResponse, error)
- func (s *LazPayServiceOp[T]) InsuranceQueryOrder(ctx context.Context) (*InsuranceQueryOrderResponse, error)
- func (s *LazPayServiceOp[T]) InsuranceRealTimeCDP(ctx context.Context) (*InsuranceRealTimeCDPResponse, error)
- func (s *LazPayServiceOp[T]) LazadaCFOInvoiceRpaCallback(ctx context.Context) (*LazadaCFOInvoiceRpaCallbackResponse, error)
- func (s *LazPayServiceOp[T]) OpenServiceBalanceQuery(ctx context.Context) (*OpenServiceBalanceQueryResponse, error)
- func (s *LazPayServiceOp[T]) OpenServiceKycQuery(ctx context.Context) (*OpenServiceKycQueryResponse, error)
- func (s *LazPayServiceOp[T]) OpenServiceWithdrawApply(ctx context.Context) (*OpenServiceWithdrawApplyResponse, error)
- func (s *LazPayServiceOp[T]) OpenServiceWithdrawQuery(ctx context.Context) (*OpenServiceWithdrawQueryResponse, error)
- func (s *LazPayServiceOp[T]) QueryAddonOrder(ctx context.Context) (*QueryAddonOrderResponse, error)
- func (s *LazPayServiceOp[T]) QueryBenefit(ctx context.Context) (*QueryBenefitResponse, error)
- func (s *LazPayServiceOp[T]) Reconciliation(ctx context.Context) (*ReconciliationResponse, error)
- func (s *LazPayServiceOp[T]) RedeemMpVoucher(ctx context.Context) (*RedeemMpVoucherResponse, error)
- type LazadaBigbagCancelResponse
- type LazadaBigbagCancelResponseDataResult
- type LazadaBigbagCollectionPointsResponse
- type LazadaBigbagCollectionPointsResponseDataResult
- type LazadaBigbagCollectionPointsResponseDataResultData
- type LazadaBigbagCommitResponse
- type LazadaBigbagCommitResponseDataResult
- type LazadaBigbagCommitResponseDataResultData
- type LazadaBigbagUpdateResponse
- type LazadaBigbagUpdateResponseDataResult
- type LazadaCFOInvoiceRpaCallbackResponse
- type LazadaDGService
- type LazadaDGServiceOp
- func (s *LazadaDGServiceOp[T]) DigitalServiceCdkCodeReceived(ctx context.Context) (*DigitalServiceCdkCodeReceivedResponse, error)
- func (s *LazadaDGServiceOp[T]) InstallServiceCallBack(ctx context.Context) (*InstallServiceCallBackResponse, error)
- func (s *LazadaDGServiceOp[T]) InstallServiceCallBack1(ctx context.Context) (*InstallServiceCallBack1Response, error)
- func (s *LazadaDGServiceOp[T]) InstallServiceCallBackForTest(ctx context.Context) (*InstallServiceCallBackForTestResponse, error)
- func (s *LazadaDGServiceOp[T]) InuranceNotication(ctx context.Context) (*InuranceNoticationResponse, error)
- func (s *LazadaDGServiceOp[T]) InuranceNotication1(ctx context.Context) (*InuranceNotication1Response, error)
- func (s *LazadaDGServiceOp[T]) InuranceNotifyLapse(ctx context.Context) (*InuranceNotifyLapseResponse, error)
- type LazadaLogisticsService
- type LazadaLogisticsServiceOp
- func (s *LazadaLogisticsServiceOp[T]) CreateCustomerAccountRelationshipByOTP(ctx context.Context) (*CreateCustomerAccountRelationshipByOTPResponse, error)
- func (s *LazadaLogisticsServiceOp[T]) CreateCustomerAccountRelationshipForExternal(ctx context.Context) (*CreateCustomerAccountRelationshipForExternalResponse, error)
- func (s *LazadaLogisticsServiceOp[T]) CreateOrUpdateCustomerWarehouse(ctx context.Context) (*CreateOrUpdateCustomerWarehouseResponse, error)
- func (s *LazadaLogisticsServiceOp[T]) EpisGetDeliveryOptions(ctx context.Context) (*EpisGetDeliveryOptionsResponse, error)
- func (s *LazadaLogisticsServiceOp[T]) EpisPackageCancellation(ctx context.Context) (*EpisPackageCancellationResponse, error)
- func (s *LazadaLogisticsServiceOp[T]) EpisPackageCancellationV3(ctx context.Context) (*EpisPackageCancellationV3Response, error)
- func (s *LazadaLogisticsServiceOp[T]) EpisPackageConsignment(ctx context.Context) (*EpisPackageConsignmentResponse, error)
- func (s *LazadaLogisticsServiceOp[T]) EpisPackageConsignmentV2(ctx context.Context) (*EpisPackageConsignmentV2Response, error)
- func (s *LazadaLogisticsServiceOp[T]) EpisPackageCreation(ctx context.Context) (*EpisPackageCreationResponse, error)
- func (s *LazadaLogisticsServiceOp[T]) EpisPackageInfoUpdate(ctx context.Context) (*EpisPackageInfoUpdateResponse, error)
- func (s *LazadaLogisticsServiceOp[T]) EpisPackagePrintAwb(ctx context.Context) (*EpisPackagePrintAwbResponse, error)
- func (s *LazadaLogisticsServiceOp[T]) EpisPackageReAttempt(ctx context.Context) (*EpisPackageReAttemptResponse, error)
- func (s *LazadaLogisticsServiceOp[T]) EpisPackageReadyToBeShipped(ctx context.Context) (*EpisPackageReadyToBeShippedResponse, error)
- func (s *LazadaLogisticsServiceOp[T]) EpisUploadAwbFulfillment(ctx context.Context, filename string, reader io.Reader) (*EpisUploadAwbFulfillmentResponse, error)
- func (s *LazadaLogisticsServiceOp[T]) EpisXspaceCreate(ctx context.Context) (*EpisXspaceCreateResponse, error)
- func (s *LazadaLogisticsServiceOp[T]) EpisXspaceGetDetail(ctx context.Context) (*EpisXspaceGetDetailResponse, error)
- func (s *LazadaLogisticsServiceOp[T]) EpisXspaceQuery(ctx context.Context) (*EpisXspaceQueryResponse, error)
- func (s *LazadaLogisticsServiceOp[T]) EpisXspaceRateTicket(ctx context.Context) (*EpisXspaceRateTicketResponse, error)
- func (s *LazadaLogisticsServiceOp[T]) EstimateShippingFee(ctx context.Context) (*EstimateShippingFeeResponse, error)
- func (s *LazadaLogisticsServiceOp[T]) GetShippingFee(ctx context.Context) (*GetShippingFeeResponse, error)
- type LazadaSellerAccountBindResponse
- type LazadaWalletCorporateTopUpService
- type LazadaWalletCorporateTopUpServiceOp
- func (s *LazadaWalletCorporateTopUpServiceOp[T]) DirectTransferQuery(ctx context.Context) (*DirectTransferQueryResponse, error)
- func (s *LazadaWalletCorporateTopUpServiceOp[T]) DirectTransferRequest(ctx context.Context) (*DirectTransferRequestResponse, error)
- func (s *LazadaWalletCorporateTopUpServiceOp[T]) GiftCodeQuery(ctx context.Context) (*GiftCodeQueryResponse, error)
- func (s *LazadaWalletCorporateTopUpServiceOp[T]) GiftCodeRequest(ctx context.Context) (*GiftCodeRequestResponse, error)
- func (s *LazadaWalletCorporateTopUpServiceOp[T]) Reconciliation1(ctx context.Context) (*Reconciliation1Response, error)
- type LeveledLogger
- type LeveledLoggerInterface
- type LinkMembershipResponse
- type LinkMembershipResponseDataResult
- type List
- type ListCategoryResponse
- type ListCategoryResponseDataResult
- type ListFlexiComboProductsResponse
- type ListFlexiComboProductsResponseData
- type ListFlexiComboResponse
- type ListFlexiComboResponseData
- type ListIcpWarehouseResponse
- type ListIcpWarehouseResponseData
- type ListKeywordByAdgroupResponse
- type ListKeywordByAdgroupResponseDataResult
- type ListKeywordByItemResponse
- type LogisticDetailInfo
- type LogisticsService
- type LogisticsServiceOp
- func (s *LogisticsServiceOp[T]) AddOrUpdatePickupStop(ctx context.Context) (*AddOrUpdatePickupStopResponse, error)
- func (s *LogisticsServiceOp[T]) Create3PLStation(ctx context.Context) (*Create3PLStationResponse, error)
- func (s *LogisticsServiceOp[T]) CreateConsolidationService(ctx context.Context) (*CreateConsolidationServiceResponse, error)
- func (s *LogisticsServiceOp[T]) GetOrderTrace(ctx context.Context) (*GetOrderTraceResponse, error)
- func (s *LogisticsServiceOp[T]) ScanParcel(ctx context.Context) (*ScanParcelResponse, error)
- func (s *LogisticsServiceOp[T]) StationDopScan(ctx context.Context) (*StationDopScanResponse, error)
- func (s *LogisticsServiceOp[T]) Update3PLStation(ctx context.Context) (*Update3PLStationResponse, error)
- func (s *LogisticsServiceOp[T]) UpdateLastMile(ctx context.Context) (*UpdateLastMileResponse, error)
- func (s *LogisticsServiceOp[T]) UpdatePickupTimeSlot(ctx context.Context) (*UpdatePickupTimeSlotResponse, error)
- type LogisticsStationService
- type LogisticsStationServiceOp
- func (s *LogisticsStationServiceOp[T]) CageValidation(ctx context.Context) (*CageValidationResponse, error)
- func (s *LogisticsStationServiceOp[T]) ConfirmInbound(ctx context.Context) (*ConfirmInboundResponse, error)
- func (s *LogisticsStationServiceOp[T]) ConfirmParcelCollection(ctx context.Context) (*ConfirmParcelCollectionResponse, error)
- func (s *LogisticsStationServiceOp[T]) CreateScannedParcel(ctx context.Context) (*CreateScannedParcelResponse, error)
- func (s *LogisticsStationServiceOp[T]) DeleteScannedParcel(ctx context.Context) (*DeleteScannedParcelResponse, error)
- func (s *LogisticsStationServiceOp[T]) DopConfirmInbound(ctx context.Context) (*DopConfirmInboundResponse, error)
- func (s *LogisticsStationServiceOp[T]) DopCreateScannedParcel(ctx context.Context) (*DopCreateScannedParcelResponse, error)
- func (s *LogisticsStationServiceOp[T]) DopDeleteScannedParcel(ctx context.Context) (*DopDeleteScannedParcelResponse, error)
- func (s *LogisticsStationServiceOp[T]) DopGetInboundedParcel(ctx context.Context) (*DopGetInboundedParcelResponse, error)
- func (s *LogisticsStationServiceOp[T]) DopGetScannedParcel(ctx context.Context) (*DopGetScannedParcelResponse, error)
- func (s *LogisticsStationServiceOp[T]) GetCpScheduledPuParcel(ctx context.Context) (*GetCpScheduledPuParcelResponse, error)
- func (s *LogisticsStationServiceOp[T]) GetInboundedParcel(ctx context.Context) (*GetInboundedParcelResponse, error)
- func (s *LogisticsStationServiceOp[T]) GetListAccessStation(ctx context.Context) (*GetListAccessStationResponse, error)
- func (s *LogisticsStationServiceOp[T]) GetMetaData(ctx context.Context) (*GetMetaDataResponse, error)
- func (s *LogisticsStationServiceOp[T]) GetScannedParcel(ctx context.Context) (*GetScannedParcelResponse, error)
- func (s *LogisticsStationServiceOp[T]) SearchCustomerReturnParcel(ctx context.Context) (*SearchCustomerReturnParcelResponse, error)
- func (s *LogisticsStationServiceOp[T]) ValidateCage(ctx context.Context) (*ValidateCageResponse, error)
- func (s *LogisticsStationServiceOp[T]) ValidateOTP(ctx context.Context) (*ValidateOTPResponse, error)
- type MCNQueryTagInfoByNameResponse
- type McnContentCancelSchedulePublishResponse
- type McnContentCompleteCreateVideoResponse
- type McnContentCompleteCreateVideoResponseDataResult
- type McnContentCreateResponse
- type McnContentCreateResponseDataResult
- type McnContentInitCreateVideoResponse
- type McnContentInitCreateVideoResponseDataResult
- type McnContentListCategoryResponse
- type McnContentListCategoryResponseDataResult
- type McnContentPropertyTagListResponse
- type McnContentReplySchedulePublishResponse
- type McnContentUploadImageResponse
- type McnContentUploadImageResponseDataResult
- type McnContentUploadVideoBlockResponse
- type McnContentUploadVideoBlockResponseDataResult
- type McnProductValidatorResponse
- type McnProductValidatorResponseDataResult
- type McnSimilarProductSearchResponse
- type MediaCenterService
- type MediaCenterServiceOp
- func (s *MediaCenterServiceOp[T]) CompleteCreateVideo(ctx context.Context) (*CompleteCreateVideoResponse, error)
- func (s *MediaCenterServiceOp[T]) GetVideo(ctx context.Context) (*GetVideoResponse, error)
- func (s *MediaCenterServiceOp[T]) GetVideoQuota(ctx context.Context) (*GetVideoQuotaResponse, error)
- func (s *MediaCenterServiceOp[T]) InitCreateVideo(ctx context.Context) (*InitCreateVideoResponse, error)
- func (s *MediaCenterServiceOp[T]) RemoveVideo(ctx context.Context) (*RemoveVideoResponse, error)
- func (s *MediaCenterServiceOp[T]) UploadVideoBlock(ctx context.Context, filename string, reader io.Reader) (*UploadVideoBlockResponse, error)
- type MemberSubOrder
- type MembershipService
- type MembershipServiceOp
- func (s *MembershipServiceOp[T]) GetLinkMember(ctx context.Context) (*GetLinkMemberResponse, error)
- func (s *MembershipServiceOp[T]) GetLinkMember1(ctx context.Context) (*GetLinkMember1Response, error)
- func (s *MembershipServiceOp[T]) GetLinkMemberList(ctx context.Context) (*GetLinkMemberListResponse, error)
- func (s *MembershipServiceOp[T]) GetLinkMemberList1(ctx context.Context) (*GetLinkMemberList1Response, error)
- func (s *MembershipServiceOp[T]) LinkMembership(ctx context.Context) (*LinkMembershipResponse, error)
- func (s *MembershipServiceOp[T]) PartnerLink(ctx context.Context) (*PartnerLinkResponse, error)
- func (s *MembershipServiceOp[T]) PartnerTransaction(ctx context.Context) (*PartnerTransactionResponse, error)
- func (s *MembershipServiceOp[T]) PartnerUnlink(ctx context.Context) (*PartnerUnlinkResponse, error)
- func (s *MembershipServiceOp[T]) PartnerUpdate(ctx context.Context) (*PartnerUpdateResponse, error)
- func (s *MembershipServiceOp[T]) UpdatePartnerUserId(ctx context.Context) (*UpdatePartnerUserIdResponse, error)
- type Message
- type MessageContent
- type MessageRecallResponse
- type MigrateImageResponse
- type MigrateImageResponseData
- type MigrateImagesResponse
- type Model
- type ModifyAutoTopUpOptionOneConfigResponse
- type Module
- type MultiWarehouseInventories
- type OpenServiceBalanceQueryResponse
- type OpenServiceKycQueryResponse
- type OpenServiceWithdrawApplyResponse
- type OpenServiceWithdrawQueryResponse
- type OpenSessionResponse
- type Option
- func WithHTTPClient[T any](client *http.Client) Option[T]
- func WithLogger[T any](logger LeveledLoggerInterface) Option[T]
- func WithMeta[T any](meta T) Option[T]
- func WithOnTokenRefresh[T any](fn func(res *RefreshAccessTokenResponse, meta T)) Option[T]
- func WithProxy[T any](proxyHost string) Option[T]
- func WithRefreshToken[T any](refreshToken string) Option[T]
- func WithRetry[T any](retries int) Option[T]
- type Options
- type Order
- type OrderCancelValidateRequest
- type OrderCancelValidateResponse
- type OrderCancelValidateResponseData
- type OrderCreationDate
- type OrderInfo
- type OrderItem
- type OrderItems
- type OrderService
- type OrderServiceOp
- func (s *OrderServiceOp[T]) GetDocument(ctx context.Context) (*GetDocumentResponse, error)
- func (s *OrderServiceOp[T]) GetMultipleOrderItems(ctx context.Context, opt GetMultipleOrderItemsRequest) (*GetMultipleOrderItemsResponse, error)
- func (s *OrderServiceOp[T]) GetOVOOrders(ctx context.Context) (*GetOVOOrdersResponse, error)
- func (s *OrderServiceOp[T]) GetOrder(ctx context.Context) (*GetOrderResponse, error)
- func (s *OrderServiceOp[T]) GetOrderItems(ctx context.Context, opt GetOrderItemsRequest) (*GetOrderItemsResponse, error)
- func (s *OrderServiceOp[T]) GetOrders(ctx context.Context, opt GetOrdersRequest) (*GetOrdersResponse, error)
- func (s *OrderServiceOp[T]) OrderCancelValidate(ctx context.Context, opt OrderCancelValidateRequest) (*OrderCancelValidateResponse, error)
- func (s *OrderServiceOp[T]) SetInvoiceNumber(ctx context.Context) (*SetInvoiceNumberResponse, error)
- type Orders
- type OrdersAddressBilling
- type PackOrder
- type PackOrderOrderItem
- type PackRequest
- type PackResponse
- type PackResponseData
- type PackResponseDataResult
- type PackResponseDataResultData
- type PackageDetailInfo
- type PackageInfo
- type PackageJitPurchaseOrderResponse
- type PackageStatusUpdateForDBSResponse
- type Packages
- type Page
- type PageInfo
- type PartnerLinkResponse
- type PartnerLinkResponseDataResult
- type PartnerLinkResponseDataResultModule
- type PartnerTransactionResponse
- type PartnerTransactionResponseDataResult
- type PartnerUnlinkResponse
- type PartnerUpdateResponse
- type PayAssetDetails
- type PayOptions
- type PayeeAccount
- type PaymentBindingResponse
- type PaymentBindingResponseData
- type Pending
- type PickUpStoreInfo
- type PickupLocations
- type PrintAWBRequest
- type PrintAWBResponse
- type PrintAWBResponseData
- type PrintAWBResponseDataResult
- type PrintAWBResponseDataResultData
- type PrintJitPurchaseOrderAndItemResponse
- type PrintJitPurchaseOrderAndItemResponseDataResult
- type PrintPickuoOrderResponse
- type Product
- type ProductCheckResponse
- type ProductDTO
- type ProductImageMatchResponse
- type ProductImageMatchResponseDataResult
- type ProductReviewService
- type ProductReviewServiceOp
- func (s *ProductReviewServiceOp[T]) GetHistoryReviewIdList(ctx context.Context) (*GetHistoryReviewIdListResponse, error)
- func (s *ProductReviewServiceOp[T]) GetReviewListByIdList(ctx context.Context) (*GetReviewListByIdListResponse, error)
- func (s *ProductReviewServiceOp[T]) SubmitSellerReply(ctx context.Context) (*SubmitSellerReplyResponse, error)
- type ProductService
- type ProductServiceOp
- func (s *ProductServiceOp[T]) AdjustSellableQuantity(ctx context.Context) (*AdjustSellableQuantityResponse, error)
- func (s *ProductServiceOp[T]) BatchUpdateSizeChart(ctx context.Context, req BatchUpdateSizeChartRequest) (*BatchUpdateSizeChartResponse, error)
- func (s *ProductServiceOp[T]) CreateProduct(ctx context.Context, req CreateProductRequest) (*CreateProductResponse, error)
- func (s *ProductServiceOp[T]) DeactivateProduct(ctx context.Context) (*DeactivateProductResponse, error)
- func (s *ProductServiceOp[T]) GetBrandByPages(ctx context.Context, opt GetBrandByPagesRequest) (*GetBrandByPagesResponse, error)
- func (s *ProductServiceOp[T]) GetCategoryAttributes(ctx context.Context, opt GetCategoryAttributesRequest) (*GetCategoryAttributesResponse, error)
- func (s *ProductServiceOp[T]) GetCategorySuggestion(ctx context.Context) (*GetCategorySuggestionResponse, error)
- func (s *ProductServiceOp[T]) GetCategoryTree(ctx context.Context) (*GetCategoryTreeResponse, error)
- func (s *ProductServiceOp[T]) GetNextCascadeProp(ctx context.Context) (*GetNextCascadePropResponse, error)
- func (s *ProductServiceOp[T]) GetPreQcRules(ctx context.Context) (*GetPreQcRulesResponse, error)
- func (s *ProductServiceOp[T]) GetProductContentScore(ctx context.Context) (*GetProductContentScoreResponse, error)
- func (s *ProductServiceOp[T]) GetProductItem(ctx context.Context, opt GetProductItemRequest) (*GetProductItemResponse, error)
- func (s *ProductServiceOp[T]) GetProducts(ctx context.Context, opt GetProductsRequest) (*GetProductsResponse, error)
- func (s *ProductServiceOp[T]) GetQCAlertProducts(ctx context.Context) (*GetQCAlertProductsResponse, error)
- func (s *ProductServiceOp[T]) GetResponse(ctx context.Context, filename string, reader io.Reader) (*GetResponseResponse, error)
- func (s *ProductServiceOp[T]) GetSellerItemLimit(ctx context.Context) (*GetSellerItemLimitResponse, error)
- func (s *ProductServiceOp[T]) GetSizeChartTemplate(ctx context.Context, opt GetSizeChartTemplateRequest) (*GetSizeChartTemplateResponse, error)
- func (s *ProductServiceOp[T]) GetUnfilledAttributeItem(ctx context.Context) (*GetUnfilledAttributeItemResponse, error)
- func (s *ProductServiceOp[T]) MigrateImage(ctx context.Context, filename string, reader io.Reader) (*MigrateImageResponse, error)
- func (s *ProductServiceOp[T]) MigrateImages(ctx context.Context, filename string, reader io.Reader) (*MigrateImagesResponse, error)
- func (s *ProductServiceOp[T]) ProductCheck(ctx context.Context) (*ProductCheckResponse, error)
- func (s *ProductServiceOp[T]) RemoveProduct(ctx context.Context, req RemoveProductRequest) (*RemoveProductResponse, error)
- func (s *ProductServiceOp[T]) RemoveSku(ctx context.Context) (*RemoveSkuResponse, error)
- func (s *ProductServiceOp[T]) SetImages(ctx context.Context, filename string, reader io.Reader) (*SetImagesResponse, error)
- func (s *ProductServiceOp[T]) UpdatePriceQuantity(ctx context.Context) (*UpdatePriceQuantityResponse, error)
- func (s *ProductServiceOp[T]) UpdateProduct(ctx context.Context, req UpdateProductRequest) (*UpdateProductResponse, error)
- func (s *ProductServiceOp[T]) UpdateSellableQuantity(ctx context.Context) (*UpdateSellableQuantityResponse, error)
- func (s *ProductServiceOp[T]) UploadImage(ctx context.Context, filename string, reader io.Reader) (*UploadImageResponse, error)
- type Products
- type ProductsAttributes
- type ProductsSkus
- type PromoTier
- type Prop
- type PropValue
- type QueryAccountTransactionsResponse
- type QueryAccountTransactionsResponseData
- type QueryAddonOrderResponse
- type QueryAddonOrderResponseData
- type QueryAddressInformaitonResponse
- type QueryAddressInformaitonResponseDataResult
- type QueryAddressInformaitonResponseDataResultData
- type QueryBenefitResponse
- type QueryBuyboxHuntingInfoResponse
- type QueryBuyboxHuntingInfoResponseDataResult
- type QueryBuyboxHuntingInfoResponseDataResultData
- type QueryContentReviewRecordsResponse
- type QueryContentReviewRecordsResponseDataResult
- type QueryFulfillmentOrderForMCLResponse
- type QueryFulfillmentOrderForMCLResponseData
- type QueryInboundBatchResponse
- type QueryInboundBatchResponseDataResult
- type QueryInboundBatchResponseDataResultData
- type QueryInboundReservationOrderResponse
- type QueryInboundReservationOrderResponseData
- type QueryLazadaBigbagInfoResponse
- type QueryListJitPurchaseOrderResponse
- type QueryListJitPurchaseOrderResponseDataResult
- type QueryListJitPurchaseOrderResponseDataResultData
- type QueryListPurchaseItemResponse
- type QueryListPurchaseItemResponseDataResult
- type QueryListPurchaseItemResponseDataResultData
- type QueryLogisticsFeeDetailResponse
- type QueryLogisticsFeeDetailResponseData
- type QueryPickupOrderResponse
- type QueryPickupOrderResponseDataResult
- type QueryPickupOrderResponseDataResultData
- type QueryReverseOrderForMCLResponse
- type QueryReverseOrderForMCLResponseData
- type QueryTransactionDetailsResponse
- type QueryTransactionDetailsResponseData
- type QueryWarehouseDetailInfoBySellerIdResponse
- type QueryWarehouseDetailInfoBySellerIdResponseDataResult
- type QueryWarehouseDetailInfoBySellerIdResponseDataResultModule
- type Ratings
- type ReadSessionResponse
- type ReadyToShipRequest
- type ReadyToShipResponse
- type ReadyToShipResponseData
- type ReasonOptions
- type RecipientInfo
- type Reconciliation1Response
- type ReconciliationResponse
- type RecreatePackageResponse
- type RedMartService
- type RedMartServiceOp
- func (s *RedMartServiceOp[T]) RssGetOnePickupJob(ctx context.Context) (*RssGetOnePickupJobResponse, error)
- func (s *RedMartServiceOp[T]) RssGetPickupJobs(ctx context.Context) (*RssGetPickupJobsResponse, error)
- func (s *RedMartServiceOp[T]) RssGetPickupLocations(ctx context.Context) (*RssGetPickupLocationsResponse, error)
- func (s *RedMartServiceOp[T]) RssGetProduct(ctx context.Context) (*RssGetProductResponse, error)
- func (s *RedMartServiceOp[T]) RssGetProducts(ctx context.Context) (*RssGetProductsResponse, error)
- func (s *RedMartServiceOp[T]) RssGetStockLot(ctx context.Context) (*RssGetStockLotResponse, error)
- func (s *RedMartServiceOp[T]) RssGetStockLots(ctx context.Context) (*RssGetStockLotsResponse, error)
- func (s *RedMartServiceOp[T]) RssUpdateStockLot(ctx context.Context) (*RssUpdateStockLotResponse, error)
- type RedeemMpVoucherResponse
- type RedeemOrderItemsResponse
- type RedeemOrderItemsResponseData
- type RefOrderCode
- type RefreshAccessTokenResponse
- type RejectReason
- type RejectReasons
- type RemoveFulfillmentSkuRelationResponse
- type RemoveProductRequest
- type RemoveProductResponse
- type RemoveSkuResponse
- type RemoveVideoResponse
- type RespBody
- type ResponseDataAddressBilling
- type ResponseDataApiResult
- type ResponseDataAttributes
- type ResponseDataBizSupplement
- type ResponseDataConvertedAddress
- type ResponseDataData
- type ResponseDataErrorCode
- type ResponseDataErrors
- type ResponseDataImage
- type ResponseDataIndicators
- type ResponseDataItems
- type ResponseDataModel
- type ResponseDataModule
- type ResponseDataOptions
- type ResponseDataOrders
- type ResponseDataPageInfo
- type ResponseDataProducts
- type ResponseDataProductsAttributes
- type ResponseDataProductsSkus
- type ResponseDataRespBody
- type ResponseDataResult
- type ResponseDataResultData
- type ResponseDataResultErrorCode
- type ResponseDataResultModule
- type ResponseDataResultResult
- type ResponseDataSku
- type ResponseDataSkus
- type ResponseDataStoreStocks
- type ResponseDataStoreStocksStocks
- type ResponseDataVariation
- type ResponseError
- type Result
- type ResultData
- type ResultDataItems
- type ResultErrorCode
- type ResultModule
- type ResultPage
- type ResultPageInfo
- type ResultResult
- type ReturnAndRefundService
- type ReturnAndRefundServiceOp
- func (s *ReturnAndRefundServiceOp[T]) GetReverseOrderDetail(ctx context.Context) (*GetReverseOrderDetailResponse, error)
- func (s *ReturnAndRefundServiceOp[T]) GetReverseOrderHistoryList(ctx context.Context) (*GetReverseOrderHistoryListResponse, error)
- func (s *ReturnAndRefundServiceOp[T]) GetReverseOrderReasonList(ctx context.Context) (*GetReverseOrderReasonListResponse, error)
- func (s *ReturnAndRefundServiceOp[T]) GetReverseOrdersForSeller(ctx context.Context, opt GetReverseOrdersForSellerRequest) (*GetReverseOrdersForSellerResponse, error)
- func (s *ReturnAndRefundServiceOp[T]) InitReverseOrderCancel(ctx context.Context, req InitReverseOrderCancelRequest) (*InitReverseOrderCancelResponse, error)
- func (s *ReturnAndRefundServiceOp[T]) InitReverseOrderCancelDecide(ctx context.Context) (*InitReverseOrderCancelDecideResponse, error)
- func (s *ReturnAndRefundServiceOp[T]) ReverseOrderOnlyRefundDecide(ctx context.Context, req ReverseOrderOnlyRefundDecideRequest) (*ReverseOrderOnlyRefundDecideResponse, error)
- func (s *ReturnAndRefundServiceOp[T]) ReverseOrderReturnUpdate(ctx context.Context, req ReverseOrderReturnUpdateRequest) (*ReverseOrderReturnUpdateResponse, error)
- type ReturnCancellationResponse
- type ReturnOrderCreationResponse
- type ReturnOrderCreationResponseData
- type ReverseOrderLine
- type ReverseOrderLineDTO
- type ReverseOrderLines
- type ReverseOrderLinesBuyer
- type ReverseOrderLinesProduct
- type ReverseOrderOnlyRefundDecideRequest
- type ReverseOrderOnlyRefundDecideResponse
- type ReverseOrderReturnUpdateRequest
- type ReverseOrderReturnUpdateResponse
- type ReverseOrderReturnUpdateResponseData
- type Review
- type ReviewRecords
- type ReviewVideos
- type RssGetOnePickupJobResponse
- type RssGetOnePickupJobResponseDataResult
- type RssGetOnePickupJobResponseDataResultData
- type RssGetPickupJobsResponse
- type RssGetPickupJobsResponseDataResult
- type RssGetPickupLocationsResponse
- type RssGetPickupLocationsResponseDataResult
- type RssGetPickupLocationsResponseDataResultData
- type RssGetProductResponse
- type RssGetProductResponseDataResult
- type RssGetProductResponseDataResultData
- type RssGetProductsResponse
- type RssGetProductsResponseDataResult
- type RssGetStockLotResponse
- type RssGetStockLotResponseDataResult
- type RssGetStockLotResponseDataResultData
- type RssGetStockLotsResponse
- type RssGetStockLotsResponseDataResult
- type RssUpdateStockLotResponse
- type Rules
- type SampleRule
- type SaveSellerWarehouseInfoResponse
- type SaveSellerWarehouseInfoResponseDataResult
- type ScanParcelResponse
- type SearchAdgroupListResponse
- type SearchAdgroupListResponseDataResult
- type SearchCampaignListResponse
- type SearchCampaignListResponseDataResult
- type SearchCustomerReturnParcelResponse
- type SearchCustomerReturnParcelResponseData
- type SearchKeywordResponse
- type SearchProductWithPageResponse
- type SearchProductWithPageResponseDataResult
- type SellerCenterMsgListResponse
- type SellerCenterMsgListResponseDataResult
- type SellerCenterMsgListResponseDataResultData
- type SellerFieldVerifyResponse
- type SellerFieldVerifyResponseData
- type SellerPolicyFetchResponse
- type SellerService
- type SellerServiceOp
- func (s *SellerServiceOp[T]) BatchQueryFollowStatus(ctx context.Context) (*BatchQueryFollowStatusResponse, error)
- func (s *SellerServiceOp[T]) GetCountryInfo(ctx context.Context) (*GetCountryInfoResponse, error)
- func (s *SellerServiceOp[T]) GetPickUpStoreList(ctx context.Context) (*GetPickUpStoreListResponse, error)
- func (s *SellerServiceOp[T]) GetSeller(ctx context.Context) (*GetSellerResponse, error)
- func (s *SellerServiceOp[T]) GetSellerMetricsById(ctx context.Context) (*GetSellerMetricsByIdResponse, error)
- func (s *SellerServiceOp[T]) GetSellerPerformance(ctx context.Context) (*GetSellerPerformanceResponse, error)
- func (s *SellerServiceOp[T]) GetSellerRegisterInfo(ctx context.Context) (*GetSellerRegisterInfoResponse, error)
- func (s *SellerServiceOp[T]) GetSubAddress(ctx context.Context) (*GetSubAddressResponse, error)
- func (s *SellerServiceOp[T]) GetWarehouseBySellerId(ctx context.Context) (*GetWarehouseBySellerIdResponse, error)
- func (s *SellerServiceOp[T]) PaymentBinding(ctx context.Context) (*PaymentBindingResponse, error)
- func (s *SellerServiceOp[T]) QueryBuyboxHuntingInfo(ctx context.Context) (*QueryBuyboxHuntingInfoResponse, error)
- func (s *SellerServiceOp[T]) QueryWarehouseDetailInfoBySellerId(ctx context.Context) (*QueryWarehouseDetailInfoBySellerIdResponse, error)
- func (s *SellerServiceOp[T]) SaveSellerWarehouseInfo(ctx context.Context) (*SaveSellerWarehouseInfoResponse, error)
- func (s *SellerServiceOp[T]) SellerCenterMsgList(ctx context.Context) (*SellerCenterMsgListResponse, error)
- func (s *SellerServiceOp[T]) SellerFieldVerify(ctx context.Context) (*SellerFieldVerifyResponse, error)
- func (s *SellerServiceOp[T]) SellerPolicyFetch(ctx context.Context) (*SellerPolicyFetchResponse, error)
- func (s *SellerServiceOp[T]) SynchronizeSellerItemArConfig(ctx context.Context) (*SynchronizeSellerItemArConfigResponse, error)
- type SellerVoucheDeleteSelectedProductSKUResponse
- type SellerVoucherActivateResponse
- type SellerVoucherAddSelectedProductSKUResponse
- type SellerVoucherAddSelectedProductSKUResponseData
- type SellerVoucherCreateResponse
- type SellerVoucherDeactivateResponse
- type SellerVoucherDetailQueryResponse
- type SellerVoucherDetailQueryResponseData
- type SellerVoucherListResponse
- type SellerVoucherListResponseData
- type SellerVoucherListResponseDataData
- type SellerVoucherSelectedProductListResponse
- type SellerVoucherSelectedProductListResponseData
- type SellerVoucherService
- type SellerVoucherServiceOp
- func (s *SellerVoucherServiceOp[T]) SellerVoucheDeleteSelectedProductSKU(ctx context.Context) (*SellerVoucheDeleteSelectedProductSKUResponse, error)
- func (s *SellerVoucherServiceOp[T]) SellerVoucherActivate(ctx context.Context) (*SellerVoucherActivateResponse, error)
- func (s *SellerVoucherServiceOp[T]) SellerVoucherAddSelectedProductSKU(ctx context.Context) (*SellerVoucherAddSelectedProductSKUResponse, error)
- func (s *SellerVoucherServiceOp[T]) SellerVoucherCreate(ctx context.Context) (*SellerVoucherCreateResponse, error)
- func (s *SellerVoucherServiceOp[T]) SellerVoucherDeactivate(ctx context.Context) (*SellerVoucherDeactivateResponse, error)
- func (s *SellerVoucherServiceOp[T]) SellerVoucherDetailQuery(ctx context.Context) (*SellerVoucherDetailQueryResponse, error)
- func (s *SellerVoucherServiceOp[T]) SellerVoucherList(ctx context.Context) (*SellerVoucherListResponse, error)
- func (s *SellerVoucherServiceOp[T]) SellerVoucherSelectedProductList(ctx context.Context) (*SellerVoucherSelectedProductListResponse, error)
- func (s *SellerVoucherServiceOp[T]) SellerVoucherUpdate(ctx context.Context) (*SellerVoucherUpdateResponse, error)
- type SellerVoucherUpdateResponse
- type SemiProductUpdateResponse
- type SemiProductUpdateResponseData
- type SemiProductUpgradeResponse
- type SemiProductUpgradeResponseData
- type SendMessageResponse
- type SendMessageResponseData
- type ServiceMarketAppKeyOrderQueryResponse
- type ServiceMarketAppKeyOrderQueryResponseDataResult
- type ServiceMarketAppKeyOrderQueryResponseDataResultData
- type ServiceMarketAppKeySubQueryResponse
- type ServiceMarketAppKeySubQueryResponseDataResult
- type ServiceMarketAppKeySubQueryResponseDataResultData
- type ServiceMarketService
- type ServiceMarketServiceOp
- type Session
- type SetImagesResponse
- type SetInvoiceNumberResponse
- type SetInvoiceNumberResponseData
- type SetStockRuleResponse
- type ShipmentProviders
- type ShipmentsInfo
- type SignResponse
- type SizeChartTemplate
- type Sku
- type SkuInfo
- type Skus
- type SnSample
- type SpecialPrice
- type SponsoredSolutionsService
- type SponsoredSolutionsServiceOp
- func (s *SponsoredSolutionsServiceOp[T]) AddAdgroupBatch(ctx context.Context) (*AddAdgroupBatchResponse, error)
- func (s *SponsoredSolutionsServiceOp[T]) AddSolution(ctx context.Context) (*AddSolutionResponse, error)
- func (s *SponsoredSolutionsServiceOp[T]) Clickserver(ctx context.Context) (*ClickserverResponse, error)
- func (s *SponsoredSolutionsServiceOp[T]) DeleteAdgroupBatch(ctx context.Context) (*DeleteAdgroupBatchResponse, error)
- func (s *SponsoredSolutionsServiceOp[T]) DeleteCampaign(ctx context.Context) (*DeleteCampaignResponse, error)
- func (s *SponsoredSolutionsServiceOp[T]) GetAccountSignInfo(ctx context.Context) (*GetAccountSignInfoResponse, error)
- func (s *SponsoredSolutionsServiceOp[T]) GetAutoTopUpOptionOneConfig(ctx context.Context) (*GetAutoTopUpOptionOneConfigResponse, error)
- func (s *SponsoredSolutionsServiceOp[T]) GetCampaign(ctx context.Context) (*GetCampaignResponse, error)
- func (s *SponsoredSolutionsServiceOp[T]) GetCampaignCount(ctx context.Context) (*GetCampaignCountResponse, error)
- func (s *SponsoredSolutionsServiceOp[T]) GetDiscoveryReportAdgroup(ctx context.Context) (*GetDiscoveryReportAdgroupResponse, error)
- func (s *SponsoredSolutionsServiceOp[T]) GetDiscoveryReportAudience(ctx context.Context) (*GetDiscoveryReportAudienceResponse, error)
- func (s *SponsoredSolutionsServiceOp[T]) GetDiscoveryReportCampaign(ctx context.Context) (*GetDiscoveryReportCampaignResponse, error)
- func (s *SponsoredSolutionsServiceOp[T]) GetDiscoveryReportKeyword(ctx context.Context) (*GetDiscoveryReportKeywordResponse, error)
- func (s *SponsoredSolutionsServiceOp[T]) GetLatestSignInfo(ctx context.Context) (*GetLatestSignInfoResponse, error)
- func (s *SponsoredSolutionsServiceOp[T]) GetReportCampaignOnFIrstSlot(ctx context.Context) (*GetReportCampaignOnFIrstSlotResponse, error)
- func (s *SponsoredSolutionsServiceOp[T]) GetReportOverview(ctx context.Context) (*GetReportOverviewResponse, error)
- func (s *SponsoredSolutionsServiceOp[T]) GetReportOverviewMetric(ctx context.Context) (*GetReportOverviewMetricResponse, error)
- func (s *SponsoredSolutionsServiceOp[T]) ListCategory(ctx context.Context) (*ListCategoryResponse, error)
- func (s *SponsoredSolutionsServiceOp[T]) ListKeywordByAdgroup(ctx context.Context) (*ListKeywordByAdgroupResponse, error)
- func (s *SponsoredSolutionsServiceOp[T]) ListKeywordByItem(ctx context.Context) (*ListKeywordByItemResponse, error)
- func (s *SponsoredSolutionsServiceOp[T]) ModifyAutoTopUpOptionOneConfig(ctx context.Context) (*ModifyAutoTopUpOptionOneConfigResponse, error)
- func (s *SponsoredSolutionsServiceOp[T]) SearchAdgroupList(ctx context.Context) (*SearchAdgroupListResponse, error)
- func (s *SponsoredSolutionsServiceOp[T]) SearchCampaignList(ctx context.Context) (*SearchCampaignListResponse, error)
- func (s *SponsoredSolutionsServiceOp[T]) SearchKeyword(ctx context.Context) (*SearchKeywordResponse, error)
- func (s *SponsoredSolutionsServiceOp[T]) SearchProductWithPage(ctx context.Context) (*SearchProductWithPageResponse, error)
- func (s *SponsoredSolutionsServiceOp[T]) Sign(ctx context.Context) (*SignResponse, error)
- func (s *SponsoredSolutionsServiceOp[T]) UpdateAdgroupBatch(ctx context.Context) (*UpdateAdgroupBatchResponse, error)
- func (s *SponsoredSolutionsServiceOp[T]) UpdateCampaign(ctx context.Context) (*UpdateCampaignResponse, error)
- type StartExportByDatasetResponse
- type StartExportByDatasetResponseDataResult
- type StationDopScanResponse
- type StationDopScanResponseData
- type Stocks
- type StoreDecorationService
- type StoreDecorationServiceOp
- type StoreStocks
- type StoreStocksStocks
- type SubmitSellerReplyResponse
- type SynchronizeSellerItemArConfigResponse
- type SystemService
- type SystemServiceOp
- type TagDTO
- type Tiers
- type Tracking
- type TradeOrderLines
- type TradeOrders
- type Transactions
- type TryOnClothResponse
- type Unit
- type Update3PLStationResponse
- type UpdateAdgroupBatchResponse
- type UpdateCampaignResponse
- type UpdateFlexiComboResponse
- type UpdateFulfillmentSkuDecoupleResponse
- type UpdateGlobalProductAttributeResponse
- type UpdateIcProductFailResult
- type UpdateLastMileResponse
- type UpdatePartnerUserIdResponse
- type UpdatePartnerUserIdResponseDataResult
- type UpdatePickupTimeSlotResponse
- type UpdatePriceQuantityResponse
- type UpdateProductRequest
- type UpdateProductResponse
- type UpdateProductResponseData
- type UpdateProductStatusResponse
- type UpdateProductStatusResponseData
- type UpdateSellableQuantityResponse
- type UploadImageResponse
- type UploadImageResponseData
- type UploadVideoBlockResponse
- type UploadWaybillResponse
- type ValidateCageResponse
- type ValidateOTPResponse
- type Values
- type Variation
- type Variation1
- type Variation3
- type Zone
Constants ¶
const ( Err00 = "00" // sucess Err01 = "01" // cancel success Err02 = "02" // update serviceDate success Err1 = "1" // E001: Parameter %s is mandatory Err100 = "100" // E0100: reverse order list is empty Err1000 = "1000" // Internal Application Error Err1000012 = "1000012" // endTime - startTime must should be less than 180 days Err1000014 = "1000014" // Can not find that transactionType Err10001 = "10001" // Illegal parameters Err10002 = "10002" // Incorrect/missing/unavailable product attributes Err10003 = "10003" // Item not found Err10004 = "10004" // price need to be lower than the original price Err10005 = "10005" // 商品已升级 Err10006 = "10006" // the control price is not pass Err1001 = "1001" // The parameters are not in JSON format Err1003 = "1003" // E1003_3PL_ALLOCATION_FAIL Err101 = "101" // E101: Redemption Operator Invalid Err102 = "102" // E0102: trade order line id is empty or invalid Err103 = "103" // E0103: reverse order line id is empty when query reject reason Err104 = "104" // E0104: reason is empty or invalid Err105 = "105" // E0105: reverse order id is empty or invalid Err106 = "106" // E0106: ROC internal error Err107 = "107" // E0107: invalid action Err108 = "108" // E0108: reason can't be empty if you want to refuse return or refund Err109 = "109" // E0109: comment can't be empty if startDispute Err11 = "11" // orderNo is empty Err110 = "110" // E0110: image can't be empty if startDispute Err111 = "111" // E0111: do not support massive reverse order line operation if you want to refuse return or refund Err112 = "112" // E0112: no reverse order found Err113 = "113" // E0113: reverse order line have unknown status Err114 = "114" // E0114: this reverse does not support this action Err115 = "115" // E0115: order id is null Err116 = "116" // E0116: no seller id Err117 = "117" // E0117: no user id Err118 = "118" // E0118: no user email Err119 = "119" // E0119: cannot find any cancel reasons for these orders Err12 = "12" // thirdOrderNo is empty Err120 = "120" // E0120: page size invalid Err121 = "121" // E0121: page number invalid Err122 = "122" // E0122: invalid trade order Err123 = "123" // E0123: invalid trade order lines %s Err124 = "124" // E0124: invalid seller id for this order line %s Err125 = "125" // E0125: invalid reverse id Err126 = "126" // E0126: invalid reverse order lines Err127 = "127" // E0127: invalid seller id for this reverse order line Err13 = "13" // type is empty Err131 = "131" // E0131: no decision for this reverse order Err133 = "133" // E0133: do not support batch operation Err14 = "14" // E014: "%s" Invalid Offset Err15 = "15" // servicePrice is empty Err16 = "16" // E016: "%s" Invalid Order ID Err17 = "17" // E017: "%s" Invalid Date Format Err19 = "19" // E019: "%s" Invalid Limit Err20 = "20" // E020: "%s" Invalid Order Item IDs Err200 = "200" // E200: Empty SellerSku Err201 = "201" // E201: %s Invalid CategoryId Err202 = "202" // E202: %s Invalid SPUId Err203 = "203" // E203: Too many images in one SKU Err204 = "204" // E204: Too many SKU in one request Err205 = "205" // E205: SPU does not exist Err206 = "206" // E206: Different category id in SPU and PrimaryCategory Err207 = "207" // E207: SKU not exist Err208 = "208" // E208: Item not exist Err209 = "209" // Invalid variation Err21 = "21" // E021: Internal System Error Err212 = "212" // Sellable inventory cannot be negative Err22 = "22" // E022: "%s" Err23 = "23" // E023: activate failed Err24 = "24" // E024: Parameter illegal Err25 = "25" // E025: UMP Exception Err26 = "26" // E026: Seller Unauthorized Err30 = "30" // E030: Empty Request Err300 = "300" // E300: Upload Image Failed Err30012 = "30012" // rts package not found Err301 = "301" // Migrate Image Failed Err302 = "302" // Not supported URL Err303 = "303" // E303: The image is too large Err304 = "304" // Get Response Failed Err306 = "306" // E306: attribute tag not allowed Err309 = "309" // Video id status is not audit success Err31 = "31" // parse extendInfo to map fail Err32 = "32" // E032: Document type "%s" is not valid Err34 = "34" // E034: Order Item must be packed. Please call SetStatusToReadyToShip before Err35 = "35" // E035: "%s" was not found Err36 = "36" // E036: Invalid status filter Err37 = "37" // E037: One or more order id in the list are incorrect Err38 = "38" // E038: Too many orders were requested Err39 = "39" // E039: No orders were found Err40011 = "40011" // RPC_ERROR Err4104 = "4104" // BIZ_CHECK_PRICE_PRECISION_INVALID Err4105 = "4105" // BIZ_CHECK_SELLER_SKU_DUPLICATE Err4106 = "4106" // CHK_CATPROP_CPV_INPUT_SIZE_LIMIT Err4107 = "4107" // CHECK_CAT_PROP_INVALID_NUMBER Err4108 = "4108" // CHK_BASIC_REQUIRED Err4109 = "4109" // CHK_SKU_PROPS_NOT_MATCH_SALE_PROP Err4110 = "4110" // BIZ_CHECK_CAT_PROP_MANDATORY Err4111 = "4111" // CHK_CATPROP_CPV_TEXT_REPEAT Err4112 = "4112" // CHK_SKU_PROPS_DUPLICATE Err4113 = "4113" // CHK_SKU_PROPS_NOT_IDENTICAL Err4114 = "4114" // BIZ_CHECK_PRICE_SAMPLE_NON_ZERO Err4115 = "4115" // CHK_CATPROP_CPV_NOT_ENUM Err4116 = "4116" // BIZ_CHECK_MAIN_IMAGE_DUPLICATE Err4117 = "4117" // BIZ_CHECK_SPECIAL_PRICE_FROM_DATE_AFTER_TO_DATE Err4118 = "4118" // BIZ_CHECK_PRICE_IS_ZERO Err4119 = "4119" // BIZ_CHECK_SPECIAL_PRICE_RATE_OUT_OF_RANGE Err4120 = "4120" // CHK_CATPROP_CPV_MAX_LEGNTH Err4121 = "4121" // BIZ_CHECK_SPECIAL_PRICE_PRECISION_INVALID Err4122 = "4122" // BIZ_CHECK_VIRTUAL_BUNDLE_SKU_SUB_OVER_LIMIT Err4123 = "4123" // BIZ_CHECK_MANGROVE_RULE Err4124 = "4124" // BIZ_CHECK_MANGROVE_RULE_QC Err4125 = "4125" // THD_IC_F_IC_DOMAIN_PROPERTY_002 Err4126 = "4126" // THD_IC_F_IC_INFRA_PRODUCT_036 Err4127 = "4127" // THD_IC_F_IC_SCENE_PUBLISH_012 Err4128 = "4128" // THD_IC_F_IC_DOMAIN_ACTOR_006 Err4129 = "4129" // BIZ_CHECK_PROP_SPECIAL_CHAR Err4130 = "4130" // BIZ_CHECK_OFFICIAL_STORE_BRAND_UNAUTHORIZED Err4131 = "4131" // BIZ_CHECK_CAT_PROP_SENSITIVE_WORDS Err4132 = "4132" // Invalid Request Format Err4133 = "4133" // Invalid variation Err4134 = "4134" // Please select the last level category. Err4135 = "4135" // THD_IC_ERR Err4136 = "4136" // SELLER_SKU_NOT_FOUND Err4137 = "4137" // ITEM_NOT_FOUND Err4138 = "4138" // BIZ_CHECK_EXIST_OUTER_IMAGE Err4139 = "4139" // BIZ_CHECK_MAIN_IMAGE_REQUIRE Err4140 = "4140" // CHK_ENUM_PROP_VALUE_NOT_IN_OPTION Err4141 = "4141" // THD_IC_ERR_F_IC_INFRA_PRODUCT_036 Err4142 = "4142" // THD_BRAND_ID_IS_NOT_VALID_IN_CATEGORY Err4143 = "4143" // BIZ_CHECK_SALEPROP_ATTRIBUTE_INVALID Err4144 = "4144" // BIZ_CHECK_SKU_NOT_CONTAIN_SALEPROP Err4145 = "4145" // BIZ_CHECK_SALEPROP_AND_OLD_PARAM_REPEAT Err4146 = "4146" // BIZ_CHECK_SALEPROP_NOT_SUPPORT_THUMBNAIL Err4147 = "4147" // THD_IC_ERR_F_IC_SERVICE_EDIT_002 Err4148 = "4148" // BIZ_CHECK_ITEM_HAS_REACH_LIMIT Err4149 = "4149" // BIZ_CHECK_PACKAGE_DECIMAL_INVALID Err4150 = "4150" // SELLER_SKU_INVALID Err4151 = "4151" // BIZ_CHECK_MTEE_RULE_QC Err4152 = "4152" // THD_INVENTORY_ERR_INV_PARAM_ILLEGAL Err4153 = "4153" // THD_IC_ERR_FC_IC_SKU_IMAGE_001 Err4154 = "4154" // SYS_REQUEST_TOO_FAST Err4155 = "4155" // BIZ_CHECK_NO_EDIT_ITEM_LOCK Err4156 = "4156" // C035: No brand cannot be selected Err4157 = "4157" // BIZ_CHECK_SPECIAL_PRICE_GREATER_THAN_PRICE Err4158 = "4158" // THD_IC_ERR_F_DOMAIN_IMAGE_00_01_003 Err4159 = "4159" // IC_EXCEPTION Err4160 = "4160" // THD_IC_ERR_F_PRODUCT_00_15_004 Err4161 = "4161" // VARIATION_CATEGORY_ATTRIBUTE_INVALID Err4162 = "4162" // THD_IC_ERR_F_IC_ABILITY_PG Err4163 = "4163" // BIZ_CHECK_RESTRICTED_CATEGORY Err4164 = "4164" // BIZ_CHECK_MAX_PACKAGE_WEIGHT Err4165 = "4165" // BIZ_CHECK_MAX_PACKAGE_DIMENISIONS Err4166 = "4166" // THD_IC_ERR_F_IC_INFRA_SPU_036 Err4167 = "4167" // THD_IC_ERR_F_IC_DOMAIN_PROPERTY_002 Err4168 = "4168" // BIZ_CHECK_BRAND_PERMISSION_TIER_TWO Err4169 = "4169" // CHK_IMAGE_MAX_ITEMS Err4170 = "4170" // During the Bday Mega campaign, there are restrictions for stock adjustments in effect between YYYY-MM-DD HH:MM:SS - YYYY-MM-DD HH:MM:SS. Sellers can increase stocks, but may not decrease stocks. Err4171 = "4171" // The updated SKU quantity exceeds the maximum number 50, please do not update more than 50 SKUs at once Err4172 = "4172" // PB_SKU_PROP_REQUIRED Err4173 = "4173" // PB_NO_PROPER_SKU Err4174 = "4174" // E4174 Err4175 = "4175" // E4175 Err4176 = "4176" // E4176 Err4177 = "4177" // E4177 Err4178 = "4178" // E4178 Err4179 = "4179" // E4179 Err4180 = "4180" // E4180 Err4181 = "4181" // E4181 Err4182 = "4182" // E4182 Err4183 = "4183" // E4183 Err4184 = "4184" // E4184 Err4185 = "4185" // E4185 Err4186 = "4186" // PB_ORIGIN_SALE_PRICE_CANNOT_BE_EMPTY Err4187 = "4187" // E4187 Err4188 = "4188" // PB_MARKET_PRICE_CANNOT_BE_EMPTY Err4189 = "4189" // E4189 Err4190 = "4190" // E4190 Err4191 = "4191" // PB_STOCK_CANNOT_BE_EMPTY Err4192 = "4192" // PB_STOCK_INVALID Err4193 = "4193" // The SellerSku parameter is no longer supported. Please update your parameter to use SkuId and try again Err4194 = "4194" // PB_SELLER_SKU_EXIST Err4195 = "4195" // PB_SELLER_SKU_LENGTH_ERROR Err4196 = "4196" // PB_SELLER_SKU_DUPLICATE Err4197 = "4197" // PB_SELLER_SKU_INVALID Err4198 = "4198" // PB_SELLER_SKU_CANNOT_BE_REVISED Err4199 = "4199" // PB_PACKAGE_UNMATCHED Err4200 = "4200" // IMAP_BRAND_NOT_MATCHED Err4201 = "4201" // IMAP_SALE_PROP_UNMATCHED Err4202 = "4202" // IMAP_SALE_PROP_ERR_MATCHED Err4203 = "4203" // IMAP_DEST_SALE_PROP_IS_SPU Err4204 = "4204" // IMAP_SALE_PROP_VAL_ERR_MATCHED Err4205 = "4205" // INVALID_IMAGE_FORMAT Err4206 = "4206" // INVALID_IMAGE_DIMENSION Err4207 = "4207" // IMPORT_SELLER_SKU_EMPTY Err4208 = "4208" // IMPORT_SELLER_SKU_INVALID Err4209 = "4209" // INVALID_CATEGORY Err4210 = "4210" // FAIL_TO_GET_CATEGORY_ID Err4211 = "4211" // HAZMAT_WARN Err4212 = "4212" // PDT_LIMIT_REACH Err4213 = "4213" // MIGRAGE_IMAGE_FAILED Err4214 = "4214" // PG_NOT_PERMIT Err4215 = "4215" // DECO_CREATE_ERROR Err4216 = "4216" // skuId is a mandatory field and must be filled in. Err4217 = "4217" // DECO_SOURCE_QUERY_ERROR Err4218 = "4218" // Update product failed Err4219 = "4219" // DECO_SYNC_ERROR Err4220 = "4220" // TRANSLATE_OVER_FLOW Err4221 = "4221" // BIZ_CHECK_MTEE_RISK_RULE_TRIGGER_MTEE_RISK_RULE_TRIGGER_ERROR Err4222 = "4222" // NO_SKU_COULD_BE_UPDATE Err4223 = "4223" // PRODUCT_NUM_REACH_LIMITATION Err4224 = "4224" // SELLER_STATUS_INVALID Err4225 = "4225" // Your product participated in semi-hosted program, please go to GSP to edit the product price/stock/package details information. Err4226 = "4226" // SELLER_PUNISHMENT_INVALID Err4227 = "4227" // Query category is null Err4228 = "4228" // Query category is not active Err4229 = "4229" // PROHIBITED_BRAND Err4230 = "4230" // PROHIBITED_KEYWORD Err5 = "5" // E005: Invalid Request Format Err500 = "500" // E500: Create product failed Err50008 = "50008" // ot support operation for sof order Err501 = "501" // E501: Update product failed Err502 = "502" // E502: Search SPU failed Err503 = "503" // E503: Remove product failed Err504 = "504" // E504: Set product Image failed Err506 = "506" // E506: Get product failed Err512 = "512" // E512: BIZ_CHECK_MANGROVE_RULE_QC Err513 = "513" // Internal call exception Err56 = "56" // E056: Invalid OrdersIdList format. Must use array format [1,2] Err57 = "57" // E057: No attribute sets linked to that category. Err6 = "6" // E006: Unexpected internal error Err70 = "70" // E070: You have corrupt data in your sku seller list. Err700000 = "700000" // PACKAGE_STATUS_NOT_ALLOW_TO_OP Err700001 = "700001" // DBS_SHIPMENT_PROVIDER_CODE_NOT_EXITS Err700004 = "700004" // PARAM_ILLEGAL Err700013 = "700013" // OP_NOT_SUPPORT Err700016 = "700016" // NOT_AVAILABLE_NTFS_3PL Err700017 = "700017" // PARAM_IS_NULL Err700018 = "700018" // PARAM_SIZE_ERROR Err700019 = "700019" // PARAM_MIN_ERROR Err700020 = "700020" // ORDER_ITEM_NOT_FOUND_OR_NOT_BELONG_DIGITAL Err700021 = "700021" // ORDER_NOT_FOUND Err700022 = "700022" // BATCH_SIZE_OUT_OF_LIMIT Err700023 = "700023" // PICKUP_IN_STORE_NO_SUPPORT Err700024 = "700024" // GET_LOCK_FAILED Err700025 = "700025" // ORDER_ITEM_NOT_FOUND Err700026 = "700026" // FO_ITEM_NOT_ALLOW_TO_PACK Err700027 = "700027" // NOT_SUPPORT_FBL_TO_PACK Err700028 = "700028" // NOT_SUPPORT_PACK_UP_IN_STORE_TO_PACK Err700029 = "700029" // ITEM_MUST_BELONG_SAME_WAREHOUSE Err700030 = "700030" // NOT_SUPPORT_DG_SERVICE_TO_PACK Err700031 = "700031" // ITEM_NOT_READY_TO_FULFILL Err700032 = "700032" // SELLER_NOT_FOUND Err700033 = "700033" // TRANSFERRING_WAREHOUSE_PROVIDER Err700040 = "700040" // There are no packages that support printing! Err701 = "701" // E701: Empty category suggestion. Err74 = "74" // E074: Invalid sort direction. Err75 = "75" // E075: Invalid sort filter. Err901 = "901" // E901: The request is too frequent, or the requested functionality is temporarily disabled. Err99 = "99" // fail ErrAPPKEYINVALID = "APP_KEY_INVALID" // App key is invalid, please contact lazada tech team. ErrBADREQUEST = "BAD_REQUEST" // Invalid request ErrBALANCEACCOUNTNOTENOUGH = "BALANCE_ACCOUNT_NOT_ENOUGH" // Balance account is not enough. ErrBATCHCREATEERROR = "BATCH_CREATE_ERROR" // Error happens when creating gift code. Please Retry. ErrBIZDEGRADATIONERROR = "BIZ_DEGRADATION_ERROR" // The service is not available now ErrBIZINVALIDARGUMENT = "BIZ_INVALID_ARGUMENT" // Please check whether the input parameter "action" is correct ErrBIZINVALIDPRODUCT = "BIZ_INVALID_PRODUCT" // Invalid product ErrBIZLIVENOTFOUND = "BIZ_LIVE_NOT_FOUND" // The live room does not exist ErrBIZNOTLIVEPRODUCT = "BIZ_NOT_LIVE_PRODUCT" // It is not a product of the live room ErrBIZUSERNOTPERMITTED = "BIZ_USER_NOT_PERMITTED" // No permission ErrCAGENOTFOUND = "CAGE_NOT_FOUND" // Cage not found: {cageNumber} ErrCANNOTINBOUNDCANCELLEDTASK = "CANNOT_INBOUND_CANCELLED_TASK" // Tracking number {trackingNumber} is cancelled. Please remove out of list ErrDOPMERCHANTMDOP = "DOP_MERCHANT_MDOP" // Seller is a MDOP, your parcel cannot be dropped-off to any station. DOP Merchant={sellerName}, and TN={trackingNumber} ErrDOPPARCELSTATUSNOTWHITELIST = "DOP_PARCEL_STATUS_NOT_WHITELIST" // Parcel is not at correct status to dropoff, parcel {trackingNumber} is now {status} ErrDOPRESERVEDPARCELNOTFOUND = "DOP_RESERVED_PARCEL_NOT_FOUND" // No parcel info for tracking number {trackingNumber}. Please scan again or manually input the tracking number. ErrDropshippingInvalid = "Dropshipping invalid" // input orderId: Own Warehouse invalid ErrDUPLICATEREQUEST = "DUPLICATE_REQUEST" // Your request is processing ErrE0001 = "E0001" // Parameter ItemId is mandatory ErrE0002 = "E0002" // Product not exists ErrE0003 = "E0003" // Seller Sku not exists ErrE0004 = "E0004" // Product Status not online ErrE0006 = "E0006" // Unexpected internal error ErrE0207 = "E0207" // "E207: SKU not exist" ErrE0208 = "E0208" // Product not exist ErrE1000 = "E1000" // Internal Application Error ErrE1001 = "E1001" // not jit seller ErrE1002 = "E1002" // not jit product ErrECONCILIATIONCSVERRORFAILED = "ECONCILIATION_CSV_ERROR_FAILED" // Error happens when creating reconciliation file. ErrEDITITEMNOTBELONGSELLER = "EDIT_ITEM_NOT_BELONG_SELLER" // You are not authorized to edit the item. ErrFAILTOADDVIDEO = "FAIL_TO_ADD_VIDEO" // detail message ErrFAILTOBLOCKCOMPLETE = "FAIL_TO_BLOCK_COMPLETE" // detail message ErrFAILTOBLOCKINIT = "FAIL_TO_BLOCK_INIT" // detail message ErrFAILTODELETEVIDEO = "FAIL_TO_DELETE_VIDEO" // detail message ErrFAILTOGETSHOPINFO = "FAIL_TO_GET_SHOP_INFO" // detail message ErrFAILTOGETUSERCAPACITY = "FAIL_TO_GET_USER_CAPACITY" // more detail ErrFAILTOGETVIDEO = "FAIL_TO_GET_VIDEO" // detail message ErrFAILTOUPLOADBLOCK = "FAIL_TO_UPLOAD_BLOCK" // detail message ErrFAILTOVALIDATE = "FAIL_TO_VALIDATE" // detail message ErrGIFTCODELOCKCONFLICT = "GIFT_CODE_LOCK_CONFLICT" // Gift code is already being created,please wait for a moment and check the batch list ErrGIFTCODEQUERYEMPTY = "GIFT_CODE_QUERY_EMPTY" // There are no such gift code ErrHOTKEYBLOCKEXCEPTION = "HOT_KEY_BLOCK_EXCEPTION" // hot key protect ErrHttpConnectError = "HttpConnectError" // Request failed, due to [%s] ErrILLEGALPARAMETER = "ILLEGAL_PARAMETER" // detail message ErrIllegalAccessToken = "IllegalAccessToken" // The specified access token is invalid or expired ErrINPUTPARAMVALID = "INPUT_PARAM_VALID" // query trade failed ErrINTERNALSYSTEMERROR = "INTERNAL_SYSTEM_ERROR" // Internal system error. Please try again ErrINVALIDADDRESSID = "INVALID_ADDRESS_ID" // Provided address ID is not valid ErrINVALIDSTATUSFORBIDDENPICKUP = "INVALID_STATUS_FORBIDDEN_PICK_UP" // INVALID_STATUS_FORBIDDEN_PICK_UP ErrInvalidParameter = "InvalidParameter" // The specified parameter “null#addressId” is not valid ErrLDINPUTPARAMVALID = "LD_INPUT_PARAM_VALID" // orderId is wrong ErrLDINVOKEDOWNSTREAMRESPONSEBLANK = "LD_INVOKE_DOWNSTREAM_RESPONSE_BLANK" // LD_INVOKE_DOWNSTREAM_RESPONSE_BLANK ErrLZDMEMBERUSER1011 = "LZD_MEMBER_USER_1011" // LZD_MEMBER_USER_1011 ErrMp3SellerApiLimit = "Mp3SellerApiLimit" // Mp3 Seller not support the api -apipath ErrNOROUTEERROR = "NO_ROUTE_ERROR" // No suitable route found ErrONLYCBSELLERSUPPORTED = "ONLY_CB_SELLER_SUPPORTED" // For now, only cb seller supported ErrOPENAPICALLEXCEEDLIMIT = "OPEN_API_CALL_EXCEED_LIMIT" // Open Api call times exceeds: apiName_limitType ErrOPENAPITIMESTAMPINVALID = "OPEN_API_TIMESTAMP_INVALID" // The input timestamp is invalid ErrOPENDIRECTTRANSFERINTERNALFAIL = "OPEN_DIRECT_TRANSFER_INTERNAL_FAIL" // Direct transfer internal error, please retry or contact lazada tech team. ErrOPENDIRECTTRANSFERLOCKCONFLICT = "OPEN_DIRECT_TRANSFER_LOCK_CONFLICT" // Direct transfer request is already being processed,please wait for a moment and check status ErrP08800000015170 = "P-088-0000-00-15-170" // seller has stores that are not packaged across stores ErrP08800000015195 = "P-088-0000-00-15-195" // query lzd merchant seller not found ErrP08800000015205 = "P-088-0000-00-15-205" // param is null ErrP08800000015209 = "P-088-0000-00-15-209" // handover content not found ErrP08800000015213 = "P-088-0000-00-15-213" // param country is null ErrP08800000015214 = "P-088-0000-00-15-214" // param province is null ErrP08800000015215 = "P-088-0000-00-15-215" // param city is null ErrP08800000015216 = "P-088-0000-00-15-216" // param detailAddress is null ErrP08800000015217 = "P-088-0000-00-15-217" // param country is not support ErrP08800000015218 = "P-088-0000-00-15-218" // params is null ErrP08800000015231 = "P-088-0000-00-15-231" // pick up collection point info missing ErrP08800000015300 = "P-088-0000-00-15-300" // handover content status not committed、awaiting_tracking_number or awaiting_pickup, can not update ErrP08801011010140 = "P-088-0101-10-10-140" // all parcel order not found ErrP08801011010152 = "P-088-0101-10-10-152" // address service result error ErrP08801011010191 = "P-088-0101-10-10-191" // query across store account not found ErrP08801011010192 = "P-088-0101-10-10-192" // query across account relation not found ErrPARAMILLEGAL = "PARAM_ILLEGAL" // "sku not exists" ErrPARAMSVALIDATEERROR = "PARAMS_VALIDATE_ERROR" // NULL_SELLERID ErrPARCELALREADYINBOUND = "PARCEL_ALREADY_INBOUND" // Parcel has already inbounded: {trackingNumber} ErrPARCELNOTFOUND = "PARCEL_NOT_FOUND" // Parcel not found: {trackingNumber1,trackingNumber2} ErrPARTIALDELIVERYNOTAVAILABLE = "PARTIAL_DELIVERY_NOT_AVAILABLE" // Partial Delivery is not available because out of Lex coverage ErrPARTNERNOTFOUND = "PARTNER_NOT_FOUND" // No partner matches with provided information ErrPROCEEDTRANSFEREXCEPTION = "PROCEED_TRANSFER_EXCEPTION" // Internal error, please retry or contact lazada tech team. ErrRECONCILIATIONINPUTDATEINVALID = "RECONCILIATION_INPUT_DATE_INVALID" // Invalid input format of local date. ErrRISKREJECT = "RISK_REJECT" // The transfer recipient's account status is abnormal, please check ErrSELLERSERVICEFAIL = "SELLER_SERVICE_FAIL" // inner service fail ErrSellerNotActive = "SellerNotActive" // Seller not active,please check seller status ErrSellerNotVerified = "SellerNotVerified" // Seller not verified,please check seller status ErrServiceTimeout = "ServiceTimeout" // The request has failed due to service timeout ErrSTATIONISNOTDOP = "STATION_IS_NOT_DOP" // Station {stationCode} is not a DOP. You can not drop-off here. ErrSTATIONNOTACTIVE = "STATION_NOT_ACTIVE" // Station [{stationCode}] is not active ErrSYSERROR = "SYS_ERROR" // inner service fail ErrSYSTEMERROR = "SYSTEM_ERROR" // We are experiencing a surge in traffic. Please try again. If you continue to get this message, try again later ErrTHIRDSERVICEERROR = "THIRD_SERVICE_ERROR" // inner service fail ErrTRAFFICCONTROL = "TRAFFIC_CONTROL" // TRAFFIC_CONTROL ErrTRANSFERAMOUNTEXCEEDLIMIT = "TRANSFER_AMOUNT_EXCEED_LIMIT" // The transfer amount has exceeded the limit. ErrTRANSFERERRORACCOUNTNUMBERINVALID = "TRANSFER_ERROR_ACCOUNT_NUMBER_INVALID" // Account number is invalid ErrTRANSFERERRORMSGAMOUNTINVALID = "TRANSFER_ERROR_MSG_AMOUNT_INVALID" // Amount is invalid ErrTRANSFERERRORMSGQUANTITYINVALID = "TRANSFER_ERROR_MSG_QUANTITY_INVALID" // The quantity of gift code is invalid ErrTRANSFERERRORMSGRESPONSEDFAILED = "TRANSFER_ERROR_MSG_RESPONSED_FAILED" // Error happens when transferring,please contact lazada team ErrTRANSFERERRORMSGUSERNOTFOUND = "TRANSFER_ERROR_MSG_USER_NOT_FOUND" // User to be transferred not found. ErrTRANSFERERRORMSGWALLETINACTIVATED = "TRANSFER_ERROR_MSG_WALLET_INACTIVATED" // The transfer account has not activated the wallet ErrTRANSFERERRORNATIONNOTINLIST = "TRANSFER_ERROR_NATION_NOT_IN_LIST" // The current user's region does not have permission to access, please contact the lazada tech team. ErrTRANSFERERRORTRANSFERORDERIDINVALID = "TRANSFER_ERROR_TRANSFER_ORDER_ID_INVALID" // Transfer order ID is invalid ErrTRANSFERISCORPORATEUSERERROR = "TRANSFER_IS_CORPORATE_USER_ERROR" // The recipient account is corporate user. ErrTRANSFERUSERUNMATCHED = "TRANSFER_USER_UNMATCHED" // User to be transferred not match ErrTRANSFERVALUEUNMATCHED = "TRANSFER_VALUE_UNMATCHED" // Transfer amount does not match ErrTRANSFERWITHDRAWABLEUNMATCHED = "TRANSFER_WITHDRAWABLE_UNMATCHED" // Transfer withdrawable does not match. ErrUNEXPECTEDERROR = "UNEXPECTED_ERROR" // NullpointerException ErrUnknownRuntimeException = "UnknownRuntimeException" // The request has failed due to RPC runtime failure ErrUSERBALANCENOTENOUGH = "USER_BALANCE_NOT_ENOUGH" // The available deposit is not enough for the transfer. ErrUSERISNOTLOGGEDIN = "USER_IS_NOT_LOGGED_IN" // The user is not logged in )
const (
UserAgent = "golazada/1.0.0"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccessTokenResponse ¶
type AccessTokenResponse struct {
BaseResponse
AccessToken string `json:"access_token"`
RefreshToken string `json:"refresh_token"`
ExpireIn FlexInt `json:"expires_in"`
Account string `json:"account"`
AccountID string `json:"account_id"`
Country string `json:"country"`
SellerID []string `json:"seller_id"`
}
type ActivateFlexiComboResponse ¶
type ActivateFlexiComboResponse struct {
BaseResponse // Common response fields
}
type AddAdgroupBatchResponse ¶
type AddAdgroupBatchResponse struct {
BaseResponse // Common response fields
AnalyseTraceId string `json:"analyseTraceId,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
Result string `json:"result,omitempty"` //
}
type AddFlexiComboProductsResponse ¶
type AddFlexiComboProductsResponse struct {
BaseResponse // Common response fields
Response AddFlexiComboProductsResponseData `json:"data"` // Response data
}
type AddFlexiComboProductsResponseData ¶ added in v0.1.2
type AddFlexiComboProductsResponseData struct {
SkuId string `json:"sku id"` // [Required]
}
type AddOrUpdatePickupStopResponse ¶
type AddOrUpdatePickupStopResponse struct {
BaseResponse // Common response fields
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMessage string `json:"errorMessage,omitempty"` //
Errors []ResponseDataErrors `json:"errors,omitempty"` //
Retryable string `json:"retryable,omitempty"` //
}
type AddSolutionResponse ¶
type AddSolutionResponse struct {
BaseResponse // Common response fields
AnalyseTraceId string `json:"analyseTraceId,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
Result interface{} `json:"result,omitempty"` //
}
type AddressBilling ¶ added in v0.1.2
type AddressBilling struct {
Country FlexString `json:"country"` // [Required]
Address3 FlexString `json:"address3"` // [Required]
Phone FlexString `json:"phone"` // [Required]
Address2 FlexString `json:"address2"` // [Required]
City FlexString `json:"city"` // [Required]
Address1 FlexString `json:"address1"` // [Required]
PostCode FlexString `json:"post_code"` // [Required]
Phone2 FlexString `json:"phone2"` // [Required]
LastName FlexString `json:"last_name"` // [Required]
Address5 FlexString `json:"address5"` // [Required]
Address4 FlexString `json:"address4"` // [Required]
FirstName FlexString `json:"first_name"` // [Required]
}
type AddressShipping ¶ added in v0.1.9
type AddressShipping struct {
Country string `json:"country"` // [Required]
Address3 string `json:"address3"` // [Required]
Phone string `json:"phone"` // [Required]
Address2 string `json:"address2"` // [Required]
City string `json:"city"` // [Required]
Address1 string `json:"address1"` // [Required]
PostCode string `json:"post_code"` // [Required]
Phone2 string `json:"phone2"` // [Required]
LastName string `json:"last_name"` // [Required]
Address5 string `json:"address5"` // [Required]
Address4 string `json:"address4"` // [Required]
FirstName string `json:"first_name"` // [Required]
}
type AdjustSellableQuantityResponse ¶
type AdjustSellableQuantityResponse struct {
BaseResponse // Common response fields
}
type Advanced ¶ added in v0.1.2
type Advanced struct {
IsKeyProp int64 `json:"is_key_prop"` // [Required]
}
type AppliedVas ¶ added in v0.1.2
type AppliedVas struct {
VasExchangeOrderOption string `json:"vasExchangeOrderOption"` // [Required]
OpenBox string `json:"openBox"` // [Required]
VasFdCollectShippingFeeOption string `json:"vasFdCollectShippingFeeOption"` // [Required]
VasFdStorageOption string `json:"vasFdStorageOption"` // [Required]
VasFdCallOption string `json:"vasFdCallOption"` // [Required]
VasPartialDeliveryOption string `json:"vasPartialDeliveryOption"` // [Required]
}
type ArticleBizOrders ¶ added in v0.1.2
type ArticleBizOrders struct {
OrderCycleStart string `json:"orderCycleStart"` // [Required]
RefundFee string `json:"refundFee"` // [Required]
ArticleItemName string `json:"articleItemName"` // [Required]
BizType string `json:"bizType"` // [Required]
ArticleName string `json:"articleName"` // [Required]
TotalPayFee string `json:"totalPayFee"` // [Required]
OrderId string `json:"orderId"` // [Required]
OrderCycleEnd string `json:"orderCycleEnd"` // [Required]
ItemCode string `json:"itemCode"` // [Required]
Fee string `json:"fee"` // [Required]
UserId string `json:"userId"` // [Required]
Nick string `json:"nick"` // [Required]
ActivityCode string `json:"activityCode"` // [Required]
ItemName string `json:"itemName"` // [Required]
OrderCycle string `json:"orderCycle"` // [Required]
BizOrderId string `json:"bizOrderId"` // [Required]
PromFee string `json:"promFee"` // [Required]
Create string `json:"create"` // [Required]
ArticleCode string `json:"articleCode"` // [Required]
}
type Attributes ¶ added in v0.1.2
type Attributes struct {
ShortDescription string `json:"short_description"` // [Required]
Name string `json:"name"` // [Required]
Description string `json:"description"` // [Required]
NameEngravement string `json:"name_engravement"` // [Required]
WarrantyType string `json:"warranty_type"` // [Required]
GiftWrapping string `json:"gift_wrapping"` // [Required]
Brand string `json:"brand"` // [Required]
}
type AttributesOptions ¶ added in v0.1.2
type AttributesOptions struct {
Name string `json:"name"` // [Required]
}
type AudienceViewDTO ¶ added in v0.1.2
type AuthService ¶
type AuthService interface {
GetAccessToken(ctx context.Context, code string) (*AccessTokenResponse, error)
RefreshAccessToken(ctx context.Context, refreshToken string) (*RefreshAccessTokenResponse, error)
}
type AuthServiceOp ¶
type AuthServiceOp[T any] struct { // contains filtered or unexported fields }
func (*AuthServiceOp[T]) GetAccessToken ¶
func (s *AuthServiceOp[T]) GetAccessToken(ctx context.Context, code string) (*AccessTokenResponse, error)
func (*AuthServiceOp[T]) RefreshAccessToken ¶
func (s *AuthServiceOp[T]) RefreshAccessToken(ctx context.Context, refreshToken string) (*RefreshAccessTokenResponse, error)
type BaseInfo ¶ added in v0.1.2
type BaseInfo struct {
RegisterCountry string `json:"registerCountry"` // [Required]
Phone string `json:"phone"` // [Required]
ShopName string `json:"shopName"` // [Required]
ReqNo string `json:"reqNo"` // [Required]
Email string `json:"email"` // [Required]
Status string `json:"status"` // [Required]
}
type BaseResponse ¶
type Batch ¶ added in v0.1.2
type Batch struct {
OutboundBanDate string `json:"outbound_ban_date"` // [Required]
Quantity string `json:"quantity"` // [Required]
FulfillmentSkuId string `json:"fulfillment_sku_id"` // [Required]
ExpiryDate string `json:"expiry_date"` // [Required]
ManufacturingDate string `json:"manufacturing_date"` // [Required]
InventoryStatus string `json:"inventory_status"` // [Required]
ProductBatch string `json:"product_batch"` // [Required]
}
type BatchDeliverJitPurchaseOrderResponse ¶
type BatchDeliverJitPurchaseOrderResponse struct {
BaseResponse // Common response fields
Result *Result `json:"result,omitempty"` //
}
type BatchQueryFollowStatusResponse ¶
type BatchQueryFollowStatusResponse struct {
BaseResponse // Common response fields
Result *BatchQueryFollowStatusResponseDataResult `json:"result,omitempty"` //
}
type BatchQueryFollowStatusResponseDataResult ¶ added in v0.1.2
type BatchQueryFollowStatusResponseDataResult struct {
Result []interface{} `json:"result"` // [Required]
Success bool `json:"success"` // [Required]
Error interface{} `json:"error"` // [Required]
}
type BatchUpdateSizeChartRequest ¶ added in v0.1.8
type BatchUpdateSizeChartRequest struct {
Payload string `json:"payload"` // [Required]
}
type BatchUpdateSizeChartResponse ¶
type BatchUpdateSizeChartResponse struct {
BaseResponse // Common response fields
}
type BizSupplement ¶ added in v0.1.2
type BizSupplement struct {
ItemType int64 `json:"item_type"` // [Required]
}
type BuildFulfillmentSkuRelationResponse ¶
type BuildFulfillmentSkuRelationResponse struct {
BaseResponse // Common response fields
Result *BuildFulfillmentSkuRelationResponseDataResult `json:"result,omitempty"` //
}
type BuildFulfillmentSkuRelationResponseDataResult ¶ added in v0.1.2
type CageValidationResponse ¶
type CageValidationResponse struct {
BaseResponse // Common response fields
Response string `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type CancelFulfillmentOrderForMCLResponse ¶
type CancelFulfillmentOrderForMCLResponse struct {
BaseResponse // Common response fields
ErrorMessage string `json:"error_message,omitempty"` //
}
type CancelInboundReservationResponse ¶
type CancelInboundReservationResponse struct {
BaseResponse // Common response fields
ErrorMessage string `json:"error_message,omitempty"` //
}
type CancelOutboundOrderResponse ¶
type CancelOutboundOrderResponse struct {
BaseResponse // Common response fields
ErrorMessage string `json:"error_message,omitempty"` //
}
type CancelTaskResponse ¶
type CancelTaskResponse struct {
BaseResponse // Common response fields
Result *CancelTaskResponseDataResult `json:"result,omitempty"` //
}
type CancelTaskResponseDataResult ¶ added in v0.1.2
type CancelVasOrder4FBLResponse ¶
type CancelVasOrder4FBLResponse struct {
BaseResponse // Common response fields
Response string `json:"data"` // Response data
}
type CancelnBoundOrderResponse ¶
type CancelnBoundOrderResponse struct {
BaseResponse // Common response fields
ErrorMessage string `json:"error_message,omitempty"` //
}
type CategorySuggestions ¶ added in v0.1.2
type Certificate ¶ added in v0.1.2
type Certificate struct {
CertificateCode string `json:"certificate_code"` // [Required]
InitialNum string `json:"initial_num"` // [Required]
BizType string `json:"biz_type"` // [Required]
EndTime string `json:"end_time"` // [Required]
OuterId string `json:"outer_id"` // [Required]
QrCodeUrl string `json:"qr_code_url"` // [Required]
LockedNum string `json:"locked_num"` // [Required]
StartTime string `json:"start_time"` // [Required]
AvailableNum string `json:"available_num"` // [Required]
UsedNum string `json:"used_num"` // [Required]
Attributes interface{} `json:"attributes"` // [Required]
ConsumeStatus string `json:"consume_status"` // [Required]
CodeStatus string `json:"code_status"` // [Required]
}
type ChangeFaceResponse ¶
type ChangeFaceResponse struct {
BaseResponse // Common response fields
Result *ChangeFaceResponseDataResult `json:"result,omitempty"` //
}
type ChangeFaceResponseDataResult ¶ added in v0.1.2
type ChangeProductBackgroundResponse ¶
type ChangeProductBackgroundResponse struct {
BaseResponse // Common response fields
Result *ChangeFaceResponseDataResult `json:"result,omitempty"` //
}
type ChannelRatio ¶ added in v0.1.2
type ChannelStocks ¶ added in v0.1.2
type CheckInboundReservationSlotResponse ¶
type CheckInboundReservationSlotResponse struct {
BaseResponse // Common response fields
Response CheckInboundReservationSlotResponseData `json:"data"` // Response data
ErrorMessage string `json:"error_message,omitempty"` //
}
type CheckInboundReservationSlotResponseData ¶ added in v0.1.2
type CheckInboundReservationSlotResponseData struct {
Slots []string `json:"slots"` // [Required]
}
type ChoiceCustomizedService ¶
type ChoiceCustomizedService interface {
// BatchDeliverJitPurchaseOrder Batch Pickup Deliver Jit Purchase Order.
// Path: /jit/purchase_order/batch_pickup_deliver
BatchDeliverJitPurchaseOrder(ctx context.Context) (*BatchDeliverJitPurchaseOrderResponse, error)
// EditChoiceSkuStock batch update choice jit product stock by skuId
// Path: /choice/stock/edit
EditChoiceSkuStock(ctx context.Context) (*EditChoiceSkuStockResponse, error)
// GetChoiceProductItem Get single product by ItemId or SellerSku.
// Path: /choice/product/item/get
GetChoiceProductItem(ctx context.Context) (*GetChoiceProductItemResponse, error)
// GetChoiceProducts Use this API to get detailed information of the specified products.
// Path: /choice/products/get
GetChoiceProducts(ctx context.Context) (*GetChoiceProductsResponse, error)
// GetChoiceSeller Get choice seller information by seller ID and site
// Path: /choice/seller/get
GetChoiceSeller(ctx context.Context) (*GetChoiceSellerResponse, error)
// GetChoiceSkuItemRelationBySku get the relation between platformSku and item by sku
// Path: /choice/sku_item_relation/get_by_sku
GetChoiceSkuItemRelationBySku(ctx context.Context) (*GetChoiceSkuItemRelationBySkuResponse, error)
// PackageJitPurchaseOrder Package Jit Purchase Order.
// Path: /jit/purchase_order/package
PackageJitPurchaseOrder(ctx context.Context) (*PackageJitPurchaseOrderResponse, error)
// PrintJitPurchaseOrderAndItem Print Jit Purchase Order And Item.
// Path: /jit/purchase_order/print
PrintJitPurchaseOrderAndItem(ctx context.Context) (*PrintJitPurchaseOrderAndItemResponse, error)
// PrintPickuoOrder Print Pickuo Order.
// Path: /pickup_order/print
PrintPickuoOrder(ctx context.Context) (*PrintPickuoOrderResponse, error)
// QueryListJitPurchaseOrder Query List Jit Purchase Order.
// Path: /jit/purchase_order/query_list
QueryListJitPurchaseOrder(ctx context.Context) (*QueryListJitPurchaseOrderResponse, error)
// QueryListPurchaseItem Query List Purchase Item.
// Path: /jit/purchase_order/query_list_purchase_item
QueryListPurchaseItem(ctx context.Context) (*QueryListPurchaseItemResponse, error)
// QueryPickupOrder Query Pickup Order.
// Path: /pickup_order/query
QueryPickupOrder(ctx context.Context) (*QueryPickupOrderResponse, error)
}
type ChoiceCustomizedServiceOp ¶
type ChoiceCustomizedServiceOp[T any] struct { // contains filtered or unexported fields }
func (*ChoiceCustomizedServiceOp[T]) BatchDeliverJitPurchaseOrder ¶
func (s *ChoiceCustomizedServiceOp[T]) BatchDeliverJitPurchaseOrder(ctx context.Context) (*BatchDeliverJitPurchaseOrderResponse, error)
BatchDeliverJitPurchaseOrder Batch Pickup Deliver Jit Purchase Order. Path: /jit/purchase_order/batch_pickup_deliver
func (*ChoiceCustomizedServiceOp[T]) EditChoiceSkuStock ¶
func (s *ChoiceCustomizedServiceOp[T]) EditChoiceSkuStock(ctx context.Context) (*EditChoiceSkuStockResponse, error)
EditChoiceSkuStock batch update choice jit product stock by skuId Path: /choice/stock/edit
func (*ChoiceCustomizedServiceOp[T]) GetChoiceProductItem ¶
func (s *ChoiceCustomizedServiceOp[T]) GetChoiceProductItem(ctx context.Context) (*GetChoiceProductItemResponse, error)
GetChoiceProductItem Get single product by ItemId or SellerSku. Path: /choice/product/item/get
func (*ChoiceCustomizedServiceOp[T]) GetChoiceProducts ¶
func (s *ChoiceCustomizedServiceOp[T]) GetChoiceProducts(ctx context.Context) (*GetChoiceProductsResponse, error)
GetChoiceProducts Use this API to get detailed information of the specified products. Path: /choice/products/get
func (*ChoiceCustomizedServiceOp[T]) GetChoiceSeller ¶
func (s *ChoiceCustomizedServiceOp[T]) GetChoiceSeller(ctx context.Context) (*GetChoiceSellerResponse, error)
GetChoiceSeller Get choice seller information by seller ID and site Path: /choice/seller/get
func (*ChoiceCustomizedServiceOp[T]) GetChoiceSkuItemRelationBySku ¶
func (s *ChoiceCustomizedServiceOp[T]) GetChoiceSkuItemRelationBySku(ctx context.Context) (*GetChoiceSkuItemRelationBySkuResponse, error)
GetChoiceSkuItemRelationBySku get the relation between platformSku and item by sku Path: /choice/sku_item_relation/get_by_sku
func (*ChoiceCustomizedServiceOp[T]) PackageJitPurchaseOrder ¶
func (s *ChoiceCustomizedServiceOp[T]) PackageJitPurchaseOrder(ctx context.Context) (*PackageJitPurchaseOrderResponse, error)
PackageJitPurchaseOrder Package Jit Purchase Order. Path: /jit/purchase_order/package
func (*ChoiceCustomizedServiceOp[T]) PrintJitPurchaseOrderAndItem ¶
func (s *ChoiceCustomizedServiceOp[T]) PrintJitPurchaseOrderAndItem(ctx context.Context) (*PrintJitPurchaseOrderAndItemResponse, error)
PrintJitPurchaseOrderAndItem Print Jit Purchase Order And Item. Path: /jit/purchase_order/print
func (*ChoiceCustomizedServiceOp[T]) PrintPickuoOrder ¶
func (s *ChoiceCustomizedServiceOp[T]) PrintPickuoOrder(ctx context.Context) (*PrintPickuoOrderResponse, error)
PrintPickuoOrder Print Pickuo Order. Path: /pickup_order/print
func (*ChoiceCustomizedServiceOp[T]) QueryListJitPurchaseOrder ¶
func (s *ChoiceCustomizedServiceOp[T]) QueryListJitPurchaseOrder(ctx context.Context) (*QueryListJitPurchaseOrderResponse, error)
QueryListJitPurchaseOrder Query List Jit Purchase Order. Path: /jit/purchase_order/query_list
func (*ChoiceCustomizedServiceOp[T]) QueryListPurchaseItem ¶
func (s *ChoiceCustomizedServiceOp[T]) QueryListPurchaseItem(ctx context.Context) (*QueryListPurchaseItemResponse, error)
QueryListPurchaseItem Query List Purchase Item. Path: /jit/purchase_order/query_list_purchase_item
func (*ChoiceCustomizedServiceOp[T]) QueryPickupOrder ¶
func (s *ChoiceCustomizedServiceOp[T]) QueryPickupOrder(ctx context.Context) (*QueryPickupOrderResponse, error)
QueryPickupOrder Query Pickup Order. Path: /pickup_order/query
type Chronology ¶ added in v0.1.2
type ClickserverResponse ¶
type ClickserverResponse struct {
BaseResponse // Common response fields
Result *GetPickUpStoreListResponseDataResult `json:"result,omitempty"` //
}
type Client ¶
type Client[T any] struct { Client *http.Client App App Region string Token string RefreshToken string OnTokenRefresh func(res *RefreshAccessTokenResponse, meta T) Meta T Auth AuthService ChoiceCustomized ChoiceCustomizedService Content ContentService CrossBoarderProduct CrossBoarderProductService EarlyBirdPrice EarlyBirdPriceService ETickets ETicketsService FBL FBLService Finance FinanceService FirstMileBigbagonlyForCN FirstMileBigbagonlyForCNService Flexicombo FlexicomboService FreeShipping FreeShippingService Fulfillment FulfillmentService InstantMessaging InstantMessagingService LazadaDG LazadaDGService LazadaLogistics LazadaLogisticsService LazadaWalletCorporateTopUp LazadaWalletCorporateTopUpService LazLike LazLikeService LazLive LazLiveService LazPay LazPayService Logistics LogisticsService LogisticsStation LogisticsStationService MediaCenter MediaCenterService Membership MembershipService Order OrderService Product ProductService ProductReview ProductReviewService RedMart RedMartService ReturnAndRefund ReturnAndRefundService Seller SellerService SellerVoucher SellerVoucherService ServiceMarket ServiceMarketService SponsoredSolutions SponsoredSolutionsService StoreDecoration StoreDecorationService System SystemService // contains filtered or unexported fields }
type CollectBenefitResponse ¶
type CollectBenefitResponse struct {
BaseResponse // Common response fields
Response string `json:"data"` // Response data
ResultCode string `json:"resultCode,omitempty"` //
ResultMessage string `json:"resultMessage,omitempty"` //
TraceId string `json:"trace_id,omitempty"` //
}
type CompleteCreateVideoResponse ¶
type CompleteCreateVideoResponse struct {
BaseResponse // Common response fields
ResultCode string `json:"result_code,omitempty"` //
ResultMessage string `json:"result_message,omitempty"` //
VideoId string `json:"video_id,omitempty"` //
}
type ConfirmCollectForDBSResponse ¶
type ConfirmCollectForDBSResponse struct {
BaseResponse // Common response fields
Result *ConfirmCollectForDBSResponseDataResult `json:"result,omitempty"` //
}
type ConfirmCollectForDBSResponseDataResult ¶ added in v0.1.2
type ConfirmCollectForDBSResponseDataResult struct {
ErrorMsg string `json:"error_msg"` // [Required]
Data *ConfirmCollectForDBSResponseDataResultData `json:"data"` // [Required]
Success bool `json:"success"` // [Required]
ErrorCode string `json:"error_code"` // [Required]
}
type ConfirmCollectForDBSResponseDataResultData ¶ added in v0.1.2
type ConfirmCollectForDBSResponseDataResultData struct {
Packages []Packages `json:"packages"` // [Required]
}
type ConfirmDeliveryForDBSResponse ¶
type ConfirmDeliveryForDBSResponse struct {
BaseResponse // Common response fields
Result *ConfirmCollectForDBSResponseDataResult `json:"result,omitempty"` //
}
type ConfirmInboundResponse ¶
type ConfirmInboundResponse struct {
BaseResponse // Common response fields
Response string `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type ConfirmParcelCollectionResponse ¶
type ConfirmParcelCollectionResponse struct {
BaseResponse // Common response fields
Response string `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type ConsultPaymentResponse ¶
type ConsultPaymentResponse struct {
BaseResponse // Common response fields
AdditionalInfo string `json:"additionalInfo,omitempty"` //
ErrorCode string `json:"errorCode,omitempty"` //
PayOptions []PayOptions `json:"payOptions,omitempty"` //
ResponseCode string `json:"responseCode,omitempty"` //
ResponseMessage string `json:"responseMessage,omitempty"` //
}
type Content ¶ added in v0.1.2
type Content struct {
GmtModified string `json:"gmtModified"` // [Required]
Attachments string `json:"attachments"` // [Required]
OrderId string `json:"orderId"` // [Required]
Subject string `json:"subject"` // [Required]
ContactName string `json:"contactName"` // [Required]
BuyerEmail string `json:"buyerEmail"` // [Required]
SellerName string `json:"sellerName"` // [Required]
Description string `json:"description"` // [Required]
BuyerName string `json:"buyerName"` // [Required]
GmtCreate string `json:"gmtCreate"` // [Required]
SellerEmail string `json:"sellerEmail"` // [Required]
RatingStar string `json:"ratingStar"` // [Required]
GmtDeleted string `json:"gmtDeleted"` // [Required]
RatingRemark string `json:"ratingRemark"` // [Required]
MerchantId string `json:"merchantId"` // [Required]
CaseId string `json:"caseId"` // [Required]
CaseTemplateId string `json:"caseTemplateId"` // [Required]
SellerPhoneNo string `json:"sellerPhoneNo"` // [Required]
Attributes string `json:"attributes"` // [Required]
Id int64 `json:"id"` // [Required]
TrackingNumber string `json:"trackingNumber"` // [Required]
RatingReasons []string `json:"ratingReasons"` // [Required]
CategoryId string `json:"categoryId"` // [Required]
Status string `json:"status"` // [Required]
}
type ContentService ¶
type ContentService interface {
// CancelTask cancel tasks
// Path: /content/ai/cancelTask
CancelTask(ctx context.Context) (*CancelTaskResponse, error)
// ChangeFace change face using lazada AI algorithm
// Path: /content/ai/changeFace
ChangeFace(ctx context.Context) (*ChangeFaceResponse, error)
// ChangeProductBackground change product background using lazada AI algorithm
// Path: /content/ai/changeProductBackground
ChangeProductBackground(ctx context.Context) (*ChangeProductBackgroundResponse, error)
// FixHand fixHand using lazada AI algorithm
// Path: /content/ai/fixHand
FixHand(ctx context.Context) (*FixHandResponse, error)
// GetTaskStatus get task status
// Path: /content/ai/getTaskStatus
GetTaskStatus(ctx context.Context) (*GetTaskStatusResponse, error)
// ProductImageMatch match product image
// Path: /content/ai/productImageMatch
ProductImageMatch(ctx context.Context) (*ProductImageMatchResponse, error)
// TryOnCloth try on cloth using lazada AI algorithm
// Path: /content/ai/tryOnCloth
TryOnCloth(ctx context.Context) (*TryOnClothResponse, error)
}
type ContentServiceOp ¶
type ContentServiceOp[T any] struct { // contains filtered or unexported fields }
func (*ContentServiceOp[T]) CancelTask ¶
func (s *ContentServiceOp[T]) CancelTask(ctx context.Context) (*CancelTaskResponse, error)
CancelTask cancel tasks Path: /content/ai/cancelTask
func (*ContentServiceOp[T]) ChangeFace ¶
func (s *ContentServiceOp[T]) ChangeFace(ctx context.Context) (*ChangeFaceResponse, error)
ChangeFace change face using lazada AI algorithm Path: /content/ai/changeFace
func (*ContentServiceOp[T]) ChangeProductBackground ¶
func (s *ContentServiceOp[T]) ChangeProductBackground(ctx context.Context) (*ChangeProductBackgroundResponse, error)
ChangeProductBackground change product background using lazada AI algorithm Path: /content/ai/changeProductBackground
func (*ContentServiceOp[T]) FixHand ¶
func (s *ContentServiceOp[T]) FixHand(ctx context.Context) (*FixHandResponse, error)
FixHand fixHand using lazada AI algorithm Path: /content/ai/fixHand
func (*ContentServiceOp[T]) GetTaskStatus ¶
func (s *ContentServiceOp[T]) GetTaskStatus(ctx context.Context) (*GetTaskStatusResponse, error)
GetTaskStatus get task status Path: /content/ai/getTaskStatus
func (*ContentServiceOp[T]) ProductImageMatch ¶
func (s *ContentServiceOp[T]) ProductImageMatch(ctx context.Context) (*ProductImageMatchResponse, error)
ProductImageMatch match product image Path: /content/ai/productImageMatch
func (*ContentServiceOp[T]) TryOnCloth ¶
func (s *ContentServiceOp[T]) TryOnCloth(ctx context.Context) (*TryOnClothResponse, error)
TryOnCloth try on cloth using lazada AI algorithm Path: /content/ai/tryOnCloth
type ConvertedAddress ¶ added in v0.1.2
type CountryInfo ¶ added in v0.1.2
type CountryInfo struct {
Market string `json:"market"` // [Required]
Quantity string `json:"quantity"` // [Required]
Abs string `json:"abs"` // [Required]
SpecialPrice string `json:"special_price"` // [Required]
ItemId int64 `json:"item_id"` // [Required]
Price float64 `json:"price"` // [Required]
Currency string `json:"currency"` // [Required]
SkuId int64 `json:"sku_id"` // [Required]
}
type CountryPrice ¶ added in v0.1.2
type Create3PLStationResponse ¶
type Create3PLStationResponse struct {
BaseResponse // Common response fields
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMessage string `json:"errorMessage,omitempty"` //
Errors []ResponseDataErrors `json:"errors,omitempty"` //
Retryable string `json:"retryable,omitempty"` //
}
type CreateConsolidationServiceResponse ¶
type CreateConsolidationServiceResponse struct {
BaseResponse // Common response fields
Response string `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
}
type CreateCustomerAccountRelationshipByOTPResponse ¶
type CreateCustomerAccountRelationshipByOTPResponse struct {
BaseResponse // Common response fields
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMessage string `json:"errorMessage,omitempty"` //
Errors []Errors `json:"errors,omitempty"` //
Retryable string `json:"retryable,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type CreateCustomerAccountRelationshipForExternalResponse ¶
type CreateCustomerAccountRelationshipForExternalResponse struct {
BaseResponse // Common response fields
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMessage string `json:"errorMessage,omitempty"` //
Errors []Errors `json:"errors,omitempty"` //
Retryable string `json:"retryable,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type CreateEarlyBirdActivityV2Response ¶
type CreateEarlyBirdActivityV2Response struct {
BaseResponse // Common response fields
Result *CreateEarlyBirdActivityV2ResponseDataResult `json:"result,omitempty"` //
}
type CreateEarlyBirdActivityV2ResponseDataResult ¶ added in v0.1.2
type CreateFlexiComboResponse ¶
type CreateFlexiComboResponse struct {
BaseResponse // Common response fields
Response string `json:"data"` // Response data
}
type CreateFulfillmentOrderForMCLResponse ¶
type CreateFulfillmentOrderForMCLResponse struct {
BaseResponse // Common response fields
ErrorMessage string `json:"error_message,omitempty"` //
}
type CreateFulfillmentOrderForMCLV2PNFResponse ¶
type CreateFulfillmentOrderForMCLV2PNFResponse struct {
BaseResponse // Common response fields
ErrorMessage string `json:"error_message,omitempty"` //
}
type CreateFulfillmentSkuDecoupleResponse ¶
type CreateFulfillmentSkuDecoupleResponse struct {
BaseResponse // Common response fields
Response CreateFulfillmentSkuDecoupleResponseData `json:"data"` // Response data
ErrorMessage string `json:"error_message,omitempty"` //
}
type CreateFulfillmentSkuDecoupleResponseData ¶ added in v0.1.2
type CreateFulfillmentSkuForFBLResponse ¶
type CreateFulfillmentSkuForFBLResponse struct {
BaseResponse // Common response fields
Response CreateFulfillmentSkuForFBLResponseData `json:"data"` // Response data
ErrorMessage string `json:"error_message,omitempty"` //
}
type CreateFulfillmentSkuForFBLResponseData ¶ added in v0.1.2
type CreateGlobalProductResponse ¶
type CreateGlobalProductResponse struct {
BaseResponse // Common response fields
Response CreateGlobalProductResponseData `json:"data"` // Response data
}
type CreateGlobalProductResponseData ¶ added in v0.1.2
type CreateGlobalProductResponseData struct {
SkuList []Sku `json:"sku_list"` // [Required]
}
type CreateInboundOrderResponse ¶
type CreateInboundOrderResponse struct {
BaseResponse // Common response fields
ErrorMessage string `json:"error_message,omitempty"` //
InboundOrderNo string `json:"inbound_order_no,omitempty"` //
}
type CreateInboundReservationResponse ¶
type CreateInboundReservationResponse struct {
BaseResponse // Common response fields
Response CreateInboundReservationResponseData `json:"data"` // Response data
ErrorMessage string `json:"error_message,omitempty"` //
}
type CreateInboundReservationResponseData ¶ added in v0.1.2
type CreateInboundReservationResponseData struct {
ReservationOrder string `json:"reservation_order"` // [Required]
}
type CreateOrUpdateCustomerWarehouseResponse ¶
type CreateOrUpdateCustomerWarehouseResponse struct {
BaseResponse // Common response fields
Response CreateOrUpdateCustomerWarehouseResponseData `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMessage string `json:"errorMessage,omitempty"` //
Errors []Errors `json:"errors,omitempty"` //
Retryable string `json:"retryable,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type CreateOrUpdateCustomerWarehouseResponseData ¶ added in v0.1.2
type CreateOrUpdateCustomerWarehouseResponseData struct {
ConvertedAddress *ConvertedAddress `json:"convertedAddress"` // [Required]
}
type CreateOutBoundOrderResponse ¶
type CreateOutBoundOrderResponse struct {
BaseResponse // Common response fields
ErrorMessage string `json:"error_message,omitempty"` //
OutboundOrderNo string `json:"outbound_order_no,omitempty"` //
}
type CreateProductReinboundOrderForMCLResponse ¶
type CreateProductReinboundOrderForMCLResponse struct {
BaseResponse // Common response fields
ErrorMessage string `json:"error_message,omitempty"` //
}
type CreateProductRequest ¶
type CreateProductRequest struct {
Payload string `json:"payload"` // [Required]
}
type CreateProductResponse ¶
type CreateProductResponse struct {
BaseResponse // Common response fields
Response CreateProductResponseData `json:"data"` // Response data
}
type CreateProductResponseData ¶
type CreateProductResponseData struct {
ItemId int64 `json:"item_id"` // [Required]
SkuList []CreateProductResponseDataSku `json:"sku_list"` // [Required]
ItemStatus string `json:"item_status"` // [Required]
}
type CreateProductResponseDataSku ¶ added in v0.1.2
type CreateScannedParcelResponse ¶
type CreateScannedParcelResponse struct {
BaseResponse // Common response fields
Response CreateScannedParcelResponseData `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type CreateScannedParcelResponseData ¶ added in v0.1.2
type CreateScannedParcelResponseData struct {
ServiceType string `json:"serviceType"` // [Required]
CreatedAt string `json:"createdAt"` // [Required]
CageNumber string `json:"cageNumber"` // [Required]
SellerName string `json:"sellerName"` // [Required]
WarningMessage string `json:"warningMessage"` // [Required]
TrackingNumber string `json:"trackingNumber"` // [Required]
PickupTplSlug string `json:"pickupTplSlug"` // [Required]
LastmileTpl string `json:"lastmileTpl"` // [Required]
}
type CreateSubscriptionToFusionResponse ¶
type CreateSubscriptionToFusionResponse struct {
BaseResponse // Common response fields
SubscribeTime string `json:"subscribeTime,omitempty"` //
SubscriptionStatus string `json:"subscriptionStatus,omitempty"` //
UnsubscribeTime string `json:"unsubscribeTime,omitempty"` //
}
type CreateVasOrder4FBLResponse ¶
type CreateVasOrder4FBLResponse struct {
BaseResponse // Common response fields
Response string `json:"data"` // Response data
}
type CrossBoarderProductService ¶
type CrossBoarderProductService interface {
// CreateGlobalProduct Use this API to create a single new global product to multiple Lazada sites. (For cross boarder sellers ONLY)
// Path: /product/global/create
CreateGlobalProduct(ctx context.Context) (*CreateGlobalProductResponse, error)
// DeleteMerchantProduct Use this API to delete the product。(CrossBoarderSellersOnly)
// Path: /product/global/delete
DeleteMerchantProduct(ctx context.Context) (*DeleteMerchantProductResponse, error)
// GetGlobalProductExtension Use this API to query the extension info of the specified global product. (CrossBoarderSellersOnly)
// Path: /product/global/extension
GetGlobalProductExtension(ctx context.Context) (*GetGlobalProductExtensionResponse, error)
// GetGlobalProductStatus Use this API to query the status of the specified global product. It takes several minutes for the global product to be created on each site. (CrossBoarderSellersOnly)
// Path: /product/global/status/get
GetGlobalProductStatus(ctx context.Context) (*GetGlobalProductStatusResponse, error)
// GetRecommendPrice get recommend price
// Path: /product/global/semi/recommend/price/get
GetRecommendPrice(ctx context.Context) (*GetRecommendPriceResponse, error)
// GetUnfilledAttribute get the product which have attribute not filled (for cross boarder sellers Only)
// Path: /product/global/unfilled/attribute/get
GetUnfilledAttribute(ctx context.Context) (*GetUnfilledAttributeResponse, error)
// GetUpgradableGlobalPlusProductList get an upgradeable global plus product list
// Path: /product/global/semi/avaible/get
GetUpgradableGlobalPlusProductList(ctx context.Context) (*GetUpgradableGlobalPlusProductListResponse, error)
// SemiProductUpdate SemiProductUpdate
// Path: /product/global/semi/update
SemiProductUpdate(ctx context.Context) (*SemiProductUpdateResponse, error)
// SemiProductUpgrade SemiProductUpgrade
// Path: /product/global/semi/upgrade
SemiProductUpgrade(ctx context.Context) (*SemiProductUpgradeResponse, error)
// UpdateGlobalProductAttribute update global product attribute (For cross boarder sellers only)
// Path: /product/global/attribute/update
UpdateGlobalProductAttribute(ctx context.Context) (*UpdateGlobalProductAttributeResponse, error)
// UpdateProductStatus product up shelf or down shelf,(CrossBoarderSellersOnly)
// Path: /product/global/update/status
UpdateProductStatus(ctx context.Context) (*UpdateProductStatusResponse, error)
}
type CrossBoarderProductServiceOp ¶
type CrossBoarderProductServiceOp[T any] struct { // contains filtered or unexported fields }
func (*CrossBoarderProductServiceOp[T]) CreateGlobalProduct ¶
func (s *CrossBoarderProductServiceOp[T]) CreateGlobalProduct(ctx context.Context) (*CreateGlobalProductResponse, error)
CreateGlobalProduct Use this API to create a single new global product to multiple Lazada sites. (For cross boarder sellers ONLY) Path: /product/global/create
func (*CrossBoarderProductServiceOp[T]) DeleteMerchantProduct ¶
func (s *CrossBoarderProductServiceOp[T]) DeleteMerchantProduct(ctx context.Context) (*DeleteMerchantProductResponse, error)
DeleteMerchantProduct Use this API to delete the product。(CrossBoarderSellersOnly) Path: /product/global/delete
func (*CrossBoarderProductServiceOp[T]) GetGlobalProductExtension ¶
func (s *CrossBoarderProductServiceOp[T]) GetGlobalProductExtension(ctx context.Context) (*GetGlobalProductExtensionResponse, error)
GetGlobalProductExtension Use this API to query the extension info of the specified global product. (CrossBoarderSellersOnly) Path: /product/global/extension
func (*CrossBoarderProductServiceOp[T]) GetGlobalProductStatus ¶
func (s *CrossBoarderProductServiceOp[T]) GetGlobalProductStatus(ctx context.Context) (*GetGlobalProductStatusResponse, error)
GetGlobalProductStatus Use this API to query the status of the specified global product. It takes several minutes for the global product to be created on each site. (CrossBoarderSellersOnly) Path: /product/global/status/get
func (*CrossBoarderProductServiceOp[T]) GetRecommendPrice ¶
func (s *CrossBoarderProductServiceOp[T]) GetRecommendPrice(ctx context.Context) (*GetRecommendPriceResponse, error)
GetRecommendPrice get recommend price Path: /product/global/semi/recommend/price/get
func (*CrossBoarderProductServiceOp[T]) GetUnfilledAttribute ¶
func (s *CrossBoarderProductServiceOp[T]) GetUnfilledAttribute(ctx context.Context) (*GetUnfilledAttributeResponse, error)
GetUnfilledAttribute get the product which have attribute not filled (for cross boarder sellers Only) Path: /product/global/unfilled/attribute/get
func (*CrossBoarderProductServiceOp[T]) GetUpgradableGlobalPlusProductList ¶
func (s *CrossBoarderProductServiceOp[T]) GetUpgradableGlobalPlusProductList(ctx context.Context) (*GetUpgradableGlobalPlusProductListResponse, error)
GetUpgradableGlobalPlusProductList get an upgradeable global plus product list Path: /product/global/semi/avaible/get
func (*CrossBoarderProductServiceOp[T]) SemiProductUpdate ¶
func (s *CrossBoarderProductServiceOp[T]) SemiProductUpdate(ctx context.Context) (*SemiProductUpdateResponse, error)
SemiProductUpdate SemiProductUpdate Path: /product/global/semi/update
func (*CrossBoarderProductServiceOp[T]) SemiProductUpgrade ¶
func (s *CrossBoarderProductServiceOp[T]) SemiProductUpgrade(ctx context.Context) (*SemiProductUpgradeResponse, error)
SemiProductUpgrade SemiProductUpgrade Path: /product/global/semi/upgrade
func (*CrossBoarderProductServiceOp[T]) UpdateGlobalProductAttribute ¶
func (s *CrossBoarderProductServiceOp[T]) UpdateGlobalProductAttribute(ctx context.Context) (*UpdateGlobalProductAttributeResponse, error)
UpdateGlobalProductAttribute update global product attribute (For cross boarder sellers only) Path: /product/global/attribute/update
func (*CrossBoarderProductServiceOp[T]) UpdateProductStatus ¶
func (s *CrossBoarderProductServiceOp[T]) UpdateProductStatus(ctx context.Context) (*UpdateProductStatusResponse, error)
UpdateProductStatus product up shelf or down shelf,(CrossBoarderSellersOnly) Path: /product/global/update/status
type DGUtiityPreCreateOrderResponse ¶
type DGUtiityPreCreateOrderResponse struct {
BaseResponse // Common response fields
ResultCode string `json:"resultCode,omitempty"` //
ResultMsg string `json:"resultMsg,omitempty"` //
TradeNo string `json:"tradeNo,omitempty"` //
}
type DGUtilityPreGetPaymentStatusResponse ¶
type DGUtilityPreGetPaymentStatusResponse struct {
BaseResponse // Common response fields
ResultCode string `json:"resultCode,omitempty"` //
ResultMsg string `json:"resultMsg,omitempty"` //
}
type DGUtilityPreUpdateFulfillemtStatusResponse ¶
type DGUtilityPreUpdateFulfillemtStatusResponse struct {
BaseResponse // Common response fields
ResultCode string `json:"resultCode,omitempty"` //
ResultMsg string `json:"resultMsg,omitempty"` //
}
type Data ¶ added in v0.1.2
type Data struct {
ErrorMessage string `json:"error_message"` // [Required]
PickupNo string `json:"pickup_no"` // [Required]
AllowDateRange []interface{} `json:"allow_date_range"` // [Required]
PurchaseOrderNo string `json:"purchase_order_no"` // [Required]
Status string `json:"status"` // [Required]
}
type DataGiftSkus ¶ added in v0.1.2
type DataItems ¶ added in v0.1.2
type DataItems struct {
Score string `json:"score"` // [Required]
Total int64 `json:"total"` // [Required]
ItemTitle string `json:"itemTitle"` // [Required]
Label string `json:"label"` // [Required]
Indicators []Indicators `json:"indicators"` // [Required]
ImageList []Image `json:"imageList"` // [Required]
Key string `json:"key"` // [Required]
Group string `json:"group"` // [Required]
Latest string `json:"latest"` // [Required]
}
type DataPageInfo ¶ added in v0.1.2
type DataSource ¶ added in v0.1.2
type DataSource struct {
MessageContent *MessageContent `json:"message_content"` // [Required]
Id int64 `json:"id"` // [Required]
Time string `json:"time"` // [Required]
}
type DeactivateFlexiComboResponse ¶
type DeactivateFlexiComboResponse struct {
BaseResponse // Common response fields
}
type DeactivateProductResponse ¶
type DeactivateProductResponse struct {
BaseResponse // Common response fields
}
type DefaultClient ¶
func NewDefaultClient ¶
func NewDefaultClient(app App, opts ...DefaultOption) *DefaultClient
type DefaultOption ¶
func WithHTTPClientDefault ¶
func WithHTTPClientDefault(client *http.Client) DefaultOption
func WithLoggerDefault ¶
func WithLoggerDefault(logger LeveledLoggerInterface) DefaultOption
func WithMetaDefault ¶
func WithMetaDefault(meta any) DefaultOption
func WithOnTokenRefreshDefault ¶
func WithOnTokenRefreshDefault(fn func(res *RefreshAccessTokenResponse, meta any)) DefaultOption
func WithProxyDefault ¶
func WithProxyDefault(proxyHost string) DefaultOption
func WithRefreshTokenDefault ¶
func WithRefreshTokenDefault(refreshToken string) DefaultOption
func WithRetryDefault ¶
func WithRetryDefault(retries int) DefaultOption
type DeleteAdgroupBatchResponse ¶
type DeleteAdgroupBatchResponse struct {
BaseResponse // Common response fields
AnalyseTraceId string `json:"analyseTraceId,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
Result string `json:"result,omitempty"` //
}
type DeleteCampaignResponse ¶
type DeleteCampaignResponse struct {
BaseResponse // Common response fields
AnalyseTraceId string `json:"analyseTraceId,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
Result string `json:"result,omitempty"` //
}
type DeleteFlexiComboProductsResponse ¶
type DeleteFlexiComboProductsResponse struct {
BaseResponse // Common response fields
}
type DeleteIcProductFailResult ¶ added in v0.1.2
type DeleteMerchantProductResponse ¶
type DeleteMerchantProductResponse struct {
BaseResponse // Common response fields
Response DeleteMerchantProductResponseData `json:"data"` // Response data
}
type DeleteMerchantProductResponseData ¶ added in v0.1.2
type DeleteMerchantProductResponseData struct {
DeleteICProductResult string `json:"deleteICProductResult"` // [Required]
DeleteIcProductFailResultList []DeleteIcProductFailResult `json:"deleteIcProductFailResultList"` // [Required]
DeleteGspProductResult string `json:"deleteGspProductResult"` // [Required]
}
type DeleteScannedParcelResponse ¶
type DeleteScannedParcelResponse struct {
BaseResponse // Common response fields
Response string `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type DeliverDigitalResponse ¶
type DeliverDigitalResponse struct {
BaseResponse // Common response fields
Result *DeliverDigitalResponseDataResult `json:"result,omitempty"` //
}
type DeliverDigitalResponseDataResult ¶ added in v0.1.2
type DeliverDigitalResponseDataResult struct {
Data *DeliverDigitalResponseDataResultData `json:"data"` // [Required]
Success bool `json:"success"` // [Required]
ErrorCode string `json:"errorCode"` // [Required]
ErrorMsg string `json:"errorMsg"` // [Required]
}
type DeliverDigitalResponseDataResultData ¶ added in v0.1.2
type DeliverDigitalResponseDataResultData struct {
Orders []Orders `json:"orders"` // [Required]
}
type DigitalAlterOrderStatusResponse ¶
type DigitalAlterOrderStatusResponse struct {
BaseResponse // Common response fields
OrderStatus string `json:"orderStatus,omitempty"` //
PaymentStatus string `json:"paymentStatus,omitempty"` //
ResultCode string `json:"resultCode,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
TransactionId string `json:"transactionId,omitempty"` //
}
type DigitalCreateOrderResponse ¶
type DigitalCreateOrderResponse struct {
BaseResponse // Common response fields
PaymentLink string `json:"paymentLink,omitempty"` //
ResultCode string `json:"resultCode,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
TradeOrderLineId string `json:"tradeOrderLineId,omitempty"` //
TransactionId string `json:"transactionId,omitempty"` //
}
type DigitalQueryOrderResponse ¶
type DigitalQueryOrderResponse struct {
BaseResponse // Common response fields
OrderStatus string `json:"orderStatus,omitempty"` //
PaymentStatus string `json:"paymentStatus,omitempty"` //
ResultCode string `json:"resultCode,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
TransactionId string `json:"transactionId,omitempty"` //
}
type DigitalServiceCdkCodeReceivedResponse ¶
type DigitalServiceCdkCodeReceivedResponse struct {
BaseResponse // Common response fields
ResultCode string `json:"result_code,omitempty"` //
ResultMsg string `json:"result_msg,omitempty"` //
}
type DirectTransferQueryResponse ¶
type DirectTransferQueryResponse struct {
BaseResponse // Common response fields
AccountNumber string `json:"account_number,omitempty"` //
Amount string `json:"amount,omitempty"` //
Deposit string `json:"deposit,omitempty"` //
TransferOrderId string `json:"transfer_order_id,omitempty"` //
TransferRequestId string `json:"transfer_request_id,omitempty"` //
}
type DirectTransferRequestResponse ¶
type DirectTransferRequestResponse struct {
BaseResponse // Common response fields
AccountNumber string `json:"account_number,omitempty"` //
Amount string `json:"amount,omitempty"` //
Deposit string `json:"deposit,omitempty"` //
TransferOrderId string `json:"transfer_order_id,omitempty"` //
TransferRequestId string `json:"transfer_request_id,omitempty"` //
Withdrawable string `json:"withdrawable,omitempty"` //
}
type Document ¶ added in v0.1.2
type Document struct {
File FlexString `json:"file"` // [Required]
MimeType FlexString `json:"mime_type"` // [Required]
DocumentType FlexString `json:"document_type"` // [Required]
}
type DopConfirmInboundResponse ¶
type DopConfirmInboundResponse struct {
BaseResponse // Common response fields
Response string `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type DopCreateScannedParcelResponse ¶
type DopCreateScannedParcelResponse struct {
BaseResponse // Common response fields
Response DopCreateScannedParcelResponseData `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type DopCreateScannedParcelResponseData ¶ added in v0.1.2
type DopCreateScannedParcelResponseData struct {
StationCode string `json:"stationCode"` // [Required]
CreatedAt string `json:"createdAt"` // [Required]
CageNumber string `json:"cageNumber"` // [Required]
SellerName string `json:"sellerName"` // [Required]
TrackingNumber string `json:"trackingNumber"` // [Required]
PickupTplSlug string `json:"pickupTplSlug"` // [Required]
}
type DopDeleteScannedParcelResponse ¶
type DopDeleteScannedParcelResponse struct {
BaseResponse // Common response fields
Response string `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type DopGetInboundedParcelResponse ¶
type DopGetInboundedParcelResponse struct {
BaseResponse // Common response fields
Response DopGetInboundedParcelResponseData `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type DopGetInboundedParcelResponseData ¶ added in v0.1.2
type DopGetInboundedParcelResponseData struct {
CageNumber string `json:"cageNumber"` // [Required]
InboundedAt string `json:"inboundedAt"` // [Required]
OutboundedAt string `json:"outboundedAt"` // [Required]
LostAt string `json:"lostAt"` // [Required]
TrackingNumber string `json:"trackingNumber"` // [Required]
Status string `json:"status"` // [Required]
PickupTplSlug string `json:"pickupTplSlug"` // [Required]
}
type DopGetScannedParcelResponse ¶
type DopGetScannedParcelResponse struct {
BaseResponse // Common response fields
Response DopGetScannedParcelResponseData `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type DopGetScannedParcelResponseData ¶ added in v0.1.2
type DopGetScannedParcelResponseData struct {
StationCode string `json:"stationCode"` // [Required]
CreatedAt string `json:"createdAt"` // [Required]
CageNumber string `json:"cageNumber"` // [Required]
SellerName string `json:"sellerName"` // [Required]
TrackingNumber string `json:"trackingNumber"` // [Required]
PickupTplSlug string `json:"pickupTplSlug"` // [Required]
}
type ETicketsService ¶
type ETicketsService interface {
// GetOrderItemsFromBarCode E-Ticcket certificate query Open API
// Path: /eticket/code/query
GetOrderItemsFromBarCode(ctx context.Context) (*GetOrderItemsFromBarCodeResponse, error)
// GlobalEticketMerchantMaAvailable the callback interface before consume code
// Path: /eticket/ma/available
GlobalEticketMerchantMaAvailable(ctx context.Context) (*GlobalEticketMerchantMaAvailableResponse, error)
// GlobalEticketMerchantMaConsume consume ma
// Path: /eticket/ma/consume
GlobalEticketMerchantMaConsume(ctx context.Context) (*GlobalEticketMerchantMaConsumeResponse, error)
// GlobalEticketMerchantMaFailsend the callback interface when send code failed
// Path: /eticket/ma/failsend
GlobalEticketMerchantMaFailsend(ctx context.Context) (*GlobalEticketMerchantMaFailsendResponse, error)
// GlobalEticketMerchantMaQuery the callback interface that query lazada platform ma
// Path: /eticket/ma/query
GlobalEticketMerchantMaQuery(ctx context.Context) (*GlobalEticketMerchantMaQueryResponse, error)
// GlobalEticketMerchantMaQueryTbMa the callback interface that query tb ma
// Path: /eticket/ma/queryTbMa
GlobalEticketMerchantMaQueryTbMa(ctx context.Context) (*GlobalEticketMerchantMaQueryTbMaResponse, error)
// GlobalEticketMerchantMaSend the callback interface when merchant send code successful
// Path: /eticket/ma/send
GlobalEticketMerchantMaSend(ctx context.Context) (*GlobalEticketMerchantMaSendResponse, error)
// RedeemOrderItems Certificate Consume Open API
// Path: /eticket/code/consume
RedeemOrderItems(ctx context.Context) (*RedeemOrderItemsResponse, error)
}
type ETicketsServiceOp ¶
type ETicketsServiceOp[T any] struct { // contains filtered or unexported fields }
func (*ETicketsServiceOp[T]) GetOrderItemsFromBarCode ¶
func (s *ETicketsServiceOp[T]) GetOrderItemsFromBarCode(ctx context.Context) (*GetOrderItemsFromBarCodeResponse, error)
GetOrderItemsFromBarCode E-Ticcket certificate query Open API Path: /eticket/code/query
func (*ETicketsServiceOp[T]) GlobalEticketMerchantMaAvailable ¶
func (s *ETicketsServiceOp[T]) GlobalEticketMerchantMaAvailable(ctx context.Context) (*GlobalEticketMerchantMaAvailableResponse, error)
GlobalEticketMerchantMaAvailable the callback interface before consume code Path: /eticket/ma/available
func (*ETicketsServiceOp[T]) GlobalEticketMerchantMaConsume ¶
func (s *ETicketsServiceOp[T]) GlobalEticketMerchantMaConsume(ctx context.Context) (*GlobalEticketMerchantMaConsumeResponse, error)
GlobalEticketMerchantMaConsume consume ma Path: /eticket/ma/consume
func (*ETicketsServiceOp[T]) GlobalEticketMerchantMaFailsend ¶
func (s *ETicketsServiceOp[T]) GlobalEticketMerchantMaFailsend(ctx context.Context) (*GlobalEticketMerchantMaFailsendResponse, error)
GlobalEticketMerchantMaFailsend the callback interface when send code failed Path: /eticket/ma/failsend
func (*ETicketsServiceOp[T]) GlobalEticketMerchantMaQuery ¶
func (s *ETicketsServiceOp[T]) GlobalEticketMerchantMaQuery(ctx context.Context) (*GlobalEticketMerchantMaQueryResponse, error)
GlobalEticketMerchantMaQuery the callback interface that query lazada platform ma Path: /eticket/ma/query
func (*ETicketsServiceOp[T]) GlobalEticketMerchantMaQueryTbMa ¶
func (s *ETicketsServiceOp[T]) GlobalEticketMerchantMaQueryTbMa(ctx context.Context) (*GlobalEticketMerchantMaQueryTbMaResponse, error)
GlobalEticketMerchantMaQueryTbMa the callback interface that query tb ma Path: /eticket/ma/queryTbMa
func (*ETicketsServiceOp[T]) GlobalEticketMerchantMaSend ¶
func (s *ETicketsServiceOp[T]) GlobalEticketMerchantMaSend(ctx context.Context) (*GlobalEticketMerchantMaSendResponse, error)
GlobalEticketMerchantMaSend the callback interface when merchant send code successful Path: /eticket/ma/send
func (*ETicketsServiceOp[T]) RedeemOrderItems ¶
func (s *ETicketsServiceOp[T]) RedeemOrderItems(ctx context.Context) (*RedeemOrderItemsResponse, error)
RedeemOrderItems Certificate Consume Open API Path: /eticket/code/consume
type EarlyBirdActivityAddSkusV2Response ¶
type EarlyBirdActivityAddSkusV2Response struct {
BaseResponse // Common response fields
Result *EarlyBirdActivityAddSkusV2ResponseDataResult `json:"result,omitempty"` //
}
type EarlyBirdActivityAddSkusV2ResponseDataResult ¶ added in v0.1.2
type EarlyBirdActivityDeactivateSkusV2Response ¶
type EarlyBirdActivityDeactivateSkusV2Response struct {
BaseResponse // Common response fields
Result *EarlyBirdActivityAddSkusV2ResponseDataResult `json:"result,omitempty"` //
}
type EarlyBirdActivityIsWhitelistSellerResponse ¶
type EarlyBirdActivityIsWhitelistSellerResponse struct {
BaseResponse // Common response fields
Result *CreateEarlyBirdActivityV2ResponseDataResult `json:"result,omitempty"` //
}
type EarlyBirdPriceService ¶
type EarlyBirdPriceService interface {
// CreateEarlyBirdActivityV2 early bird price activity create
// Path: /activity/early/bird/create/v2
CreateEarlyBirdActivityV2(ctx context.Context) (*CreateEarlyBirdActivityV2Response, error)
// EarlyBirdActivityAddSkusV2 add skus for early bird activity
// Path: /activity/early/bird/addSkus/v2
EarlyBirdActivityAddSkusV2(ctx context.Context) (*EarlyBirdActivityAddSkusV2Response, error)
// EarlyBirdActivityDeactivateSkusV2 deactivate Skus for early bird acivity
// Path: /activity/early/bird/deactivateSkus/v2
EarlyBirdActivityDeactivateSkusV2(ctx context.Context) (*EarlyBirdActivityDeactivateSkusV2Response, error)
// EarlyBirdActivityIsWhitelistSeller is whitelist seller for early bird acivity
// Path: /activity/early/bird/isWhitelistSeller
EarlyBirdActivityIsWhitelistSeller(ctx context.Context) (*EarlyBirdActivityIsWhitelistSellerResponse, error)
}
type EarlyBirdPriceServiceOp ¶
type EarlyBirdPriceServiceOp[T any] struct { // contains filtered or unexported fields }
func (*EarlyBirdPriceServiceOp[T]) CreateEarlyBirdActivityV2 ¶
func (s *EarlyBirdPriceServiceOp[T]) CreateEarlyBirdActivityV2(ctx context.Context) (*CreateEarlyBirdActivityV2Response, error)
CreateEarlyBirdActivityV2 early bird price activity create Path: /activity/early/bird/create/v2
func (*EarlyBirdPriceServiceOp[T]) EarlyBirdActivityAddSkusV2 ¶
func (s *EarlyBirdPriceServiceOp[T]) EarlyBirdActivityAddSkusV2(ctx context.Context) (*EarlyBirdActivityAddSkusV2Response, error)
EarlyBirdActivityAddSkusV2 add skus for early bird activity Path: /activity/early/bird/addSkus/v2
func (*EarlyBirdPriceServiceOp[T]) EarlyBirdActivityDeactivateSkusV2 ¶
func (s *EarlyBirdPriceServiceOp[T]) EarlyBirdActivityDeactivateSkusV2(ctx context.Context) (*EarlyBirdActivityDeactivateSkusV2Response, error)
EarlyBirdActivityDeactivateSkusV2 deactivate Skus for early bird acivity Path: /activity/early/bird/deactivateSkus/v2
func (*EarlyBirdPriceServiceOp[T]) EarlyBirdActivityIsWhitelistSeller ¶
func (s *EarlyBirdPriceServiceOp[T]) EarlyBirdActivityIsWhitelistSeller(ctx context.Context) (*EarlyBirdActivityIsWhitelistSellerResponse, error)
EarlyBirdActivityIsWhitelistSeller is whitelist seller for early bird acivity Path: /activity/early/bird/isWhitelistSeller
type EditChoiceSkuStockResponse ¶
type EditChoiceSkuStockResponse struct {
BaseResponse // Common response fields
Response EditChoiceSkuStockResponseData `json:"data"` // Response data
}
type EditChoiceSkuStockResponseData ¶ added in v0.1.2
type EditChoiceSkuStockResponseData struct {
SuccessSku []string `json:"success_sku"` // [Required]
FailedSku []interface{} `json:"failed_sku"` // [Required]
}
type EpisGetDeliveryOptionsResponse ¶
type EpisGetDeliveryOptionsResponse struct {
BaseResponse // Common response fields
Response EpisGetDeliveryOptionsResponseData `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMessage string `json:"errorMessage,omitempty"` //
Errors []Errors `json:"errors,omitempty"` //
Retryable string `json:"retryable,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type EpisGetDeliveryOptionsResponseData ¶ added in v0.1.2
type EpisGetDeliveryOptionsResponseData struct {
LastMileShippingProvider string `json:"lastMileShippingProvider"` // [Required]
FirstMileShippingProviderSlug string `json:"firstMileShippingProviderSlug"` // [Required]
FirstMileDeliveryType string `json:"firstMileDeliveryType"` // [Required]
FirstMileShippingProvider string `json:"firstMileShippingProvider"` // [Required]
DeliveryOption string `json:"deliveryOption"` // [Required]
PickupTargetCutoffTime string `json:"pickupTargetCutoffTime"` // [Required]
LastMileShippingProviderSlug string `json:"lastMileShippingProviderSlug"` // [Required]
}
type EpisPackageCancellationResponse ¶
type EpisPackageCancellationResponse struct {
BaseResponse // Common response fields
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMessage string `json:"errorMessage,omitempty"` //
Errors []Errors `json:"errors,omitempty"` //
Retryable string `json:"retryable,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type EpisPackageCancellationV3Response ¶
type EpisPackageCancellationV3Response struct {
BaseResponse // Common response fields
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMessage string `json:"errorMessage,omitempty"` //
Errors []Errors `json:"errors,omitempty"` //
Retryable string `json:"retryable,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type EpisPackageConsignmentResponse ¶
type EpisPackageConsignmentResponse struct {
BaseResponse // Common response fields
Response EpisPackageConsignmentResponseData `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMessage string `json:"errorMessage,omitempty"` //
Errors []Errors `json:"errors,omitempty"` //
Retryable string `json:"retryable,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type EpisPackageConsignmentResponseData ¶ added in v0.1.2
type EpisPackageConsignmentResponseData struct {
RouteCode string `json:"routeCode"` // [Required]
LastMileShippingProvider *LastMileShippingProvider `json:"lastMileShippingProvider"` // [Required]
AoiName string `json:"aoiName"` // [Required]
Origin *ConvertedAddress `json:"origin"` // [Required]
Options *Options `json:"options"` // [Required]
AppliedVas *AppliedVas `json:"appliedVas"` // [Required]
Destination *ConvertedAddress `json:"destination"` // [Required]
FirstMileShippingProvider *LastMileShippingProvider `json:"firstMileShippingProvider"` // [Required]
PortCode string `json:"portCode"` // [Required]
TrackingNumber string `json:"trackingNumber"` // [Required]
}
type EpisPackageConsignmentV2Response ¶
type EpisPackageConsignmentV2Response struct {
BaseResponse // Common response fields
Response EpisPackageConsignmentV2ResponseData `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMessage string `json:"errorMessage,omitempty"` //
Errors []Errors `json:"errors,omitempty"` //
Retryable string `json:"retryable,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type EpisPackageConsignmentV2ResponseData ¶ added in v0.1.2
type EpisPackageConsignmentV2ResponseData struct {
RouteCode string `json:"routeCode"` // [Required]
LogisticsOrderId string `json:"logisticsOrderId"` // [Required]
LastMileShippingProvider *LastMileShippingProvider `json:"lastMileShippingProvider"` // [Required]
AoiName string `json:"aoiName"` // [Required]
Origin *ConvertedAddress `json:"origin"` // [Required]
Options *Options `json:"options"` // [Required]
AppliedVas *AppliedVas `json:"appliedVas"` // [Required]
Destination *ConvertedAddress `json:"destination"` // [Required]
FirstMileShippingProvider *LastMileShippingProvider `json:"firstMileShippingProvider"` // [Required]
PortCode string `json:"portCode"` // [Required]
TrackingNumber string `json:"trackingNumber"` // [Required]
}
type EpisPackageCreationResponse ¶
type EpisPackageCreationResponse struct {
BaseResponse // Common response fields
Response EpisPackageCreationResponseData `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMessage string `json:"errorMessage,omitempty"` //
Errors []Errors `json:"errors,omitempty"` //
Retryable string `json:"retryable,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type EpisPackageCreationResponseData ¶ added in v0.1.2
type EpisPackageCreationResponseData struct {
RouteCode string `json:"routeCode"` // [Required]
MaxEta string `json:"maxEta"` // [Required]
LastMileShippingProvider *LastMileShippingProvider `json:"lastMileShippingProvider"` // [Required]
Origin *ConvertedAddress `json:"origin"` // [Required]
Destination *ConvertedAddress `json:"destination"` // [Required]
FirstMileShippingProvider *LastMileShippingProvider `json:"firstMileShippingProvider"` // [Required]
PortCode string `json:"portCode"` // [Required]
AoiName string `json:"aoiName"` // [Required]
PackageCode string `json:"packageCode"` // [Required]
Options *Options `json:"options"` // [Required]
AppliedVas *AppliedVas `json:"appliedVas"` // [Required]
MinEta string `json:"minEta"` // [Required]
TrackingNumber string `json:"trackingNumber"` // [Required]
}
type EpisPackageInfoUpdateResponse ¶
type EpisPackageInfoUpdateResponse struct {
BaseResponse // Common response fields
Response EpisPackageInfoUpdateResponseData `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMessage string `json:"errorMessage,omitempty"` //
Errors []ResponseDataErrors `json:"errors,omitempty"` //
Retryable string `json:"retryable,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type EpisPackageInfoUpdateResponseData ¶ added in v0.1.2
type EpisPackageInfoUpdateResponseData struct {
ConvertedAddress *ResponseDataConvertedAddress `json:"convertedAddress"` // [Required]
}
type EpisPackagePrintAwbResponse ¶
type EpisPackagePrintAwbResponse struct {
BaseResponse // Common response fields
Response EpisPackagePrintAwbResponseData `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMessage string `json:"errorMessage,omitempty"` //
Errors []Errors `json:"errors,omitempty"` //
Retryable string `json:"retryable,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type EpisPackagePrintAwbResponseData ¶ added in v0.1.2
type EpisPackagePrintAwbResponseData struct {
Url string `json:"url"` // [Required]
}
type EpisPackageReAttemptResponse ¶
type EpisPackageReAttemptResponse struct {
BaseResponse // Common response fields
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMessage string `json:"errorMessage,omitempty"` //
Retryable string `json:"retryable,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type EpisPackageReadyToBeShippedResponse ¶
type EpisPackageReadyToBeShippedResponse struct {
BaseResponse // Common response fields
Response EpisPackageReadyToBeShippedResponseData `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMessage string `json:"errorMessage,omitempty"` //
Errors []EpisPackageReadyToBeShippedResponseDataErrors `json:"errors,omitempty"` //
Retryable string `json:"retryable,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type EpisPackageReadyToBeShippedResponseData ¶ added in v0.1.2
type EpisPackageReadyToBeShippedResponseData struct {
RouteCode string `json:"routeCode"` // [Required]
MaxEta string `json:"maxEta"` // [Required]
LastMileShippingProvider interface{} `json:"lastMileShippingProvider"` // [Required]
PackageCode string `json:"packageCode"` // [Required]
Options *Options `json:"options"` // [Required]
AppliedVas *AppliedVas `json:"appliedVas"` // [Required]
FirstMileShippingProvider *LastMileShippingProvider `json:"firstMileShippingProvider"` // [Required]
MinEta string `json:"minEta"` // [Required]
PortCode string `json:"portCode"` // [Required]
TrackingNumber string `json:"trackingNumber"` // [Required]
}
type EpisPackageReadyToBeShippedResponseDataErrors ¶ added in v0.1.2
type EpisPackageReadyToBeShippedResponseDataErrors struct {
Field string `json:"field"` // [Required]
}
type EpisUploadAwbFulfillmentResponse ¶
type EpisUploadAwbFulfillmentResponse struct {
BaseResponse // Common response fields
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMessage string `json:"errorMessage,omitempty"` //
Errors []Errors `json:"errors,omitempty"` //
Retryable string `json:"retryable,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type EpisXspaceCreateResponse ¶
type EpisXspaceCreateResponse struct {
BaseResponse // Common response fields
Response EpisXspaceCreateResponseData `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMessage string `json:"errorMessage,omitempty"` //
Retryable string `json:"retryable,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type EpisXspaceCreateResponseData ¶ added in v0.1.2
type EpisXspaceCreateResponseData struct {
CaseId string `json:"caseId"` // [Required]
}
type EpisXspaceGetDetailResponse ¶
type EpisXspaceGetDetailResponse struct {
BaseResponse // Common response fields
Response EpisXspaceGetDetailResponseData `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMessage string `json:"errorMessage,omitempty"` //
Retryable string `json:"retryable,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type EpisXspaceGetDetailResponseData ¶ added in v0.1.2
type EpisXspaceGetDetailResponseData struct {
GmtModified string `json:"gmtModified"` // [Required]
Attachments string `json:"attachments"` // [Required]
OrderId string `json:"orderId"` // [Required]
Subject string `json:"subject"` // [Required]
ContactName string `json:"contactName"` // [Required]
BuyerEmail string `json:"buyerEmail"` // [Required]
SellerName string `json:"sellerName"` // [Required]
Description string `json:"description"` // [Required]
BuyerName string `json:"buyerName"` // [Required]
GmtCreate string `json:"gmtCreate"` // [Required]
RatingStar string `json:"ratingStar"` // [Required]
GmtDeleted string `json:"gmtDeleted"` // [Required]
Mails []interface{} `json:"mails"` // [Required]
RatingRemark string `json:"ratingRemark"` // [Required]
MerchantId string `json:"merchantId"` // [Required]
CaseId string `json:"caseId"` // [Required]
CaseTemplateId string `json:"caseTemplateId"` // [Required]
SellerPhoneNo string `json:"sellerPhoneNo"` // [Required]
Attributes string `json:"attributes"` // [Required]
Actions []interface{} `json:"actions"` // [Required]
RatingReasons []string `json:"ratingReasons"` // [Required]
TrackingNumber string `json:"trackingNumber"` // [Required]
CategoryId string `json:"categoryId"` // [Required]
Status string `json:"status"` // [Required]
}
type EpisXspaceQueryResponse ¶
type EpisXspaceQueryResponse struct {
BaseResponse // Common response fields
Response EpisXspaceQueryResponseData `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMessage string `json:"errorMessage,omitempty"` //
Retryable string `json:"retryable,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type EpisXspaceQueryResponseData ¶ added in v0.1.2
type EpisXspaceRateTicketResponse ¶
type EpisXspaceRateTicketResponse struct {
BaseResponse // Common response fields
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMessage string `json:"errorMessage,omitempty"` //
Retryable string `json:"retryable,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type Error ¶ added in v0.1.2
type Error struct {
ErrorCode string `json:"errorCode"` // [Required]
}
type EstimateShippingFeeResponse ¶
type EstimateShippingFeeResponse struct {
BaseResponse // Common response fields
Response EstimateShippingFeeResponseData `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMessage string `json:"errorMessage,omitempty"` //
Errors []Errors `json:"errors,omitempty"` //
Retryable string `json:"retryable,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type EstimateShippingFeeResponseData ¶ added in v0.1.2
type EstimateShippingFeeResponseData struct {
TransactionType string `json:"transactionType"` // [Required]
Amount string `json:"amount"` // [Required]
Currency string `json:"currency"` // [Required]
TransactionName string `json:"transactionName"` // [Required]
TaxAmount string `json:"taxAmount"` // [Required]
TransactionId string `json:"transactionId"` // [Required]
}
type FBLService ¶
type FBLService interface {
// BuildFulfillmentSkuRelation build the relation between platformSku and fulfillmentSku
// Path: /fbl/fulfillment_sku_relation/write
BuildFulfillmentSkuRelation(ctx context.Context) (*BuildFulfillmentSkuRelationResponse, error)
// CancelFulfillmentOrderForMCL Cancel Fulfillment Order
// Path: /fbl/fulfillment_order/cancel
CancelFulfillmentOrderForMCL(ctx context.Context) (*CancelFulfillmentOrderForMCLResponse, error)
// CancelInboundReservation cancel reservation order
// Path: /fbl/inbound_reservation/cancel
CancelInboundReservation(ctx context.Context) (*CancelInboundReservationResponse, error)
// CancelnBoundOrder Cancel inbound order
// Path: /fbl/inbound_order/cancel
CancelnBoundOrder(ctx context.Context) (*CancelnBoundOrderResponse, error)
// CancelOutboundOrder Cancel outbound order
// Path: /fbl/outbound_order/cancel
CancelOutboundOrder(ctx context.Context) (*CancelOutboundOrderResponse, error)
// CancelVasOrder4FBL 取消增值服务
// Path: /fbl/vas/cancelVasOrder
CancelVasOrder4FBL(ctx context.Context) (*CancelVasOrder4FBLResponse, error)
// CheckInboundReservationSlot Check Available Reservation Slots for Inbound Order
// Path: /fbl/inbound_reservation/check
CheckInboundReservationSlot(ctx context.Context) (*CheckInboundReservationSlotResponse, error)
// CreateFulfillmentOrderForMCL Create Fulfillment Order
// Path: /fbl/fulfillment_order/create
CreateFulfillmentOrderForMCL(ctx context.Context) (*CreateFulfillmentOrderForMCLResponse, error)
// CreateFulfillmentOrderForMCLV2PNF Create Fulfillment Order for MCL2.0 PNF
// Path: /fbl/fulfillment_order_pnf/create
CreateFulfillmentOrderForMCLV2PNF(ctx context.Context) (*CreateFulfillmentOrderForMCLV2PNFResponse, error)
// CreateFulfillmentSkuDecouple create fulfillment sku without product
// Path: /fbl/fulfillment_sku/create
CreateFulfillmentSkuDecouple(ctx context.Context) (*CreateFulfillmentSkuDecoupleResponse, error)
// CreateFulfillmentSkuForFBL create fulfillment sku for specified platform product
// Path: /fbl/fulfillment_sku_fbl/create
CreateFulfillmentSkuForFBL(ctx context.Context) (*CreateFulfillmentSkuForFBLResponse, error)
// CreateInboundOrder Create inbound order
// Path: /fbl/inbound_order/create
CreateInboundOrder(ctx context.Context) (*CreateInboundOrderResponse, error)
// CreateInboundReservation create reservation order
// Path: /fbl/inbound_reservation/create
CreateInboundReservation(ctx context.Context) (*CreateInboundReservationResponse, error)
// CreateOutBoundOrder Create outbound order
// Path: /fbl/outbound_order/create
CreateOutBoundOrder(ctx context.Context) (*CreateOutBoundOrderResponse, error)
// CreateProductReinboundOrderForMCL Create Product Reinbound Order on Failed Delivery for MCL
// Path: /fbl/product_reinbound/create
CreateProductReinboundOrderForMCL(ctx context.Context) (*CreateProductReinboundOrderForMCLResponse, error)
// CreateVasOrder4FBL FBL增值服务创建
// Path: /fbl/vas/createVasOrder
CreateVasOrder4FBL(ctx context.Context) (*CreateVasOrder4FBLResponse, error)
// GetChannelStocksForMCL Query Channel Stocks
// Path: /fbl/channel_stocks/get
GetChannelStocksForMCL(ctx context.Context) (*GetChannelStocksForMCLResponse, error)
// GetFulfillmentProductDetail GET fulfillment product Detail;Call Get Platform Products for fulfillment_sku first
// Path: /fbl/fulfillment_products/get
GetFulfillmentProductDetail(ctx context.Context) (*GetFulfillmentProductDetailResponse, error)
// GetFulfillmentSkuListForMCL Get Fulfillment SKU List for LAZADA Partner
// Path: /fbl/fulfillment_sku_list/get
GetFulfillmentSkuListForMCL(ctx context.Context) (*GetFulfillmentSkuListForMCLResponse, error)
// GetFulfillmentSkuRelationByScItem get the relation between platformSku and fulfillmentSku by scItem
// Path: /fbl/fulfillment_sku_relation/get_by_sc_item
GetFulfillmentSkuRelationByScItem(ctx context.Context) (*GetFulfillmentSkuRelationByScItemResponse, error)
// GetFulfillmentSkuRelationBySku get the relation between platformSku and fulfillmentSku by sku
// Path: /fbl/fulfillment_sku_relation/get_by_sku
GetFulfillmentSkuRelationBySku(ctx context.Context) (*GetFulfillmentSkuRelationBySkuResponse, error)
// GetFulfillmentSkuRelationsByScItems get fulfillmentSku Relations By ScItems
// Path: /fbl/fulfillment_sku_relation/get_by_sc_items
GetFulfillmentSkuRelationsByScItems(ctx context.Context) (*GetFulfillmentSkuRelationsByScItemsResponse, error)
// GetFulfillmentSkuRelationsBySkus get fulfillmentSku Relations By Skus
// Path: /fbl/fulfillment_sku_relation/get_by_skus
GetFulfillmentSkuRelationsBySkus(ctx context.Context) (*GetFulfillmentSkuRelationsBySkusResponse, error)
// GetIcpOrderFile Get Inbound/Outbound order print PDF file
// Path: /fbl/icp_order/file
GetIcpOrderFile(ctx context.Context) (*GetIcpOrderFileResponse, error)
// GetInboundOrderDetail Use this API to get the Inbound Order Detail
// Path: /fbl/inbound_order_detail/get
GetInboundOrderDetail(ctx context.Context) (*GetInboundOrderDetailResponse, error)
// GetInboundOrderList Use this API to get inbound order list
// Path: /fbl/inbound_orders/get
GetInboundOrderList(ctx context.Context) (*GetInboundOrderListResponse, error)
// GetInboundReservationFile get inbound reservation order file
// Path: /fbl/inbound_reservation/file
GetInboundReservationFile(ctx context.Context) (*GetInboundReservationFileResponse, error)
// GetInventoryChangedSKU Use this API to get SKU list
// Path: /fbl/inventory_changed_sku/get
GetInventoryChangedSKU(ctx context.Context) (*GetInventoryChangedSKUResponse, error)
// GetInventoryOccupyDetails Use this API to get a sku's inventory occupy details
// Path: /fbl/inventory_occupy_details/get
GetInventoryOccupyDetails(ctx context.Context) (*GetInventoryOccupyDetailsResponse, error)
// GetInventoryOperateLog Use this API to get a sku's inventory operate log
// Path: /fbl/inventory_operate_log/get
GetInventoryOperateLog(ctx context.Context) (*GetInventoryOperateLogResponse, error)
// GetOutboundOrderDetail Use this API to Get outbound order detail; shoud call GetOutboundOrderList for outbound_order_no first
// Path: /fbl/outbound_order_detail/get
GetOutboundOrderDetail(ctx context.Context) (*GetOutboundOrderDetailResponse, error)
// GetOutboundOrderList Use this API to get outbound order list
// Path: /fbl/outbound_orders/get
GetOutboundOrderList(ctx context.Context) (*GetOutboundOrderListResponse, error)
// GetPlatformProductsV2 Search products list
// Path: /fbl/platform_products/get2
GetPlatformProductsV2(ctx context.Context) (*GetPlatformProductsV2Response, error)
// GetProductBatchList query product batch list
// Path: /fbl/product_batch/query
GetProductBatchList(ctx context.Context) (*GetProductBatchListResponse, error)
// GetShipperInfo Get Shipper Info for LAZADA Partner
// Path: /fbl/shipper/get
GetShipperInfo(ctx context.Context) (*GetShipperInfoResponse, error)
// GetStockRule Get SKU stock rule by sku and warehouse
// Path: /fbl/stock_rule/get
GetStockRule(ctx context.Context) (*GetStockRuleResponse, error)
// GetVasOrderByNo4FBL get vasOrder by orderNo
// Path: /fbl/vas/getVasOrderByNo
GetVasOrderByNo4FBL(ctx context.Context) (*GetVasOrderByNo4FBLResponse, error)
// GetWarehouseListForMCL Get Warehouse List By Country And Multi-Channel
// Path: /fbl/warehouses/get
GetWarehouseListForMCL(ctx context.Context) (*GetWarehouseListForMCLResponse, error)
// GetWarehouseStock Get SKU list and stock by warehouse code
// Path: /fbl/stocks/get
GetWarehouseStock(ctx context.Context) (*GetWarehouseStockResponse, error)
// GetWarehouseStockV3 Get SKU list and stock by warehouse code, this version separates pending inbound and stock in transit in return json.
// Path: /fbl/stocks/getV3
GetWarehouseStockV3(ctx context.Context) (*GetWarehouseStockV3Response, error)
// ListIcpWarehouse List warehouses for create InboundOrder and outboundOrder
// Path: /fbl/icp_warehouse/list
ListIcpWarehouse(ctx context.Context) (*ListIcpWarehouseResponse, error)
// QueryFulfillmentOrderForMCL Query list of Fulfillment Orders by shipper
// Path: /fbl/fulfillment_order_list/get
QueryFulfillmentOrderForMCL(ctx context.Context) (*QueryFulfillmentOrderForMCLResponse, error)
// QueryInboundBatch query inbound batch
// Path: /fbl/inbound_batch/query
QueryInboundBatch(ctx context.Context) (*QueryInboundBatchResponse, error)
// QueryInboundReservationOrder get inbound reservation order
// Path: /fbl/inbound_reservation/get
QueryInboundReservationOrder(ctx context.Context) (*QueryInboundReservationOrderResponse, error)
// QueryReverseOrderForMCL Query Reverse Order for MCL
// Path: /fbl/reverse_order/get
QueryReverseOrderForMCL(ctx context.Context) (*QueryReverseOrderForMCLResponse, error)
// RemoveFulfillmentSkuRelation remove the relation between platformSku and fulfillmentSku
// Path: /fbl/fulfillment_sku_relation/remove
RemoveFulfillmentSkuRelation(ctx context.Context) (*RemoveFulfillmentSkuRelationResponse, error)
// ReturnCancellation Return order cancellation
// Path: /fbl/returns/cancel
ReturnCancellation(ctx context.Context) (*ReturnCancellationResponse, error)
// ReturnOrderCreation Api to create customer returns
// Path: /fbl/returns/create
ReturnOrderCreation(ctx context.Context) (*ReturnOrderCreationResponse, error)
// SetStockRule set channel ratio by sku and warehouse
// Path: /fbl/stock_rule/set
SetStockRule(ctx context.Context) (*SetStockRuleResponse, error)
// UpdateFulfillmentSkuDecouple update fulfillment sku without product
// Path: /fbl/fulfillment_sku/update
UpdateFulfillmentSkuDecouple(ctx context.Context) (*UpdateFulfillmentSkuDecoupleResponse, error)
// UploadWaybill Use this API to upload a waybill pdf to Lazada site. The maximum size of an pdf file is 1MB.
// Path: /fbl/waybill/upload
UploadWaybill(ctx context.Context, filename string, reader io.Reader) (*UploadWaybillResponse, error)
}
type FBLServiceOp ¶
type FBLServiceOp[T any] struct { // contains filtered or unexported fields }
func (*FBLServiceOp[T]) BuildFulfillmentSkuRelation ¶
func (s *FBLServiceOp[T]) BuildFulfillmentSkuRelation(ctx context.Context) (*BuildFulfillmentSkuRelationResponse, error)
BuildFulfillmentSkuRelation build the relation between platformSku and fulfillmentSku Path: /fbl/fulfillment_sku_relation/write
func (*FBLServiceOp[T]) CancelFulfillmentOrderForMCL ¶
func (s *FBLServiceOp[T]) CancelFulfillmentOrderForMCL(ctx context.Context) (*CancelFulfillmentOrderForMCLResponse, error)
CancelFulfillmentOrderForMCL Cancel Fulfillment Order Path: /fbl/fulfillment_order/cancel
func (*FBLServiceOp[T]) CancelInboundReservation ¶
func (s *FBLServiceOp[T]) CancelInboundReservation(ctx context.Context) (*CancelInboundReservationResponse, error)
CancelInboundReservation cancel reservation order Path: /fbl/inbound_reservation/cancel
func (*FBLServiceOp[T]) CancelOutboundOrder ¶
func (s *FBLServiceOp[T]) CancelOutboundOrder(ctx context.Context) (*CancelOutboundOrderResponse, error)
CancelOutboundOrder Cancel outbound order Path: /fbl/outbound_order/cancel
func (*FBLServiceOp[T]) CancelVasOrder4FBL ¶
func (s *FBLServiceOp[T]) CancelVasOrder4FBL(ctx context.Context) (*CancelVasOrder4FBLResponse, error)
CancelVasOrder4FBL 取消增值服务 Path: /fbl/vas/cancelVasOrder
func (*FBLServiceOp[T]) CancelnBoundOrder ¶
func (s *FBLServiceOp[T]) CancelnBoundOrder(ctx context.Context) (*CancelnBoundOrderResponse, error)
CancelnBoundOrder Cancel inbound order Path: /fbl/inbound_order/cancel
func (*FBLServiceOp[T]) CheckInboundReservationSlot ¶
func (s *FBLServiceOp[T]) CheckInboundReservationSlot(ctx context.Context) (*CheckInboundReservationSlotResponse, error)
CheckInboundReservationSlot Check Available Reservation Slots for Inbound Order Path: /fbl/inbound_reservation/check
func (*FBLServiceOp[T]) CreateFulfillmentOrderForMCL ¶
func (s *FBLServiceOp[T]) CreateFulfillmentOrderForMCL(ctx context.Context) (*CreateFulfillmentOrderForMCLResponse, error)
CreateFulfillmentOrderForMCL Create Fulfillment Order Path: /fbl/fulfillment_order/create
func (*FBLServiceOp[T]) CreateFulfillmentOrderForMCLV2PNF ¶
func (s *FBLServiceOp[T]) CreateFulfillmentOrderForMCLV2PNF(ctx context.Context) (*CreateFulfillmentOrderForMCLV2PNFResponse, error)
CreateFulfillmentOrderForMCLV2PNF Create Fulfillment Order for MCL2.0 PNF Path: /fbl/fulfillment_order_pnf/create
func (*FBLServiceOp[T]) CreateFulfillmentSkuDecouple ¶
func (s *FBLServiceOp[T]) CreateFulfillmentSkuDecouple(ctx context.Context) (*CreateFulfillmentSkuDecoupleResponse, error)
CreateFulfillmentSkuDecouple create fulfillment sku without product Path: /fbl/fulfillment_sku/create
func (*FBLServiceOp[T]) CreateFulfillmentSkuForFBL ¶
func (s *FBLServiceOp[T]) CreateFulfillmentSkuForFBL(ctx context.Context) (*CreateFulfillmentSkuForFBLResponse, error)
CreateFulfillmentSkuForFBL create fulfillment sku for specified platform product Path: /fbl/fulfillment_sku_fbl/create
func (*FBLServiceOp[T]) CreateInboundOrder ¶
func (s *FBLServiceOp[T]) CreateInboundOrder(ctx context.Context) (*CreateInboundOrderResponse, error)
CreateInboundOrder Create inbound order Path: /fbl/inbound_order/create
func (*FBLServiceOp[T]) CreateInboundReservation ¶
func (s *FBLServiceOp[T]) CreateInboundReservation(ctx context.Context) (*CreateInboundReservationResponse, error)
CreateInboundReservation create reservation order Path: /fbl/inbound_reservation/create
func (*FBLServiceOp[T]) CreateOutBoundOrder ¶
func (s *FBLServiceOp[T]) CreateOutBoundOrder(ctx context.Context) (*CreateOutBoundOrderResponse, error)
CreateOutBoundOrder Create outbound order Path: /fbl/outbound_order/create
func (*FBLServiceOp[T]) CreateProductReinboundOrderForMCL ¶
func (s *FBLServiceOp[T]) CreateProductReinboundOrderForMCL(ctx context.Context) (*CreateProductReinboundOrderForMCLResponse, error)
CreateProductReinboundOrderForMCL Create Product Reinbound Order on Failed Delivery for MCL Path: /fbl/product_reinbound/create
func (*FBLServiceOp[T]) CreateVasOrder4FBL ¶
func (s *FBLServiceOp[T]) CreateVasOrder4FBL(ctx context.Context) (*CreateVasOrder4FBLResponse, error)
CreateVasOrder4FBL FBL增值服务创建 Path: /fbl/vas/createVasOrder
func (*FBLServiceOp[T]) GetChannelStocksForMCL ¶
func (s *FBLServiceOp[T]) GetChannelStocksForMCL(ctx context.Context) (*GetChannelStocksForMCLResponse, error)
GetChannelStocksForMCL Query Channel Stocks Path: /fbl/channel_stocks/get
func (*FBLServiceOp[T]) GetFulfillmentProductDetail ¶
func (s *FBLServiceOp[T]) GetFulfillmentProductDetail(ctx context.Context) (*GetFulfillmentProductDetailResponse, error)
GetFulfillmentProductDetail GET fulfillment product Detail;Call Get Platform Products for fulfillment_sku first Path: /fbl/fulfillment_products/get
func (*FBLServiceOp[T]) GetFulfillmentSkuListForMCL ¶
func (s *FBLServiceOp[T]) GetFulfillmentSkuListForMCL(ctx context.Context) (*GetFulfillmentSkuListForMCLResponse, error)
GetFulfillmentSkuListForMCL Get Fulfillment SKU List for LAZADA Partner Path: /fbl/fulfillment_sku_list/get
func (*FBLServiceOp[T]) GetFulfillmentSkuRelationByScItem ¶
func (s *FBLServiceOp[T]) GetFulfillmentSkuRelationByScItem(ctx context.Context) (*GetFulfillmentSkuRelationByScItemResponse, error)
GetFulfillmentSkuRelationByScItem get the relation between platformSku and fulfillmentSku by scItem Path: /fbl/fulfillment_sku_relation/get_by_sc_item
func (*FBLServiceOp[T]) GetFulfillmentSkuRelationBySku ¶
func (s *FBLServiceOp[T]) GetFulfillmentSkuRelationBySku(ctx context.Context) (*GetFulfillmentSkuRelationBySkuResponse, error)
GetFulfillmentSkuRelationBySku get the relation between platformSku and fulfillmentSku by sku Path: /fbl/fulfillment_sku_relation/get_by_sku
func (*FBLServiceOp[T]) GetFulfillmentSkuRelationsByScItems ¶
func (s *FBLServiceOp[T]) GetFulfillmentSkuRelationsByScItems(ctx context.Context) (*GetFulfillmentSkuRelationsByScItemsResponse, error)
GetFulfillmentSkuRelationsByScItems get fulfillmentSku Relations By ScItems Path: /fbl/fulfillment_sku_relation/get_by_sc_items
func (*FBLServiceOp[T]) GetFulfillmentSkuRelationsBySkus ¶
func (s *FBLServiceOp[T]) GetFulfillmentSkuRelationsBySkus(ctx context.Context) (*GetFulfillmentSkuRelationsBySkusResponse, error)
GetFulfillmentSkuRelationsBySkus get fulfillmentSku Relations By Skus Path: /fbl/fulfillment_sku_relation/get_by_skus
func (*FBLServiceOp[T]) GetIcpOrderFile ¶
func (s *FBLServiceOp[T]) GetIcpOrderFile(ctx context.Context) (*GetIcpOrderFileResponse, error)
GetIcpOrderFile Get Inbound/Outbound order print PDF file Path: /fbl/icp_order/file
func (*FBLServiceOp[T]) GetInboundOrderDetail ¶
func (s *FBLServiceOp[T]) GetInboundOrderDetail(ctx context.Context) (*GetInboundOrderDetailResponse, error)
GetInboundOrderDetail Use this API to get the Inbound Order Detail Path: /fbl/inbound_order_detail/get
func (*FBLServiceOp[T]) GetInboundOrderList ¶
func (s *FBLServiceOp[T]) GetInboundOrderList(ctx context.Context) (*GetInboundOrderListResponse, error)
GetInboundOrderList Use this API to get inbound order list Path: /fbl/inbound_orders/get
func (*FBLServiceOp[T]) GetInboundReservationFile ¶
func (s *FBLServiceOp[T]) GetInboundReservationFile(ctx context.Context) (*GetInboundReservationFileResponse, error)
GetInboundReservationFile get inbound reservation order file Path: /fbl/inbound_reservation/file
func (*FBLServiceOp[T]) GetInventoryChangedSKU ¶
func (s *FBLServiceOp[T]) GetInventoryChangedSKU(ctx context.Context) (*GetInventoryChangedSKUResponse, error)
GetInventoryChangedSKU Use this API to get SKU list Path: /fbl/inventory_changed_sku/get
func (*FBLServiceOp[T]) GetInventoryOccupyDetails ¶
func (s *FBLServiceOp[T]) GetInventoryOccupyDetails(ctx context.Context) (*GetInventoryOccupyDetailsResponse, error)
GetInventoryOccupyDetails Use this API to get a sku's inventory occupy details Path: /fbl/inventory_occupy_details/get
func (*FBLServiceOp[T]) GetInventoryOperateLog ¶
func (s *FBLServiceOp[T]) GetInventoryOperateLog(ctx context.Context) (*GetInventoryOperateLogResponse, error)
GetInventoryOperateLog Use this API to get a sku's inventory operate log Path: /fbl/inventory_operate_log/get
func (*FBLServiceOp[T]) GetOutboundOrderDetail ¶
func (s *FBLServiceOp[T]) GetOutboundOrderDetail(ctx context.Context) (*GetOutboundOrderDetailResponse, error)
GetOutboundOrderDetail Use this API to Get outbound order detail; shoud call GetOutboundOrderList for outbound_order_no first Path: /fbl/outbound_order_detail/get
func (*FBLServiceOp[T]) GetOutboundOrderList ¶
func (s *FBLServiceOp[T]) GetOutboundOrderList(ctx context.Context) (*GetOutboundOrderListResponse, error)
GetOutboundOrderList Use this API to get outbound order list Path: /fbl/outbound_orders/get
func (*FBLServiceOp[T]) GetPlatformProductsV2 ¶
func (s *FBLServiceOp[T]) GetPlatformProductsV2(ctx context.Context) (*GetPlatformProductsV2Response, error)
GetPlatformProductsV2 Search products list Path: /fbl/platform_products/get2
func (*FBLServiceOp[T]) GetProductBatchList ¶
func (s *FBLServiceOp[T]) GetProductBatchList(ctx context.Context) (*GetProductBatchListResponse, error)
GetProductBatchList query product batch list Path: /fbl/product_batch/query
func (*FBLServiceOp[T]) GetShipperInfo ¶
func (s *FBLServiceOp[T]) GetShipperInfo(ctx context.Context) (*GetShipperInfoResponse, error)
GetShipperInfo Get Shipper Info for LAZADA Partner Path: /fbl/shipper/get
func (*FBLServiceOp[T]) GetStockRule ¶
func (s *FBLServiceOp[T]) GetStockRule(ctx context.Context) (*GetStockRuleResponse, error)
GetStockRule Get SKU stock rule by sku and warehouse Path: /fbl/stock_rule/get
func (*FBLServiceOp[T]) GetVasOrderByNo4FBL ¶
func (s *FBLServiceOp[T]) GetVasOrderByNo4FBL(ctx context.Context) (*GetVasOrderByNo4FBLResponse, error)
GetVasOrderByNo4FBL get vasOrder by orderNo Path: /fbl/vas/getVasOrderByNo
func (*FBLServiceOp[T]) GetWarehouseListForMCL ¶
func (s *FBLServiceOp[T]) GetWarehouseListForMCL(ctx context.Context) (*GetWarehouseListForMCLResponse, error)
GetWarehouseListForMCL Get Warehouse List By Country And Multi-Channel Path: /fbl/warehouses/get
func (*FBLServiceOp[T]) GetWarehouseStock ¶
func (s *FBLServiceOp[T]) GetWarehouseStock(ctx context.Context) (*GetWarehouseStockResponse, error)
GetWarehouseStock Get SKU list and stock by warehouse code Path: /fbl/stocks/get
func (*FBLServiceOp[T]) GetWarehouseStockV3 ¶
func (s *FBLServiceOp[T]) GetWarehouseStockV3(ctx context.Context) (*GetWarehouseStockV3Response, error)
GetWarehouseStockV3 Get SKU list and stock by warehouse code, this version separates pending inbound and stock in transit in return json. Path: /fbl/stocks/getV3
func (*FBLServiceOp[T]) ListIcpWarehouse ¶
func (s *FBLServiceOp[T]) ListIcpWarehouse(ctx context.Context) (*ListIcpWarehouseResponse, error)
ListIcpWarehouse List warehouses for create InboundOrder and outboundOrder Path: /fbl/icp_warehouse/list
func (*FBLServiceOp[T]) QueryFulfillmentOrderForMCL ¶
func (s *FBLServiceOp[T]) QueryFulfillmentOrderForMCL(ctx context.Context) (*QueryFulfillmentOrderForMCLResponse, error)
QueryFulfillmentOrderForMCL Query list of Fulfillment Orders by shipper Path: /fbl/fulfillment_order_list/get
func (*FBLServiceOp[T]) QueryInboundBatch ¶
func (s *FBLServiceOp[T]) QueryInboundBatch(ctx context.Context) (*QueryInboundBatchResponse, error)
QueryInboundBatch query inbound batch Path: /fbl/inbound_batch/query
func (*FBLServiceOp[T]) QueryInboundReservationOrder ¶
func (s *FBLServiceOp[T]) QueryInboundReservationOrder(ctx context.Context) (*QueryInboundReservationOrderResponse, error)
QueryInboundReservationOrder get inbound reservation order Path: /fbl/inbound_reservation/get
func (*FBLServiceOp[T]) QueryReverseOrderForMCL ¶
func (s *FBLServiceOp[T]) QueryReverseOrderForMCL(ctx context.Context) (*QueryReverseOrderForMCLResponse, error)
QueryReverseOrderForMCL Query Reverse Order for MCL Path: /fbl/reverse_order/get
func (*FBLServiceOp[T]) RemoveFulfillmentSkuRelation ¶
func (s *FBLServiceOp[T]) RemoveFulfillmentSkuRelation(ctx context.Context) (*RemoveFulfillmentSkuRelationResponse, error)
RemoveFulfillmentSkuRelation remove the relation between platformSku and fulfillmentSku Path: /fbl/fulfillment_sku_relation/remove
func (*FBLServiceOp[T]) ReturnCancellation ¶
func (s *FBLServiceOp[T]) ReturnCancellation(ctx context.Context) (*ReturnCancellationResponse, error)
ReturnCancellation Return order cancellation Path: /fbl/returns/cancel
func (*FBLServiceOp[T]) ReturnOrderCreation ¶
func (s *FBLServiceOp[T]) ReturnOrderCreation(ctx context.Context) (*ReturnOrderCreationResponse, error)
ReturnOrderCreation Api to create customer returns Path: /fbl/returns/create
func (*FBLServiceOp[T]) SetStockRule ¶
func (s *FBLServiceOp[T]) SetStockRule(ctx context.Context) (*SetStockRuleResponse, error)
SetStockRule set channel ratio by sku and warehouse Path: /fbl/stock_rule/set
func (*FBLServiceOp[T]) UpdateFulfillmentSkuDecouple ¶
func (s *FBLServiceOp[T]) UpdateFulfillmentSkuDecouple(ctx context.Context) (*UpdateFulfillmentSkuDecoupleResponse, error)
UpdateFulfillmentSkuDecouple update fulfillment sku without product Path: /fbl/fulfillment_sku/update
func (*FBLServiceOp[T]) UploadWaybill ¶
func (s *FBLServiceOp[T]) UploadWaybill(ctx context.Context, filename string, reader io.Reader) (*UploadWaybillResponse, error)
UploadWaybill Use this API to upload a waybill pdf to Lazada site. The maximum size of an pdf file is 1MB. Path: /fbl/waybill/upload
type FailedDeliveryForDBSResponse ¶
type FailedDeliveryForDBSResponse struct {
BaseResponse // Common response fields
Result *ConfirmCollectForDBSResponseDataResult `json:"result,omitempty"` //
}
type FeeCreationDate ¶ added in v0.1.2
type FeeCreationDate struct {
Offset int64 `json:"offset"` // [Required]
Year string `json:"year"` // [Required]
DayOfYear string `json:"day_of_year"` // [Required]
Nano string `json:"nano"` // [Required]
Chronology *Chronology `json:"chronology"` // [Required]
MonthValue string `json:"month_value"` // [Required]
DayOfMonth string `json:"day_of_month"` // [Required]
Minute string `json:"minute"` // [Required]
Second string `json:"second"` // [Required]
Month string `json:"month"` // [Required]
Hour string `json:"hour"` // [Required]
Zone *Zone `json:"zone"` // [Required]
DayOfWeek string `json:"day_of_week"` // [Required]
}
type FinanceService ¶
type FinanceService interface {
// GetPayoutStatus Get your transaction statements created after the provided date
// Path: /finance/payout/status/get
GetPayoutStatus(ctx context.Context) (*GetPayoutStatusResponse, error)
// QueryAccountTransactions Query Account Transactions
// Path: /finance/transaction/accountTransactions/query
QueryAccountTransactions(ctx context.Context) (*QueryAccountTransactionsResponse, error)
// QueryLogisticsFeeDetail Api is provided for finance and seller to query logistics fee details from slb.
// Path: /lbs/slb/queryLogisticsFeeDetail
QueryLogisticsFeeDetail(ctx context.Context) (*QueryLogisticsFeeDetailResponse, error)
// QueryTransactionDetails API to query seller transaction details within specific date range.
// Path: /finance/transaction/details/get
QueryTransactionDetails(ctx context.Context) (*QueryTransactionDetailsResponse, error)
}
type FinanceServiceOp ¶
type FinanceServiceOp[T any] struct { // contains filtered or unexported fields }
func (*FinanceServiceOp[T]) GetPayoutStatus ¶
func (s *FinanceServiceOp[T]) GetPayoutStatus(ctx context.Context) (*GetPayoutStatusResponse, error)
GetPayoutStatus Get your transaction statements created after the provided date Path: /finance/payout/status/get
func (*FinanceServiceOp[T]) QueryAccountTransactions ¶
func (s *FinanceServiceOp[T]) QueryAccountTransactions(ctx context.Context) (*QueryAccountTransactionsResponse, error)
QueryAccountTransactions Query Account Transactions Path: /finance/transaction/accountTransactions/query
func (*FinanceServiceOp[T]) QueryLogisticsFeeDetail ¶
func (s *FinanceServiceOp[T]) QueryLogisticsFeeDetail(ctx context.Context) (*QueryLogisticsFeeDetailResponse, error)
QueryLogisticsFeeDetail Api is provided for finance and seller to query logistics fee details from slb. Path: /lbs/slb/queryLogisticsFeeDetail
func (*FinanceServiceOp[T]) QueryTransactionDetails ¶
func (s *FinanceServiceOp[T]) QueryTransactionDetails(ctx context.Context) (*QueryTransactionDetailsResponse, error)
QueryTransactionDetails API to query seller transaction details within specific date range. Path: /finance/transaction/details/get
type FirstMileBigbagonlyForCNService ¶
type FirstMileBigbagonlyForCNService interface {
// GetChannelcodeByFirstMileNo get channelcode by first mile No
// Path: /logistics/cngfc/fulfill/getchannelcode
GetChannelcodeByFirstMileNo(ctx context.Context) (*GetChannelcodeByFirstMileNoResponse, error)
// GetLazadaBigbagPDFLable Get Lazada Bigbag PDF Lable
// Path: /logistics/cnpms/bigbag/lable/getPdf
GetLazadaBigbagPDFLable(ctx context.Context) (*GetLazadaBigbagPDFLableResponse, error)
// LazadaBigbagCancel Lazada Bigbag cancel
// Path: /logistics/cnpms/bigbag/cancel
LazadaBigbagCancel(ctx context.Context) (*LazadaBigbagCancelResponse, error)
// LazadaBigbagCollectionPoints Lazada bigbag query collection points
// Path: /logistics/cnpms/bigbag/querycollection
LazadaBigbagCollectionPoints(ctx context.Context) (*LazadaBigbagCollectionPointsResponse, error)
// LazadaBigbagCommit Lazada bigbag commit
// Path: /logistics/cnpms/bigbag/commit
LazadaBigbagCommit(ctx context.Context) (*LazadaBigbagCommitResponse, error)
// LazadaBigbagUpdate Lazada bigbag update
// Path: /logistics/cnpms/bigbag/update
LazadaBigbagUpdate(ctx context.Context) (*LazadaBigbagUpdateResponse, error)
// LazadaSellerAccountBind Lazada seller account bind for big bag pick up
// Path: /logistics/cnpms/account/bind
LazadaSellerAccountBind(ctx context.Context) (*LazadaSellerAccountBindResponse, error)
// QueryAddressInformaiton Query Address Informaiton
// Path: /logistics/cnpms/address/query
QueryAddressInformaiton(ctx context.Context) (*QueryAddressInformaitonResponse, error)
// QueryLazadaBigbagInfo Query Lazada Bigbag Info
// Path: /logistics/cnpms/bigbag/query
QueryLazadaBigbagInfo(ctx context.Context) (*QueryLazadaBigbagInfoResponse, error)
}
type FirstMileBigbagonlyForCNServiceOp ¶
type FirstMileBigbagonlyForCNServiceOp[T any] struct { // contains filtered or unexported fields }
func (*FirstMileBigbagonlyForCNServiceOp[T]) GetChannelcodeByFirstMileNo ¶
func (s *FirstMileBigbagonlyForCNServiceOp[T]) GetChannelcodeByFirstMileNo(ctx context.Context) (*GetChannelcodeByFirstMileNoResponse, error)
GetChannelcodeByFirstMileNo get channelcode by first mile No Path: /logistics/cngfc/fulfill/getchannelcode
func (*FirstMileBigbagonlyForCNServiceOp[T]) GetLazadaBigbagPDFLable ¶
func (s *FirstMileBigbagonlyForCNServiceOp[T]) GetLazadaBigbagPDFLable(ctx context.Context) (*GetLazadaBigbagPDFLableResponse, error)
GetLazadaBigbagPDFLable Get Lazada Bigbag PDF Lable Path: /logistics/cnpms/bigbag/lable/getPdf
func (*FirstMileBigbagonlyForCNServiceOp[T]) LazadaBigbagCancel ¶
func (s *FirstMileBigbagonlyForCNServiceOp[T]) LazadaBigbagCancel(ctx context.Context) (*LazadaBigbagCancelResponse, error)
LazadaBigbagCancel Lazada Bigbag cancel Path: /logistics/cnpms/bigbag/cancel
func (*FirstMileBigbagonlyForCNServiceOp[T]) LazadaBigbagCollectionPoints ¶
func (s *FirstMileBigbagonlyForCNServiceOp[T]) LazadaBigbagCollectionPoints(ctx context.Context) (*LazadaBigbagCollectionPointsResponse, error)
LazadaBigbagCollectionPoints Lazada bigbag query collection points Path: /logistics/cnpms/bigbag/querycollection
func (*FirstMileBigbagonlyForCNServiceOp[T]) LazadaBigbagCommit ¶
func (s *FirstMileBigbagonlyForCNServiceOp[T]) LazadaBigbagCommit(ctx context.Context) (*LazadaBigbagCommitResponse, error)
LazadaBigbagCommit Lazada bigbag commit Path: /logistics/cnpms/bigbag/commit
func (*FirstMileBigbagonlyForCNServiceOp[T]) LazadaBigbagUpdate ¶
func (s *FirstMileBigbagonlyForCNServiceOp[T]) LazadaBigbagUpdate(ctx context.Context) (*LazadaBigbagUpdateResponse, error)
LazadaBigbagUpdate Lazada bigbag update Path: /logistics/cnpms/bigbag/update
func (*FirstMileBigbagonlyForCNServiceOp[T]) LazadaSellerAccountBind ¶
func (s *FirstMileBigbagonlyForCNServiceOp[T]) LazadaSellerAccountBind(ctx context.Context) (*LazadaSellerAccountBindResponse, error)
LazadaSellerAccountBind Lazada seller account bind for big bag pick up Path: /logistics/cnpms/account/bind
func (*FirstMileBigbagonlyForCNServiceOp[T]) QueryAddressInformaiton ¶
func (s *FirstMileBigbagonlyForCNServiceOp[T]) QueryAddressInformaiton(ctx context.Context) (*QueryAddressInformaitonResponse, error)
QueryAddressInformaiton Query Address Informaiton Path: /logistics/cnpms/address/query
func (*FirstMileBigbagonlyForCNServiceOp[T]) QueryLazadaBigbagInfo ¶
func (s *FirstMileBigbagonlyForCNServiceOp[T]) QueryLazadaBigbagInfo(ctx context.Context) (*QueryLazadaBigbagInfoResponse, error)
QueryLazadaBigbagInfo Query Lazada Bigbag Info Path: /logistics/cnpms/bigbag/query
type FixHandResponse ¶
type FixHandResponse struct {
BaseResponse // Common response fields
Result *ChangeFaceResponseDataResult `json:"result,omitempty"` //
}
type FlexFloat ¶ added in v0.1.2
type FlexFloat float64
func (*FlexFloat) UnmarshalJSON ¶ added in v0.1.2
type FlexString ¶ added in v0.1.2
type FlexString string
func (*FlexString) UnmarshalJSON ¶ added in v0.1.2
func (f *FlexString) UnmarshalJSON(data []byte) error
type FlexicomboService ¶
type FlexicomboService interface {
// ActivateFlexiCombo activate flexi combo
// Path: /promotion/flexicombo/activate
ActivateFlexiCombo(ctx context.Context) (*ActivateFlexiComboResponse, error)
// AddFlexiComboProducts add flexi combo products
// Path: /promotion/flexicombo/products/add
AddFlexiComboProducts(ctx context.Context) (*AddFlexiComboProductsResponse, error)
// CreateFlexiCombo create a new promotion flexi combo
// Path: /promotion/flexicombo/create
CreateFlexiCombo(ctx context.Context) (*CreateFlexiComboResponse, error)
// DeactivateFlexiCombo deactivate flexi combo
// Path: /promotion/flexicombo/deactivate
DeactivateFlexiCombo(ctx context.Context) (*DeactivateFlexiComboResponse, error)
// DeleteFlexiComboProducts delete flexi combo products
// Path: /promotion/flexicombo/products/delete
DeleteFlexiComboProducts(ctx context.Context) (*DeleteFlexiComboProductsResponse, error)
// GetFlexiComboDetails get promotion flexi combo detail by id
// Path: /promotion/flexicombo/details
GetFlexiComboDetails(ctx context.Context) (*GetFlexiComboDetailsResponse, error)
// ListFlexiCombo list flexi combo
// Path: /promotion/flexicombo/list
ListFlexiCombo(ctx context.Context) (*ListFlexiComboResponse, error)
// ListFlexiComboProducts list flexi combo products
// Path: /promotion/flexicombo/products/list
ListFlexiComboProducts(ctx context.Context) (*ListFlexiComboProductsResponse, error)
// UpdateFlexiCombo update flexi combo
// Path: /promotion/flexicombo/update
UpdateFlexiCombo(ctx context.Context) (*UpdateFlexiComboResponse, error)
}
type FlexicomboServiceOp ¶
type FlexicomboServiceOp[T any] struct { // contains filtered or unexported fields }
func (*FlexicomboServiceOp[T]) ActivateFlexiCombo ¶
func (s *FlexicomboServiceOp[T]) ActivateFlexiCombo(ctx context.Context) (*ActivateFlexiComboResponse, error)
ActivateFlexiCombo activate flexi combo Path: /promotion/flexicombo/activate
func (*FlexicomboServiceOp[T]) AddFlexiComboProducts ¶
func (s *FlexicomboServiceOp[T]) AddFlexiComboProducts(ctx context.Context) (*AddFlexiComboProductsResponse, error)
AddFlexiComboProducts add flexi combo products Path: /promotion/flexicombo/products/add
func (*FlexicomboServiceOp[T]) CreateFlexiCombo ¶
func (s *FlexicomboServiceOp[T]) CreateFlexiCombo(ctx context.Context) (*CreateFlexiComboResponse, error)
CreateFlexiCombo create a new promotion flexi combo Path: /promotion/flexicombo/create
func (*FlexicomboServiceOp[T]) DeactivateFlexiCombo ¶
func (s *FlexicomboServiceOp[T]) DeactivateFlexiCombo(ctx context.Context) (*DeactivateFlexiComboResponse, error)
DeactivateFlexiCombo deactivate flexi combo Path: /promotion/flexicombo/deactivate
func (*FlexicomboServiceOp[T]) DeleteFlexiComboProducts ¶
func (s *FlexicomboServiceOp[T]) DeleteFlexiComboProducts(ctx context.Context) (*DeleteFlexiComboProductsResponse, error)
DeleteFlexiComboProducts delete flexi combo products Path: /promotion/flexicombo/products/delete
func (*FlexicomboServiceOp[T]) GetFlexiComboDetails ¶
func (s *FlexicomboServiceOp[T]) GetFlexiComboDetails(ctx context.Context) (*GetFlexiComboDetailsResponse, error)
GetFlexiComboDetails get promotion flexi combo detail by id Path: /promotion/flexicombo/details
func (*FlexicomboServiceOp[T]) ListFlexiCombo ¶
func (s *FlexicomboServiceOp[T]) ListFlexiCombo(ctx context.Context) (*ListFlexiComboResponse, error)
ListFlexiCombo list flexi combo Path: /promotion/flexicombo/list
func (*FlexicomboServiceOp[T]) ListFlexiComboProducts ¶
func (s *FlexicomboServiceOp[T]) ListFlexiComboProducts(ctx context.Context) (*ListFlexiComboProductsResponse, error)
ListFlexiComboProducts list flexi combo products Path: /promotion/flexicombo/products/list
func (*FlexicomboServiceOp[T]) UpdateFlexiCombo ¶
func (s *FlexicomboServiceOp[T]) UpdateFlexiCombo(ctx context.Context) (*UpdateFlexiComboResponse, error)
UpdateFlexiCombo update flexi combo Path: /promotion/flexicombo/update
type FreeShippingActivateResponse ¶
type FreeShippingActivateResponse struct {
BaseResponse // Common response fields
}
type FreeShippingAddSelectedProductSKUResponse ¶
type FreeShippingAddSelectedProductSKUResponse struct {
BaseResponse // Common response fields
Response FreeShippingAddSelectedProductSKUResponseData `json:"data"` // Response data
}
type FreeShippingAddSelectedProductSKUResponseData ¶ added in v0.1.2
type FreeShippingAddSelectedProductSKUResponseData struct {
SkuId string `json:"sku id"` // [Required]
}
type FreeShippingCreateResponse ¶
type FreeShippingCreateResponse struct {
BaseResponse // Common response fields
Response string `json:"data"` // Response data
}
type FreeShippingDeactivateResponse ¶
type FreeShippingDeactivateResponse struct {
BaseResponse // Common response fields
}
type FreeShippingDeleteSelectedProductSKUResponse ¶
type FreeShippingDeleteSelectedProductSKUResponse struct {
BaseResponse // Common response fields
}
type FreeShippingDeliveryOptionsQueryResponse ¶
type FreeShippingDeliveryOptionsQueryResponse struct {
BaseResponse // Common response fields
Response FreeShippingDeliveryOptionsQueryResponseData `json:"data"` // Response data
}
type FreeShippingDeliveryOptionsQueryResponseData ¶ added in v0.1.2
type FreeShippingGetResponse ¶
type FreeShippingGetResponse struct {
BaseResponse // Common response fields
Response FreeShippingGetResponseData `json:"data"` // Response data
}
type FreeShippingGetResponseData ¶ added in v0.1.2
type FreeShippingGetResponseData struct {
PeriodEndTime string `json:"period_end_time"` // [Required]
CategoryName string `json:"category_name"` // [Required]
Apply string `json:"apply"` // [Required]
BudgetValue string `json:"budget_value"` // [Required]
CampaignTag string `json:"campaign_tag"` // [Required]
RegionType string `json:"region_type"` // [Required]
RegionValue []interface{} `json:"region_value"` // [Required]
PromoTier *PromoTier `json:"promo_tier"` // [Required]
TemplateCode string `json:"template_code"` // [Required]
PeriodStartTime string `json:"period_start_time"` // [Required]
PromotionName string `json:"promotion_name"` // [Required]
UsedBudgetValue string `json:"used_budget_value"` // [Required]
PlatformChannel string `json:"platform_channel"` // [Required]
TemplateType string `json:"template_type"` // [Required]
Currency string `json:"currency"` // [Required]
Id int64 `json:"id"` // [Required]
BudgetType string `json:"budget_type"` // [Required]
PeriodType string `json:"period_type"` // [Required]
DeliveryOption string `json:"delivery_option"` // [Required]
Status string `json:"status"` // [Required]
}
type FreeShippingListResponse ¶
type FreeShippingListResponse struct {
BaseResponse // Common response fields
Response FreeShippingListResponseData `json:"data"` // Response data
}
type FreeShippingListResponseData ¶ added in v0.1.2
type FreeShippingListResponseData struct {
DataList []FreeShippingListResponseDataData `json:"data_list"` // [Required]
Total int64 `json:"total"` // [Required]
Current string `json:"current"` // [Required]
PageSize int64 `json:"page_size"` // [Required]
}
type FreeShippingListResponseDataData ¶ added in v0.1.2
type FreeShippingListResponseDataData struct {
PeriodEndTime string `json:"period_end_time"` // [Required]
CategoryName string `json:"category_name"` // [Required]
Apply string `json:"apply"` // [Required]
BudgetValue string `json:"budget_value"` // [Required]
CampaignTag string `json:"campaign_tag"` // [Required]
RegionType string `json:"region_type"` // [Required]
RegionValue []interface{} `json:"region_value"` // [Required]
PromoTier *PromoTier `json:"promo_tier"` // [Required]
TemplateCode string `json:"template_code"` // [Required]
PeriodStartTime string `json:"period_start_time"` // [Required]
PromotionName string `json:"promotion_name"` // [Required]
UsedBudgetValue string `json:"used_budget_value"` // [Required]
PlatformChannel string `json:"platform_channel"` // [Required]
TemplateType string `json:"template_type"` // [Required]
Currency string `json:"currency"` // [Required]
Id int64 `json:"id"` // [Required]
BudgetType string `json:"budget_type"` // [Required]
PeriodType string `json:"period_type"` // [Required]
DeliveryOption string `json:"delivery_option"` // [Required]
Status string `json:"status"` // [Required]
}
type FreeShippingRegionsQueryResponse ¶
type FreeShippingRegionsQueryResponse struct {
BaseResponse // Common response fields
Response FreeShippingRegionsQueryResponseData `json:"data"` // Response data
}
type FreeShippingRegionsQueryResponseData ¶ added in v0.1.2
type FreeShippingSelectedProductListResponse ¶
type FreeShippingSelectedProductListResponse struct {
BaseResponse // Common response fields
Response FreeShippingSelectedProductListResponseData `json:"data"` // Response data
}
type FreeShippingSelectedProductListResponseData ¶ added in v0.1.2
type FreeShippingSelectedProductListResponseData struct {
DataList []FreeShippingSelectedProductListResponseDataData `json:"data_list"` // [Required]
Total int64 `json:"total"` // [Required]
Current string `json:"current"` // [Required]
PageSize int64 `json:"page_size"` // [Required]
}
type FreeShippingSelectedProductListResponseDataData ¶ added in v0.1.2
type FreeShippingSelectedProductListResponseDataData struct {
SkuIds []interface{} `json:"sku_ids"` // [Required]
ProductId int64 `json:"product_id"` // [Required]
}
type FreeShippingService ¶
type FreeShippingService interface {
// FreeShippingActivate activate free shipping promotion
// Path: /promotion/freeshipping/activate
FreeShippingActivate(ctx context.Context) (*FreeShippingActivateResponse, error)
// FreeShippingAddSelectedProductSKU add sku for free shipping promotion
// Path: /promotion/freeshipping/product/sku/add
FreeShippingAddSelectedProductSKU(ctx context.Context) (*FreeShippingAddSelectedProductSKUResponse, error)
// FreeShippingCreate create a new free shipping promotion
// Path: /promotion/freeshipping/create
FreeShippingCreate(ctx context.Context) (*FreeShippingCreateResponse, error)
// FreeShippingDeactivate deactivate free shipping promotion
// Path: /promotion/freeshipping/deactivate
FreeShippingDeactivate(ctx context.Context) (*FreeShippingDeactivateResponse, error)
// FreeShippingDeleteSelectedProductSKU delete sku for free shipping promotion
// Path: /promotion/freeshipping/product/sku/remove
FreeShippingDeleteSelectedProductSKU(ctx context.Context) (*FreeShippingDeleteSelectedProductSKUResponse, error)
// FreeShippingDeliveryOptionsQuery query free shipping promotion delivery options
// Path: /promotion/freeshipping/deliveryoptions/get
FreeShippingDeliveryOptionsQuery(ctx context.Context) (*FreeShippingDeliveryOptionsQueryResponse, error)
// FreeShippingGet get free shipping promotion
// Path: /promotion/freeshipping/get
FreeShippingGet(ctx context.Context) (*FreeShippingGetResponse, error)
// FreeShippingList query free shipping promotion list
// Path: /promotion/freeshippings/get
FreeShippingList(ctx context.Context) (*FreeShippingListResponse, error)
// FreeShippingRegionsQuery query free shipping promotion regions
// Path: /promotion/freeshipping/regions/get
FreeShippingRegionsQuery(ctx context.Context) (*FreeShippingRegionsQueryResponse, error)
// FreeShippingSelectedProductList query free shipping promotion selected product list
// Path: /promotion/freeshipping/products/get
FreeShippingSelectedProductList(ctx context.Context) (*FreeShippingSelectedProductListResponse, error)
// FreeShippingUpdate update free shipping promotion
// Path: /promotion/freeshipping/update
FreeShippingUpdate(ctx context.Context) (*FreeShippingUpdateResponse, error)
}
type FreeShippingServiceOp ¶
type FreeShippingServiceOp[T any] struct { // contains filtered or unexported fields }
func (*FreeShippingServiceOp[T]) FreeShippingActivate ¶
func (s *FreeShippingServiceOp[T]) FreeShippingActivate(ctx context.Context) (*FreeShippingActivateResponse, error)
FreeShippingActivate activate free shipping promotion Path: /promotion/freeshipping/activate
func (*FreeShippingServiceOp[T]) FreeShippingAddSelectedProductSKU ¶
func (s *FreeShippingServiceOp[T]) FreeShippingAddSelectedProductSKU(ctx context.Context) (*FreeShippingAddSelectedProductSKUResponse, error)
FreeShippingAddSelectedProductSKU add sku for free shipping promotion Path: /promotion/freeshipping/product/sku/add
func (*FreeShippingServiceOp[T]) FreeShippingCreate ¶
func (s *FreeShippingServiceOp[T]) FreeShippingCreate(ctx context.Context) (*FreeShippingCreateResponse, error)
FreeShippingCreate create a new free shipping promotion Path: /promotion/freeshipping/create
func (*FreeShippingServiceOp[T]) FreeShippingDeactivate ¶
func (s *FreeShippingServiceOp[T]) FreeShippingDeactivate(ctx context.Context) (*FreeShippingDeactivateResponse, error)
FreeShippingDeactivate deactivate free shipping promotion Path: /promotion/freeshipping/deactivate
func (*FreeShippingServiceOp[T]) FreeShippingDeleteSelectedProductSKU ¶
func (s *FreeShippingServiceOp[T]) FreeShippingDeleteSelectedProductSKU(ctx context.Context) (*FreeShippingDeleteSelectedProductSKUResponse, error)
FreeShippingDeleteSelectedProductSKU delete sku for free shipping promotion Path: /promotion/freeshipping/product/sku/remove
func (*FreeShippingServiceOp[T]) FreeShippingDeliveryOptionsQuery ¶
func (s *FreeShippingServiceOp[T]) FreeShippingDeliveryOptionsQuery(ctx context.Context) (*FreeShippingDeliveryOptionsQueryResponse, error)
FreeShippingDeliveryOptionsQuery query free shipping promotion delivery options Path: /promotion/freeshipping/deliveryoptions/get
func (*FreeShippingServiceOp[T]) FreeShippingGet ¶
func (s *FreeShippingServiceOp[T]) FreeShippingGet(ctx context.Context) (*FreeShippingGetResponse, error)
FreeShippingGet get free shipping promotion Path: /promotion/freeshipping/get
func (*FreeShippingServiceOp[T]) FreeShippingList ¶
func (s *FreeShippingServiceOp[T]) FreeShippingList(ctx context.Context) (*FreeShippingListResponse, error)
FreeShippingList query free shipping promotion list Path: /promotion/freeshippings/get
func (*FreeShippingServiceOp[T]) FreeShippingRegionsQuery ¶
func (s *FreeShippingServiceOp[T]) FreeShippingRegionsQuery(ctx context.Context) (*FreeShippingRegionsQueryResponse, error)
FreeShippingRegionsQuery query free shipping promotion regions Path: /promotion/freeshipping/regions/get
func (*FreeShippingServiceOp[T]) FreeShippingSelectedProductList ¶
func (s *FreeShippingServiceOp[T]) FreeShippingSelectedProductList(ctx context.Context) (*FreeShippingSelectedProductListResponse, error)
FreeShippingSelectedProductList query free shipping promotion selected product list Path: /promotion/freeshipping/products/get
func (*FreeShippingServiceOp[T]) FreeShippingUpdate ¶
func (s *FreeShippingServiceOp[T]) FreeShippingUpdate(ctx context.Context) (*FreeShippingUpdateResponse, error)
FreeShippingUpdate update free shipping promotion Path: /promotion/freeshipping/update
type FreeShippingUpdateResponse ¶
type FreeShippingUpdateResponse struct {
BaseResponse // Common response fields
Response string `json:"data"` // Response data
}
type FulfillmentService ¶
type FulfillmentService interface {
// ConfirmCollectForDBS Use this API to mark an sof order item as being collected.
// Path: /order/package/sof/collect
ConfirmCollectForDBS(ctx context.Context) (*ConfirmCollectForDBSResponse, error)
// ConfirmDeliveryForDBS Use this API to mark an sof order item as being delivered.
// Path: /order/package/sof/delivered
ConfirmDeliveryForDBS(ctx context.Context) (*ConfirmDeliveryForDBSResponse, error)
// DeliverDigital Use this API to mark a digital order item as being delivered.
// Path: /order/digital/delivered
DeliverDigital(ctx context.Context) (*DeliverDigitalResponse, error)
// FailedDeliveryForDBS Use this API to mark an sof order item as being delivered failed
// Path: /order/package/sof/failed_delivery
FailedDeliveryForDBS(ctx context.Context) (*FailedDeliveryForDBSResponse, error)
// GetShipmentProvider Use this API to get the list of all active shipping providers, which is needed when working with the PackOrder API.
// Path: /order/shipment/providers/get
GetShipmentProvider(ctx context.Context) (*GetShipmentProviderResponse, error)
// Pack Use this API to mark an order item as being packed.
// Path: /order/pack
Pack(ctx context.Context, req PackRequest) (*PackResponse, error)
// PackageStatusUpdateForDBS DBS package status update.
// This interface is only open to some stores
// Path: /order/package/sof/status/update
PackageStatusUpdateForDBS(ctx context.Context) (*PackageStatusUpdateForDBSResponse, error)
// PrintAWB Use this API to retrieve order-related documents, only for shipping labels.
// Path: /order/package/document/get
PrintAWB(ctx context.Context, req PrintAWBRequest) (*PrintAWBResponse, error)
// ReadyToShip Use this API to mark an order item as being ready to ship.
// Path: /order/rts
ReadyToShip(ctx context.Context, req ReadyToShipRequest) (*ReadyToShipResponse, error)
// RecreatePackage Use this API to mark a package item as being repack.
// Path: /order/package/repack
RecreatePackage(ctx context.Context) (*RecreatePackageResponse, error)
}
type FulfillmentServiceOp ¶
type FulfillmentServiceOp[T any] struct { // contains filtered or unexported fields }
func (*FulfillmentServiceOp[T]) ConfirmCollectForDBS ¶
func (s *FulfillmentServiceOp[T]) ConfirmCollectForDBS(ctx context.Context) (*ConfirmCollectForDBSResponse, error)
ConfirmCollectForDBS Use this API to mark an sof order item as being collected. Path: /order/package/sof/collect
func (*FulfillmentServiceOp[T]) ConfirmDeliveryForDBS ¶
func (s *FulfillmentServiceOp[T]) ConfirmDeliveryForDBS(ctx context.Context) (*ConfirmDeliveryForDBSResponse, error)
ConfirmDeliveryForDBS Use this API to mark an sof order item as being delivered. Path: /order/package/sof/delivered
func (*FulfillmentServiceOp[T]) DeliverDigital ¶
func (s *FulfillmentServiceOp[T]) DeliverDigital(ctx context.Context) (*DeliverDigitalResponse, error)
DeliverDigital Use this API to mark a digital order item as being delivered. Path: /order/digital/delivered
func (*FulfillmentServiceOp[T]) FailedDeliveryForDBS ¶
func (s *FulfillmentServiceOp[T]) FailedDeliveryForDBS(ctx context.Context) (*FailedDeliveryForDBSResponse, error)
FailedDeliveryForDBS Use this API to mark an sof order item as being delivered failed Path: /order/package/sof/failed_delivery
func (*FulfillmentServiceOp[T]) GetShipmentProvider ¶
func (s *FulfillmentServiceOp[T]) GetShipmentProvider(ctx context.Context) (*GetShipmentProviderResponse, error)
GetShipmentProvider Use this API to get the list of all active shipping providers, which is needed when working with the PackOrder API. Path: /order/shipment/providers/get
func (*FulfillmentServiceOp[T]) Pack ¶
func (s *FulfillmentServiceOp[T]) Pack(ctx context.Context, req PackRequest) (*PackResponse, error)
Pack Use this API to mark an order item as being packed. Path: /order/pack
func (*FulfillmentServiceOp[T]) PackageStatusUpdateForDBS ¶
func (s *FulfillmentServiceOp[T]) PackageStatusUpdateForDBS(ctx context.Context) (*PackageStatusUpdateForDBSResponse, error)
PackageStatusUpdateForDBS DBS package status update. This interface is only open to some stores Path: /order/package/sof/status/update
func (*FulfillmentServiceOp[T]) PrintAWB ¶
func (s *FulfillmentServiceOp[T]) PrintAWB(ctx context.Context, req PrintAWBRequest) (*PrintAWBResponse, error)
PrintAWB Use this API to retrieve order-related documents, only for shipping labels. Path: /order/package/document/get
func (*FulfillmentServiceOp[T]) ReadyToShip ¶
func (s *FulfillmentServiceOp[T]) ReadyToShip(ctx context.Context, req ReadyToShipRequest) (*ReadyToShipResponse, error)
ReadyToShip Use this API to mark an order item as being ready to ship. Path: /order/rts
func (*FulfillmentServiceOp[T]) RecreatePackage ¶
func (s *FulfillmentServiceOp[T]) RecreatePackage(ctx context.Context) (*RecreatePackageResponse, error)
RecreatePackage Use this API to mark a package item as being repack. Path: /order/package/repack
type GetAccountSignInfoResponse ¶
type GetAccountSignInfoResponse struct {
BaseResponse // Common response fields
AnalyseTraceId string `json:"analyseTraceId,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
Result interface{} `json:"result,omitempty"` //
}
type GetAutoTopUpOptionOneConfigResponse ¶
type GetAutoTopUpOptionOneConfigResponse struct {
BaseResponse // Common response fields
AnalyseTraceId string `json:"analyseTraceId,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
Result *GetAutoTopUpOptionOneConfigResponseDataResult `json:"result,omitempty"` //
}
type GetAutoTopUpOptionOneConfigResponseDataResult ¶ added in v0.1.2
type GetBrandByPagesRequest ¶ added in v0.1.2
type GetBrandByPagesResponse ¶
type GetBrandByPagesResponse struct {
BaseResponse // Common response fields
Response GetBrandByPagesResponseData `json:"data"` // Response data
}
type GetBrandByPagesResponseData ¶ added in v0.1.2
type GetBrandByPagesResponseData struct {
EnableTotal bool `json:"enable_total"` // [Required]
StartRow int64 `json:"start_row"` // [Required]
PageIndex int64 `json:"page_index"` // [Required]
Module []ResponseDataModule `json:"module"` // [Required]
TotalPage int64 `json:"total_page"` // [Required]
PageSize int64 `json:"page_size"` // [Required]
TotalRecord int64 `json:"total_record"` // [Required]
}
type GetCampaignCountResponse ¶
type GetCampaignCountResponse struct {
BaseResponse // Common response fields
AnalyseTraceId string `json:"analyseTraceId,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
Result string `json:"result,omitempty"` //
}
type GetCampaignResponse ¶
type GetCampaignResponse struct {
BaseResponse // Common response fields
AnalyseTraceId string `json:"analyseTraceId,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
Result *GetCampaignResponseDataResult `json:"result,omitempty"` //
}
type GetCampaignResponseDataResult ¶ added in v0.1.2
type GetCampaignResponseDataResult struct {
CampaignObjective string `json:"campaignObjective"` // [Required]
CampaignType string `json:"campaignType"` // [Required]
EndDate string `json:"endDate"` // [Required]
CampaignId string `json:"campaignId"` // [Required]
OnlineStatus string `json:"onlineStatus"` // [Required]
SwitchStatus string `json:"switchStatus"` // [Required]
Platform []interface{} `json:"platform"` // [Required]
BudgetUsedAmount string `json:"budgetUsedAmount"` // [Required]
AutoItemSelect string `json:"autoItemSelect"` // [Required]
CampaignModel string `json:"campaignModel"` // [Required]
MaxBid string `json:"maxBid"` // [Required]
HaveAdCount string `json:"haveAdCount"` // [Required]
SceneId string `json:"sceneId"` // [Required]
AutoCreative string `json:"autoCreative"` // [Required]
CampaignName string `json:"campaignName"` // [Required]
StartDate string `json:"startDate"` // [Required]
DayBudget string `json:"dayBudget"` // [Required]
}
type GetCategoryAttributesRequest ¶ added in v0.1.2
type GetCategoryAttributesResponse ¶
type GetCategoryAttributesResponse struct {
BaseResponse // Common response fields
Response []GetCategoryAttributesResponseData `json:"data"` // Response data
}
type GetCategoryAttributesResponseData ¶ added in v0.1.2
type GetCategoryAttributesResponseData struct {
Unit *Unit `json:"unit"` // [Required]
Advanced *Advanced `json:"advanced"` // [Required]
IsSaleProp int64 `json:"is_sale_prop"` // [Required]
Name string `json:"name"` // [Required]
InputType string `json:"input_type"` // [Required]
Options []ResponseDataOptions `json:"options"` // [Required]
IsMandatory int64 `json:"is_mandatory"` // [Required]
AttributeType string `json:"attribute_type"` // [Required]
Label string `json:"label"` // [Required]
Id int64 `json:"id"` // [Required]
}
type GetCategorySuggestionResponse ¶
type GetCategorySuggestionResponse struct {
BaseResponse // Common response fields
Response GetCategorySuggestionResponseData `json:"data"` // Response data
}
type GetCategorySuggestionResponseData ¶ added in v0.1.2
type GetCategorySuggestionResponseData struct {
CategorySuggestions []CategorySuggestions `json:"categorySuggestions"` // [Required]
}
type GetCategoryTreeResponse ¶
type GetCategoryTreeResponse struct {
BaseResponse // Common response fields
Response []GetCategoryTreeResponseData `json:"data"` // Response data
}
type GetCategoryTreeResponseData ¶ added in v0.1.2
type GetCategoryTreeResponseData struct {
CategoryId int64 `json:"category_id"` // [Required]
Children []GetCategoryTreeResponseData `json:"children"` // [Required]
Var bool `json:"var"` // [Required]
Name string `json:"name"` // [Required]
Leaf bool `json:"leaf"` // [Required]
}
type GetChannelStocksForMCLResponse ¶
type GetChannelStocksForMCLResponse struct {
BaseResponse // Common response fields
Response GetChannelStocksForMCLResponseData `json:"data"` // Response data
ErrorMessage string `json:"error_message,omitempty"` //
}
type GetChannelStocksForMCLResponseData ¶ added in v0.1.2
type GetChannelcodeByFirstMileNoResponse ¶
type GetChannelcodeByFirstMileNoResponse struct {
BaseResponse // Common response fields
Result *GetChannelcodeByFirstMileNoResponseDataResult `json:"result,omitempty"` //
}
type GetChannelcodeByFirstMileNoResponseDataResult ¶ added in v0.1.2
type GetChoiceProductItemResponse ¶
type GetChoiceProductItemResponse struct {
BaseResponse // Common response fields
Response GetChoiceProductItemResponseData `json:"data"` // Response data
}
type GetChoiceProductItemResponseData ¶ added in v0.1.2
type GetChoiceProductItemResponseData struct {
CreatedTime string `json:"created_time"` // [Required]
UpdatedTime string `json:"updated_time"` // [Required]
Images []string `json:"images"` // [Required]
Skus []Skus `json:"skus"` // [Required]
ItemId int64 `json:"item_id"` // [Required]
HiddenStatus string `json:"hiddenStatus"` // [Required]
BizSupplement *BizSupplement `json:"bizSupplement"` // [Required]
SuspendedSkus []interface{} `json:"suspendedSkus"` // [Required]
SubStatus string `json:"subStatus"` // [Required]
Variation *Variation `json:"variation"` // [Required]
TrialProduct bool `json:"trialProduct"` // [Required]
RejectReason []RejectReason `json:"rejectReason"` // [Required]
PrimaryCategory int64 `json:"primary_category"` // [Required]
MarketImages []string `json:"marketImages"` // [Required]
Attributes *Attributes `json:"attributes"` // [Required]
HiddenReason string `json:"hiddenReason"` // [Required]
Status string `json:"status"` // [Required]
}
type GetChoiceProductsResponse ¶
type GetChoiceProductsResponse struct {
BaseResponse // Common response fields
Response GetChoiceProductsResponseData `json:"data"` // Response data
}
type GetChoiceProductsResponseData ¶ added in v0.1.2
type GetChoiceSellerResponse ¶
type GetChoiceSellerResponse struct {
BaseResponse // Common response fields
Response GetChoiceSellerResponseData `json:"data"` // Response data
}
type GetChoiceSellerResponseData ¶ added in v0.1.2
type GetChoiceSellerResponseData struct {
NameCompany string `json:"name_company"` // [Required]
Name string `json:"name"` // [Required]
Verified string `json:"verified"` // [Required]
Location string `json:"location"` // [Required]
SellerId int64 `json:"seller_id"` // [Required]
Email string `json:"email"` // [Required]
ShortCode string `json:"short_code"` // [Required]
Cb string `json:"cb"` // [Required]
Status string `json:"status"` // [Required]
}
type GetChoiceSkuItemRelationBySkuResponse ¶
type GetChoiceSkuItemRelationBySkuResponse struct {
BaseResponse // Common response fields
Response GetChoiceSkuItemRelationBySkuResponseData `json:"data"` // Response data
}
type GetChoiceSkuItemRelationBySkuResponseData ¶ added in v0.1.2
type GetChoiceSkuItemRelationBySkuResponseData struct {
Site string `json:"site"` // [Required]
ItemId int64 `json:"item_id"` // [Required]
ScItemUserId string `json:"sc_item_user_id"` // [Required]
SkuId int64 `json:"sku_id"` // [Required]
Source string `json:"source"` // [Required]
Barcode string `json:"barcode"` // [Required]
SellerId int64 `json:"seller_id"` // [Required]
ScItemId string `json:"sc_item_id"` // [Required]
}
type GetCountryInfoResponse ¶
type GetCountryInfoResponse struct {
BaseResponse // Common response fields
Response GetCountryInfoResponseData `json:"data"` // Response data
}
type GetCountryInfoResponseData ¶ added in v0.1.2
type GetCpScheduledPuParcelResponse ¶
type GetCpScheduledPuParcelResponse struct {
BaseResponse // Common response fields
Response GetCpScheduledPuParcelResponseData `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type GetCpScheduledPuParcelResponseData ¶ added in v0.1.2
type GetDiscoveryReportAdgroupResponse ¶
type GetDiscoveryReportAdgroupResponse struct {
BaseResponse // Common response fields
Result *GetDiscoveryReportAdgroupResponseDataResult `json:"result,omitempty"` //
}
type GetDiscoveryReportAdgroupResponseDataResult ¶ added in v0.1.2
type GetDiscoveryReportAdgroupResponseDataResult struct {
Result []ResultResult `json:"result"` // [Required]
ErrorKey string `json:"errorKey"` // [Required]
ErrorDTOList []interface{} `json:"errorDTOList"` // [Required]
Success bool `json:"success"` // [Required]
AnalyseTraceId string `json:"analyseTraceId"` // [Required]
ErrorCode string `json:"errorCode"` // [Required]
TotalCount string `json:"totalCount"` // [Required]
ErrorMsg string `json:"errorMsg"` // [Required]
}
type GetDiscoveryReportAudienceResponse ¶
type GetDiscoveryReportAudienceResponse struct {
BaseResponse // Common response fields
Result *GetDiscoveryReportAudienceResponseDataResult `json:"result,omitempty"` //
}
type GetDiscoveryReportAudienceResponseDataResult ¶ added in v0.1.2
type GetDiscoveryReportAudienceResponseDataResult struct {
Result []ResponseDataResultResult `json:"result"` // [Required]
ErrorKey string `json:"errorKey"` // [Required]
ErrorDTOList []interface{} `json:"errorDTOList"` // [Required]
Success bool `json:"success"` // [Required]
AnalyseTraceId string `json:"analyseTraceId"` // [Required]
ErrorCode string `json:"errorCode"` // [Required]
TotalCount string `json:"totalCount"` // [Required]
ErrorMsg string `json:"errorMsg"` // [Required]
}
type GetDiscoveryReportCampaignResponse ¶
type GetDiscoveryReportCampaignResponse struct {
BaseResponse // Common response fields
Result *GetDiscoveryReportCampaignResponseDataResult `json:"result,omitempty"` //
}
type GetDiscoveryReportCampaignResponseDataResult ¶ added in v0.1.2
type GetDiscoveryReportCampaignResponseDataResult struct {
Result []GetDiscoveryReportCampaignResponseDataResultResult `json:"result"` // [Required]
ErrorKey string `json:"errorKey"` // [Required]
Success bool `json:"success"` // [Required]
AnalyseTraceId string `json:"analyseTraceId"` // [Required]
ErrorCode string `json:"errorCode"` // [Required]
TotalCount string `json:"totalCount"` // [Required]
ErrorMsg string `json:"errorMsg"` // [Required]
}
type GetDiscoveryReportCampaignResponseDataResultResult ¶ added in v0.1.2
type GetDiscoveryReportCampaignResponseDataResultResult struct {
Ctr string `json:"ctr"` // [Required]
CampaignObjective string `json:"campaignObjective"` // [Required]
CampaignType string `json:"campaignType"` // [Required]
CampaignId string `json:"campaignId"` // [Required]
StoreRevenue string `json:"storeRevenue"` // [Required]
StoreCvr string `json:"storeCvr"` // [Required]
StoreA2c string `json:"storeA2c"` // [Required]
StoreOrders string `json:"storeOrders"` // [Required]
ProductUnitSold string `json:"productUnitSold"` // [Required]
Impressions string `json:"impressions"` // [Required]
ProductCvr string `json:"productCvr"` // [Required]
ProductOrders string `json:"productOrders"` // [Required]
StoreRoi string `json:"storeRoi"` // [Required]
Cpc string `json:"cpc"` // [Required]
Spend string `json:"spend"` // [Required]
Clicks string `json:"clicks"` // [Required]
ProductRevenue string `json:"productRevenue"` // [Required]
StoreUnitSold string `json:"storeUnitSold"` // [Required]
CampaignName string `json:"campaignName"` // [Required]
ProductType string `json:"productType"` // [Required]
DayBudget string `json:"dayBudget"` // [Required]
ProductA2c string `json:"productA2c"` // [Required]
}
type GetDiscoveryReportKeywordResponse ¶
type GetDiscoveryReportKeywordResponse struct {
BaseResponse // Common response fields
Result *GetDiscoveryReportKeywordResponseDataResult `json:"result,omitempty"` //
}
type GetDiscoveryReportKeywordResponseDataResult ¶ added in v0.1.2
type GetDiscoveryReportKeywordResponseDataResult struct {
Result []GetDiscoveryReportKeywordResponseDataResultResult `json:"result"` // [Required]
ErrorKey string `json:"errorKey"` // [Required]
ErrorDTOList []interface{} `json:"errorDTOList"` // [Required]
Success bool `json:"success"` // [Required]
AnalyseTraceId string `json:"analyseTraceId"` // [Required]
ErrorCode string `json:"errorCode"` // [Required]
TotalCount string `json:"totalCount"` // [Required]
ErrorMsg string `json:"errorMsg"` // [Required]
}
type GetDiscoveryReportKeywordResponseDataResultResult ¶ added in v0.1.2
type GetDiscoveryReportKeywordResponseDataResultResult struct {
ProductImageUrl string `json:"productImageUrl"` // [Required]
Ctr string `json:"ctr"` // [Required]
KeywordId string `json:"keywordId"` // [Required]
CampaignId string `json:"campaignId"` // [Required]
StoreRevenue string `json:"storeRevenue"` // [Required]
StoreCvr string `json:"storeCvr"` // [Required]
StoreA2c string `json:"storeA2c"` // [Required]
StoreOrders string `json:"storeOrders"` // [Required]
ProductUnitSold string `json:"productUnitSold"` // [Required]
Impressions string `json:"impressions"` // [Required]
ProductCvr string `json:"productCvr"` // [Required]
ProductOrders string `json:"productOrders"` // [Required]
StoreRoi string `json:"storeRoi"` // [Required]
AdgroupId string `json:"adgroupId"` // [Required]
AdgroupName string `json:"adgroupName"` // [Required]
Cpc string `json:"cpc"` // [Required]
Spend string `json:"spend"` // [Required]
MaxBid string `json:"maxBid"` // [Required]
StoreUnitSold string `json:"storeUnitSold"` // [Required]
Clicks string `json:"clicks"` // [Required]
ProductRevenue string `json:"productRevenue"` // [Required]
Keyword string `json:"keyword"` // [Required]
CampaignName string `json:"campaignName"` // [Required]
ProductA2c string `json:"productA2c"` // [Required]
}
type GetDocumentReq ¶ added in v0.1.7
type GetDocumentReq struct {
DocType string `json:"doc_type"` // [Required]
Packages []GetDocumentReqPackages `json:"packages"` // [Required]
PrintItemList *bool `json:"print_item_list,omitempty"` // [Optional]
}
type GetDocumentReqPackages ¶ added in v0.1.7
type GetDocumentReqPackages struct {
PackageId string `json:"package_id"` // [Required]
}
type GetDocumentResponse ¶
type GetDocumentResponse struct {
BaseResponse // Common response fields
Response GetDocumentResponseData `json:"data"` // Response data
}
type GetDocumentResponseData ¶ added in v0.1.2
type GetDocumentResponseData struct {
Document *Document `json:"document"` // [Required]
}
type GetFlexiComboDetailsResponse ¶
type GetFlexiComboDetailsResponse struct {
BaseResponse // Common response fields
Response GetFlexiComboDetailsResponseData `json:"data"` // Response data
}
type GetFlexiComboDetailsResponseData ¶ added in v0.1.2
type GetFlexiComboDetailsResponseData struct {
Stackable string `json:"stackable"` // [Required]
GiftBuyLimitValue []string `json:"gift_buy_limit_value"` // [Required]
Apply string `json:"apply"` // [Required]
GiftSkus []GiftSkus `json:"gift_skus"` // [Required]
EndTime string `json:"end_time"` // [Required]
SampleSkus []GiftSkus `json:"sample_skus"` // [Required]
DiscountValue []interface{} `json:"discount_value"` // [Required]
Type string `json:"type"` // [Required]
DiscountType string `json:"discount_type"` // [Required]
OrderUsedNumbers string `json:"order_used_numbers"` // [Required]
StartTime string `json:"start_time"` // [Required]
Name string `json:"name"` // [Required]
PlatformChannel string `json:"platform_channel"` // [Required]
Id int64 `json:"id"` // [Required]
CriteriaType string `json:"criteria_type"` // [Required]
CriteriaValue []string `json:"criteria_value"` // [Required]
OrderNumbers string `json:"order_numbers"` // [Required]
Status string `json:"status"` // [Required]
}
type GetFulfillmentProductDetailResponse ¶
type GetFulfillmentProductDetailResponse struct {
BaseResponse // Common response fields
Response GetFulfillmentProductDetailResponseData `json:"data"` // Response data
}
type GetFulfillmentProductDetailResponseData ¶ added in v0.1.2
type GetFulfillmentProductDetailResponseData struct {
ShelfLifeDays string `json:"shelf_life_days"` // [Required]
Precious string `json:"precious"` // [Required]
Color string `json:"color"` // [Required]
FulfillmentSku string `json:"fulfillment_sku"` // [Required]
SerialNumberFlag string `json:"serial_number_flag"` // [Required]
Length string `json:"length"` // [Required]
OfflineShelfLive string `json:"offline_shelf_live"` // [Required]
Barcodes string `json:"barcodes"` // [Required]
NetWeight string `json:"net_weight"` // [Required]
AlertShelfLive string `json:"alert_shelf_live"` // [Required]
ShelfLifeFlag string `json:"shelf_life_flag"` // [Required]
RejectShelfLive string `json:"reject_shelf_live"` // [Required]
ProductType string `json:"product_type"` // [Required]
SellerSkus []string `json:"seller_skus"` // [Required]
SnSampleList []SnSample `json:"sn_sample_list"` // [Required]
Width string `json:"width"` // [Required]
TemperatureRequirement string `json:"temperature_requirement"` // [Required]
ShipperId string `json:"shipper_id"` // [Required]
SerialNumberMode string `json:"serial_number_mode"` // [Required]
Hygroscopic string `json:"hygroscopic"` // [Required]
FulfillmentSkuName string `json:"fulfillment_sku_name"` // [Required]
GrossWeight string `json:"gross_weight"` // [Required]
Height string `json:"height"` // [Required]
}
type GetFulfillmentSkuListForMCLResponse ¶
type GetFulfillmentSkuListForMCLResponse struct {
BaseResponse // Common response fields
Response GetFulfillmentSkuListForMCLResponseData `json:"data"` // Response data
ErrorMessage string `json:"error_message,omitempty"` //
Page string `json:"page,omitempty"` //
PerPage string `json:"per_page,omitempty"` //
TotalCount int64 `json:"total_count,omitempty"` //
}
type GetFulfillmentSkuListForMCLResponseData ¶ added in v0.1.2
type GetFulfillmentSkuListForMCLResponseData struct {
HasStock string `json:"has_stock"` // [Required]
FulfillmentSkuId string `json:"fulfillment_sku_id"` // [Required]
SerialNumFlag string `json:"serial_num_flag"` // [Required]
OwnerId string `json:"owner_id"` // [Required]
MinStockAlert string `json:"min_stock_alert"` // [Required]
PicUrls string `json:"pic_urls"` // [Required]
Barcodes string `json:"barcodes"` // [Required]
SalePrice string `json:"sale_price"` // [Required]
ShelfLifeFlag string `json:"shelf_life_flag"` // [Required]
SellerSkus string `json:"seller_skus"` // [Required]
PlatformName string `json:"platform_name"` // [Required]
Currency string `json:"currency"` // [Required]
FulfillmentSkuName string `json:"fulfillment_sku_name"` // [Required]
PlatformSkuStatus string `json:"platform_sku_status"` // [Required]
FulfillmentSkuCode string `json:"fulfillment_sku_code"` // [Required]
SellerId int64 `json:"seller_id"` // [Required]
}
type GetFulfillmentSkuRelationByScItemResponse ¶
type GetFulfillmentSkuRelationByScItemResponse struct {
BaseResponse // Common response fields
Result *GetFulfillmentSkuRelationByScItemResponseDataResult `json:"result,omitempty"` //
}
type GetFulfillmentSkuRelationByScItemResponseDataResult ¶ added in v0.1.2
type GetFulfillmentSkuRelationByScItemResponseDataResult struct {
ErrorMsg string `json:"error_msg"` // [Required]
Data []GetFulfillmentSkuRelationByScItemResponseDataResultData `json:"data"` // [Required]
Failure string `json:"failure"` // [Required]
Success bool `json:"success"` // [Required]
ErrorCode string `json:"error_code"` // [Required]
}
type GetFulfillmentSkuRelationByScItemResponseDataResultData ¶ added in v0.1.2
type GetFulfillmentSkuRelationByScItemResponseDataResultData struct {
Site string `json:"site"` // [Required]
ItemId int64 `json:"item_id"` // [Required]
FulfillmentSku string `json:"fulfillment_sku"` // [Required]
ScItemUserId string `json:"sc_item_user_id"` // [Required]
SkuId int64 `json:"sku_id"` // [Required]
Source string `json:"source"` // [Required]
SellerId int64 `json:"seller_id"` // [Required]
ScItemId string `json:"sc_item_id"` // [Required]
}
type GetFulfillmentSkuRelationBySkuResponse ¶
type GetFulfillmentSkuRelationBySkuResponse struct {
BaseResponse // Common response fields
Result *GetFulfillmentSkuRelationBySkuResponseDataResult `json:"result,omitempty"` //
}
type GetFulfillmentSkuRelationBySkuResponseDataResult ¶ added in v0.1.2
type GetFulfillmentSkuRelationBySkuResponseDataResult struct {
ErrorMsg string `json:"error_msg"` // [Required]
Data *GetFulfillmentSkuRelationByScItemResponseDataResultData `json:"data"` // [Required]
Failure string `json:"failure"` // [Required]
Success bool `json:"success"` // [Required]
ErrorCode string `json:"error_code"` // [Required]
}
type GetFulfillmentSkuRelationsByScItemsResponse ¶
type GetFulfillmentSkuRelationsByScItemsResponse struct {
BaseResponse // Common response fields
Result *GetFulfillmentSkuRelationByScItemResponseDataResult `json:"result,omitempty"` //
}
type GetFulfillmentSkuRelationsBySkusResponse ¶
type GetFulfillmentSkuRelationsBySkusResponse struct {
BaseResponse // Common response fields
Result *GetFulfillmentSkuRelationByScItemResponseDataResult `json:"result,omitempty"` //
}
type GetGlobalProductExtensionResponse ¶
type GetGlobalProductExtensionResponse struct {
BaseResponse // Common response fields
Response GetGlobalProductExtensionResponseData `json:"data"` // Response data
}
type GetGlobalProductExtensionResponseData ¶ added in v0.1.2
type GetGlobalProductExtensionResponseData struct {
GlobalItemId string `json:"global_item_id"` // [Required]
ItemId int64 `json:"item_id"` // [Required]
Products []ResponseDataProducts `json:"products"` // [Required]
}
type GetGlobalProductStatusResponse ¶
type GetGlobalProductStatusResponse struct {
BaseResponse // Common response fields
Response string `json:"data"` // Response data
}
type GetHistoryReviewIdListResponse ¶
type GetHistoryReviewIdListResponse struct {
BaseResponse // Common response fields
Response GetHistoryReviewIdListResponseData `json:"data"` // Response data
}
type GetHistoryReviewIdListResponseData ¶ added in v0.1.2
type GetIcpOrderFileResponse ¶
type GetIcpOrderFileResponse struct {
BaseResponse // Common response fields
Response GetIcpOrderFileResponseData `json:"data"` // Response data
ErrorMessage string `json:"error_message,omitempty"` //
}
type GetIcpOrderFileResponseData ¶ added in v0.1.2
type GetIcpOrderFileResponseData struct {
Url string `json:"url"` // [Required]
}
type GetInboundOrderDetailResponse ¶
type GetInboundOrderDetailResponse struct {
BaseResponse // Common response fields
Response GetInboundOrderDetailResponseData `json:"data"` // Response data
}
type GetInboundOrderDetailResponseData ¶ added in v0.1.2
type GetInboundOrderDetailResponseData struct {
InboundWarehouse string `json:"inbound_warehouse"` // [Required]
Skus []GetInboundOrderDetailResponseDataSkus `json:"skus"` // [Required]
InboundTime string `json:"inbound_time"` // [Required]
InboundWarehouseCode string `json:"inbound_warehouse_code"` // [Required]
CreatedAt string `json:"created_at"` // [Required]
SellerMobile string `json:"seller_mobile"` // [Required]
SellerCountry string `json:"seller_country"` // [Required]
FulfillmentOrderNumber string `json:"fulfillment_order_number"` // [Required]
NeedReservation string `json:"need_reservation"` // [Required]
SellerPostcode string `json:"seller_postcode"` // [Required]
SellerWarehouseName string `json:"seller_warehouse_name"` // [Required]
UpdatedAt string `json:"updated_at"` // [Required]
EstimateTime string `json:"estimate_time"` // [Required]
DeliveryType string `json:"delivery_type"` // [Required]
SellerContact string `json:"seller_contact"` // [Required]
IoStatus string `json:"io_status"` // [Required]
Comments string `json:"comments"` // [Required]
Marketplace string `json:"marketplace"` // [Required]
WarehouseAddress string `json:"warehouse_address"` // [Required]
ReservationOrder string `json:"reservation_order"` // [Required]
ShopName string `json:"shop_name"` // [Required]
ReferenceNumber string `json:"reference_number"` // [Required]
SellerAddress string `json:"seller_address"` // [Required]
SellerCity string `json:"seller_city"` // [Required]
ReservationStatus string `json:"reservation_status"` // [Required]
WarehouseName string `json:"warehouse_name"` // [Required]
IoType string `json:"io_type"` // [Required]
IoNumber string `json:"io_number"` // [Required]
}
type GetInboundOrderDetailResponseDataSkus ¶ added in v0.1.2
type GetInboundOrderDetailResponseDataSkus struct {
ShelfLifeFlag string `json:"shelf_life_flag"` // [Required]
Comments string `json:"comments"` // [Required]
ItemInboundedDamaged string `json:"item_inbounded_damaged"` // [Required]
RequestedQuantity string `json:"requested_quantity"` // [Required]
SerialNumberFlag string `json:"serial_number_flag"` // [Required]
FulfillmentSku string `json:"fulfillment_sku"` // [Required]
SellerSku []string `json:"seller_sku"` // [Required]
ItemInboundedExpired string `json:"item_inbounded_expired"` // [Required]
ItemInboundedGood string `json:"item_inbounded_good"` // [Required]
SkuStatus string `json:"sku_status"` // [Required]
FulfillmentSkuName string `json:"fulfillment_sku_name"` // [Required]
Barcodes []string `json:"barcodes"` // [Required]
}
type GetInboundOrderListResponse ¶
type GetInboundOrderListResponse struct {
BaseResponse // Common response fields
Result *GetInboundOrderListResponseDataResult `json:"result,omitempty"` //
}
type GetInboundOrderListResponseDataResult ¶ added in v0.1.2
type GetInboundOrderListResponseDataResult struct {
PerPage string `json:"per_page"` // [Required]
Data []GetInboundOrderListResponseDataResultData `json:"data"` // [Required]
TotalCount int64 `json:"total_count"` // [Required]
Page string `json:"page"` // [Required]
}
type GetInboundOrderListResponseDataResultData ¶ added in v0.1.2
type GetInboundOrderListResponseDataResultData struct {
InboundWarehouse string `json:"inbound_warehouse"` // [Required]
InboundTime string `json:"inbound_time"` // [Required]
Marketplace string `json:"marketplace"` // [Required]
ItemInboundedDamaged string `json:"item_inbounded_damaged"` // [Required]
SkuApproved string `json:"sku_approved"` // [Required]
ReservationOrder string `json:"reservation_order"` // [Required]
ItemRequested string `json:"item_requested"` // [Required]
InboundWarehouseCode string `json:"inbound_warehouse_code"` // [Required]
CreatedAt string `json:"created_at"` // [Required]
ItemInboundedExpired string `json:"item_inbounded_expired"` // [Required]
ShopName string `json:"shop_name"` // [Required]
ReferenceNumber string `json:"reference_number"` // [Required]
NeedReservation string `json:"need_reservation"` // [Required]
SkuInbounded string `json:"sku_inbounded"` // [Required]
SkuRequested string `json:"sku_requested"` // [Required]
ReservationStatus string `json:"reservation_status"` // [Required]
UpdatedAt string `json:"updated_at"` // [Required]
EstimateTime string `json:"estimate_time"` // [Required]
DeliveryType string `json:"delivery_type"` // [Required]
IoType string `json:"io_type"` // [Required]
ItemInboundedGood string `json:"item_inbounded_good"` // [Required]
IoNumber string `json:"io_number"` // [Required]
Status string `json:"status"` // [Required]
}
type GetInboundReservationFileResponse ¶
type GetInboundReservationFileResponse struct {
BaseResponse // Common response fields
Response GetInboundReservationFileResponseData `json:"data"` // Response data
ErrorMessage string `json:"error_message,omitempty"` //
}
type GetInboundReservationFileResponseData ¶ added in v0.1.2
type GetInboundReservationFileResponseData struct {
Url string `json:"url"` // [Required]
}
type GetInboundedParcelResponse ¶
type GetInboundedParcelResponse struct {
BaseResponse // Common response fields
Response GetInboundedParcelResponseData `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type GetInboundedParcelResponseData ¶ added in v0.1.2
type GetInboundedParcelResponseData struct {
ServiceType string `json:"serviceType"` // [Required]
CageNumber string `json:"cageNumber"` // [Required]
InboundedAt string `json:"inboundedAt"` // [Required]
OutboundedAt string `json:"outboundedAt"` // [Required]
WarningMessage string `json:"warningMessage"` // [Required]
LostAt string `json:"lostAt"` // [Required]
TrackingNumber string `json:"trackingNumber"` // [Required]
PickupTplSlug string `json:"pickupTplSlug"` // [Required]
LastmileTpl string `json:"lastmileTpl"` // [Required]
Status string `json:"status"` // [Required]
}
type GetInventoryChangedSKUResponse ¶
type GetInventoryChangedSKUResponse struct {
BaseResponse // Common response fields
ErrCode string `json:"errCode,omitempty"` //
ErrMessage string `json:"errMessage,omitempty"` //
Page string `json:"page,omitempty"` //
PerPage string `json:"per_page,omitempty"` //
SkuList []ResponseDataSku `json:"sku_list,omitempty"` //
TotalCount int64 `json:"total_count,omitempty"` //
}
type GetInventoryOccupyDetailsResponse ¶
type GetInventoryOccupyDetailsResponse struct {
BaseResponse // Common response fields
InventoryOccupyDetails []InventoryOccupyDetails `json:"inventoryOccupyDetails,omitempty"` //
}
type GetInventoryOperateLogResponse ¶
type GetInventoryOperateLogResponse struct {
BaseResponse // Common response fields
ErrCode string `json:"errCode,omitempty"` //
ErrMessage string `json:"errMessage,omitempty"` //
InventoryOperateLog []InventoryOperateLog `json:"inventory_operate_log,omitempty"` //
Page string `json:"page,omitempty"` //
PerPage string `json:"per_page,omitempty"` //
TotalCount int64 `json:"total_count,omitempty"` //
}
type GetLatestSignInfoResponse ¶
type GetLatestSignInfoResponse struct {
BaseResponse // Common response fields
AnalyseTraceId string `json:"analyseTraceId,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
Result interface{} `json:"result,omitempty"` //
}
type GetLazadaBigbagPDFLableResponse ¶
type GetLazadaBigbagPDFLableResponse struct {
BaseResponse // Common response fields
Result *GetLazadaBigbagPDFLableResponseDataResult `json:"result,omitempty"` //
}
type GetLazadaBigbagPDFLableResponseDataResult ¶ added in v0.1.2
type GetLinkMember1Response ¶
type GetLinkMember1Response struct {
BaseResponse // Common response fields
Result *GetLinkMemberResponseDataResult `json:"result,omitempty"` //
}
type GetLinkMemberList1Response ¶
type GetLinkMemberList1Response struct {
BaseResponse // Common response fields
Result *GetLinkMemberListResponseDataResult `json:"result,omitempty"` //
}
type GetLinkMemberListResponse ¶
type GetLinkMemberListResponse struct {
BaseResponse // Common response fields
Result *GetLinkMemberListResponseDataResult `json:"result,omitempty"` //
}
type GetLinkMemberListResponseDataResult ¶ added in v0.1.2
type GetLinkMemberListResponseDataResult struct {
ModelList []ResponseDataResultModule `json:"model_list"` // [Required]
TotalCount int64 `json:"total_count"` // [Required]
}
type GetLinkMemberResponse ¶
type GetLinkMemberResponse struct {
BaseResponse // Common response fields
Result *GetLinkMemberResponseDataResult `json:"result,omitempty"` //
}
type GetLinkMemberResponseDataResult ¶ added in v0.1.2
type GetLinkMemberResponseDataResult struct {
Module *ResponseDataResultModule `json:"module"` // [Required]
}
type GetListAccessStationResponse ¶
type GetListAccessStationResponse struct {
BaseResponse // Common response fields
Response GetListAccessStationResponseData `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type GetListAccessStationResponseData ¶ added in v0.1.2
type GetMessagesResponse ¶
type GetMessagesResponse struct {
BaseResponse // Common response fields
Response GetMessagesResponseData `json:"data"` // Response data
ErrCode string `json:"err_code,omitempty"` //
ErrMessage string `json:"err_message,omitempty"` //
}
type GetMessagesResponseData ¶ added in v0.1.2
type GetMetaDataResponse ¶
type GetMetaDataResponse struct {
BaseResponse // Common response fields
Response GetMetaDataResponseData `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type GetMetaDataResponseData ¶ added in v0.1.2
type GetMetaDataResponseData struct {
RejectReasons []RejectReasons `json:"rejectReasons"` // [Required]
}
type GetMultipleOrderItemsRequest ¶ added in v0.1.6
type GetMultipleOrderItemsRequest struct {
OrderIds []int64 `json:"order_ids" url:"order_ids"` // [Required]
}
type GetMultipleOrderItemsResponse ¶
type GetMultipleOrderItemsResponse struct {
BaseResponse // Common response fields
Response []GetMultipleOrderItemsResponseData `json:"data"` // Response data
}
type GetMultipleOrderItemsResponseData ¶ added in v0.1.2
type GetMultipleOrderItemsResponseData struct {
OrderNumber FlexString `json:"order_number"` // [Required]
OrderId FlexInt `json:"order_id"` // [Required]
OrderItems []OrderItems `json:"order_items"` // [Required]
}
type GetNextCascadePropResponse ¶
type GetNextCascadePropResponse struct {
BaseResponse // Common response fields
Response GetNextCascadePropResponseData `json:"data"` // Response data
}
type GetNextCascadePropResponseData ¶ added in v0.1.2
type GetOVOOrdersResponse ¶
type GetOVOOrdersResponse struct {
BaseResponse // Common response fields
Result *GetOVOOrdersResponseDataResult `json:"result,omitempty"` //
}
type GetOVOOrdersResponseDataResult ¶ added in v0.1.2
type GetOVOOrdersResponseDataResult struct {
Success bool `json:"success"` // [Required]
ErrorCode FlexString `json:"errorCode"` // [Required]
TradeOrders []TradeOrders `json:"tradeOrders"` // [Required]
}
type GetOrderItemsFromBarCodeResponse ¶
type GetOrderItemsFromBarCodeResponse struct {
BaseResponse // Common response fields
Response GetOrderItemsFromBarCodeResponseData `json:"data"` // Response data
}
type GetOrderItemsFromBarCodeResponseData ¶ added in v0.1.2
type GetOrderItemsFromBarCodeResponseData struct {
StrartTime string `json:"strart_time"` // [Required]
CertificateCode string `json:"certificate_code"` // [Required]
ItemList []Item `json:"item_list"` // [Required]
BizType string `json:"biz_type"` // [Required]
EndTime string `json:"end_time"` // [Required]
TradeOrderId string `json:"trade_order_id"` // [Required]
CodeStatus string `json:"code_status"` // [Required]
OuterId string `json:"outer_id"` // [Required]
SerialNum string `json:"serial_num"` // [Required]
}
type GetOrderItemsRequest ¶ added in v0.1.6
type GetOrderItemsRequest struct {
OrderIds []int64 `json:"order_ids" url:"order_ids"` // [Required]
}
type GetOrderItemsResponse ¶
type GetOrderItemsResponse struct {
BaseResponse // Common response fields
Response GetOrderItemsResponseData `json:"data"` // Response data
}
type GetOrderItemsResponseData ¶ added in v0.1.2
type GetOrderItemsResponseData struct {
PickUpStoreInfo *PickUpStoreInfo `json:"pick_up_store_info"` // [Required]
TaxAmount FlexString `json:"tax_amount"` // [Required]
Reason FlexString `json:"reason"` // [Required]
SlaTimeStamp FlexString `json:"sla_time_stamp"` // [Required]
ShowGiftwrappingTag FlexString `json:"show_giftwrapping_tag"` // [Required]
VoucherSeller FlexString `json:"voucher_seller"` // [Required]
PurchaseOrderId FlexString `json:"purchase_order_id"` // [Required]
PaymentTime FlexString `json:"payment_time"` // [Required]
VoucherCodeSeller FlexString `json:"voucher_code_seller"` // [Required]
VoucherCode FlexString `json:"voucher_code"` // [Required]
PackageId FlexString `json:"package_id"` // [Required]
BuyerId FlexString `json:"buyer_id"` // [Required]
Variation FlexString `json:"variation"` // [Required]
IsCancelPending FlexString `json:"is_cancel_pending"` // [Required]
BizGroup FlexString `json:"biz_group"` // [Required]
ProductId FlexInt `json:"product_id"` // [Required]
VoucherCodePlatform FlexString `json:"voucher_code_platform"` // [Required]
PurchaseOrderNumber FlexString `json:"purchase_order_number"` // [Required]
Sku FlexString `json:"sku"` // [Required]
GiftWrapping FlexString `json:"gift_wrapping"` // [Required]
ScheduleDeliveryStartTimeslot FlexString `json:"schedule_delivery_start_timeslot"` // [Required]
OrderType FlexString `json:"order_type"` // [Required]
InvoiceNumber FlexString `json:"invoice_number"` // [Required]
ShowPersonalizationTag FlexString `json:"show_personalization_tag"` // [Required]
CanEscalatePickup FlexString `json:"can_escalate_pickup"` // [Required]
CancelTriggerTime FlexString `json:"cancel_trigger_time"` // [Required]
CancelReturnInitiator FlexString `json:"cancel_return_initiator"` // [Required]
ShopSku FlexString `json:"shop_sku"` // [Required]
IsReroute FlexString `json:"is_reroute"` // [Required]
StagePayStatus FlexString `json:"stage_pay_status"` // [Required]
SkuId FlexInt `json:"sku_id"` // [Required]
TrackingCodePre FlexString `json:"tracking_code_pre"` // [Required]
OrderItemId FlexInt `json:"order_item_id"` // [Required]
ShopId FlexString `json:"shop_id"` // [Required]
OrderFlag FlexString `json:"order_flag"` // [Required]
IsFbl FlexString `json:"is_fbl"` // [Required]
Name FlexString `json:"name"` // [Required]
DeliveryOptionSof FlexString `json:"delivery_option_sof"` // [Required]
OrderId FlexInt `json:"order_id"` // [Required]
FulfillmentSla FlexString `json:"fulfillment_sla"` // [Required]
NeedCancelConfirm FlexString `json:"need_cancel_confirm"` // [Required]
Status FlexString `json:"status"` // [Required]
ProductMainImage FlexString `json:"product_main_image"` // [Required]
VoucherPlatform FlexString `json:"voucher_platform"` // [Required]
PaidPrice FlexString `json:"paid_price"` // [Required]
ProductDetailUrl FlexString `json:"product_detail_url"` // [Required]
WarehouseCode FlexString `json:"warehouse_code"` // [Required]
PromisedShippingTime FlexString `json:"promised_shipping_time"` // [Required]
ShippingType FlexString `json:"shipping_type"` // [Required]
CreatedAt FlexString `json:"created_at"` // [Required]
SupplyPrice FlexString `json:"supply_price"` // [Required]
Mp3Order FlexString `json:"mp3_order"` // [Required]
VoucherSellerLpi FlexString `json:"voucher_seller_lpi"` // [Required]
ShippingFeeDiscountPlatform FlexString `json:"shipping_fee_discount_platform"` // [Required]
Personalization FlexString `json:"personalization"` // [Required]
WalletCredits FlexString `json:"wallet_credits"` // [Required]
ReverseOrderId FlexString `json:"reverse_order_id"` // [Required]
UpdatedAt FlexString `json:"updated_at"` // [Required]
Currency FlexString `json:"currency"` // [Required]
ShippingProviderType FlexString `json:"shipping_provider_type"` // [Required]
VoucherPlatformLpi FlexString `json:"voucher_platform_lpi"` // [Required]
ShippingFeeOriginal FlexString `json:"shipping_fee_original"` // [Required]
ScheduleDeliveryEndTimeslot FlexString `json:"schedule_delivery_end_timeslot"` // [Required]
ItemPrice FlexString `json:"item_price"` // [Required]
IsDigital FlexString `json:"is_digital"` // [Required]
ShippingServiceCost FlexString `json:"shipping_service_cost"` // [Required]
TrackingCode FlexString `json:"tracking_code"` // [Required]
ShippingFeeDiscountSeller FlexString `json:"shipping_fee_discount_seller"` // [Required]
ShippingAmount FlexString `json:"shipping_amount"` // [Required]
ReasonDetail FlexString `json:"reason_detail"` // [Required]
ReturnStatus FlexString `json:"return_status"` // [Required]
SemiManaged FlexString `json:"semi_managed"` // [Required]
ShipmentProvider FlexString `json:"shipment_provider"` // [Required]
PriorityFulfillmentTag FlexString `json:"priority_fulfillment_tag"` // [Required]
VoucherAmount FlexString `json:"voucher_amount"` // [Required]
SupplyPriceCurrency FlexString `json:"supply_price_currency"` // [Required]
DigitalDeliveryInfo FlexString `json:"digital_delivery_info"` // [Required]
ExtraAttributes FlexString `json:"extra_attributes"` // [Required]
ModelQuantityPurchased FlexInt `json:"model_quantity_purchased"` //
}
type GetOrderResponse ¶
type GetOrderResponse struct {
BaseResponse // Common response fields
Response GetOrderResponseData `json:"data"` // Response data
}
type GetOrderResponseData ¶ added in v0.1.2
type GetOrderResponseData struct {
Voucher FlexString `json:"voucher"` // [Required]
WarehouseCode FlexString `json:"warehouse_code"` // [Required]
OrderNumber FlexString `json:"order_number"` // [Required]
CreatedAt FlexString `json:"created_at"` // [Required]
VoucherCode FlexString `json:"voucher_code"` // [Required]
GiftOption FlexString `json:"gift_option"` // [Required]
IsCancelPending FlexString `json:"is_cancel_pending"` // [Required]
ShippingFeeDiscountPlatform FlexString `json:"shipping_fee_discount_platform"` // [Required]
CustomerLastName FlexString `json:"customer_last_name"` // [Required]
UpdatedAt FlexString `json:"updated_at"` // [Required]
PromisedShippingTimes FlexString `json:"promised_shipping_times"` // [Required]
Price FlexFloat `json:"price"` // [Required]
NationalRegistrationNumber FlexString `json:"national_registration_number"` // [Required]
ShippingFeeOriginal FlexString `json:"shipping_fee_original"` // [Required]
PaymentMethod FlexString `json:"payment_method"` // [Required]
RecipientInfo *RecipientInfo `json:"recipient_info"` // [Required]
BuyerNote FlexString `json:"buyer_note"` // [Required]
CustomerFirstName FlexString `json:"customer_first_name"` // [Required]
ShippingFeeDiscountSeller FlexString `json:"shipping_fee_discount_seller"` // [Required]
ShippingFee FlexString `json:"shipping_fee"` // [Required]
BranchNumber FlexString `json:"branch_number"` // [Required]
TaxCode FlexString `json:"tax_code"` // [Required]
ItemsCount FlexString `json:"items_count"` // [Required]
DeliveryInfo FlexString `json:"delivery_info"` // [Required]
Statuses []interface{} `json:"statuses"` // [Required]
AddressBilling *ResponseDataAddressBilling `json:"address_billing"` // [Required]
ExtraAttributes FlexString `json:"extra_attributes"` // [Required]
OrderId FlexInt `json:"order_id"` // [Required]
NeedCancelConfirm FlexString `json:"need_cancel_confirm"` // [Required]
GiftMessage FlexString `json:"gift_message"` // [Required]
Remarks FlexString `json:"remarks"` // [Required]
AddressShipping *ResponseDataAddressBilling `json:"address_shipping"` // [Required]
}
type GetOrderTraceResponse ¶
type GetOrderTraceResponse struct {
BaseResponse // Common response fields
Result *GetOrderTraceResponseDataResult `json:"result,omitempty"` //
}
type GetOrderTraceResponseDataResult ¶ added in v0.1.2
type GetOrderTraceResponseDataResult struct {
NotSuccess string `json:"not_success"` // [Required]
Success bool `json:"success"` // [Required]
Module []ResultModule `json:"module"` // [Required]
ErrorCode *ResponseDataErrorCode `json:"error_code"` // [Required]
Repeated string `json:"repeated"` // [Required]
Retry string `json:"retry"` // [Required]
}
type GetOrdersRequest ¶ added in v0.1.6
type GetOrdersRequest struct {
CreatedAfter string `json:"created_after" url:"created_after"` // [Required]
CreatedBefore *string `json:"created_before,omitempty" url:"created_before,omitempty"` // [Optional]
UpdateAfter *string `json:"update_after,omitempty" url:"update_after,omitempty"` // [Optional]
SortBy *string `json:"sort_by,omitempty" url:"sort_by,omitempty"` // [Optional]
SortDirection *string `json:"sort_direction,omitempty" url:"sort_direction,omitempty"` // [Optional]
Offset *int64 `json:"offset,omitempty" url:"offset,omitempty"` // [Optional]
Limit *int64 `json:"limit,omitempty" url:"limit,omitempty"` // [Optional]
}
type GetOrdersResponse ¶
type GetOrdersResponse struct {
BaseResponse // Common response fields
Response GetOrdersResponseData `json:"data"` // Response data
}
type GetOrdersResponseData ¶ added in v0.1.2
type GetOrdersResponseData struct {
Count FlexInt `json:"count"` // [Required]
CountTotal FlexInt `json:"countTotal"` // [Required]
Orders []ResponseDataOrders `json:"orders"` // [Required]
}
type GetOutboundOrderDetailResponse ¶
type GetOutboundOrderDetailResponse struct {
BaseResponse // Common response fields
Response GetOutboundOrderDetailResponseData `json:"data"` // Response data
}
type GetOutboundOrderDetailResponseData ¶ added in v0.1.2
type GetOutboundOrderDetailResponseData struct {
Skus []GetOutboundOrderDetailResponseDataSkus `json:"skus"` // [Required]
CreatedAt string `json:"created_at"` // [Required]
SellerMobile string `json:"seller_mobile"` // [Required]
SellerCountry string `json:"seller_country"` // [Required]
FulfillmentOrderNumber string `json:"fulfillment_order_number"` // [Required]
SellerPostcode string `json:"seller_postcode"` // [Required]
OutboundOrderNo string `json:"outbound_order_no"` // [Required]
SellerWarehouseName string `json:"seller_warehouse_name"` // [Required]
UpdatedAt string `json:"updated_at"` // [Required]
EstimateTime string `json:"estimate_time"` // [Required]
OutboundWarehouse string `json:"outbound_warehouse"` // [Required]
DeliveryType string `json:"delivery_type"` // [Required]
SellerContact string `json:"seller_contact"` // [Required]
OutboundWarehouseCode string `json:"outbound_warehouse_code"` // [Required]
OutboundReason string `json:"outbound_reason"` // [Required]
Comments string `json:"comments"` // [Required]
Marketplace string `json:"marketplace"` // [Required]
WarehouseAddress string `json:"warehouse_address"` // [Required]
OutboundTime string `json:"outbound_time"` // [Required]
ShopName string `json:"shop_name"` // [Required]
ReferenceNumber string `json:"reference_number"` // [Required]
CreatedBy string `json:"created_by"` // [Required]
SellerAddress string `json:"seller_address"` // [Required]
SellerCity string `json:"seller_city"` // [Required]
ItemOutbounded string `json:"item_outbounded"` // [Required]
WarehouseName string `json:"warehouse_name"` // [Required]
InventoryType string `json:"inventory_type"` // [Required]
Status string `json:"status"` // [Required]
}
type GetOutboundOrderDetailResponseDataSkus ¶ added in v0.1.2
type GetOutboundOrderDetailResponseDataSkus struct {
ItemOutbounded string `json:"item_outbounded"` // [Required]
ShelfLifeFlag string `json:"shelf_life_flag"` // [Required]
Comments string `json:"comments"` // [Required]
RequestedQuantity string `json:"requested_quantity"` // [Required]
SerialNumberFlag string `json:"serial_number_flag"` // [Required]
FulfillmentSku string `json:"fulfillment_sku"` // [Required]
SellerSku []string `json:"seller_sku"` // [Required]
SkuStatus string `json:"sku_status"` // [Required]
FulfillmentSkuName string `json:"fulfillment_sku_name"` // [Required]
Barcodes []string `json:"barcodes"` // [Required]
}
type GetOutboundOrderListResponse ¶
type GetOutboundOrderListResponse struct {
BaseResponse // Common response fields
Result *GetOutboundOrderListResponseDataResult `json:"result,omitempty"` //
}
type GetOutboundOrderListResponseDataResult ¶ added in v0.1.2
type GetOutboundOrderListResponseDataResult struct {
PerPage string `json:"per_page"` // [Required]
Data []GetOutboundOrderListResponseDataResultData `json:"data"` // [Required]
TotalCount int64 `json:"total_count"` // [Required]
Page string `json:"page"` // [Required]
}
type GetOutboundOrderListResponseDataResultData ¶ added in v0.1.2
type GetOutboundOrderListResponseDataResultData struct {
Marketplace string `json:"marketplace"` // [Required]
SkuApproved string `json:"sku_approved"` // [Required]
ItemRequested string `json:"item_requested"` // [Required]
CreatedAt string `json:"created_at"` // [Required]
OutboundTime string `json:"outbound_time"` // [Required]
ShopName string `json:"shop_name"` // [Required]
FulfillmentOrderNumber string `json:"fulfillment_order_number"` // [Required]
ReferenceNumber string `json:"reference_number"` // [Required]
CreatedBy string `json:"created_by"` // [Required]
ItemOutbounded string `json:"item_outbounded"` // [Required]
SkuRequested string `json:"sku_requested"` // [Required]
UpdatedAt string `json:"updated_at"` // [Required]
EstimateTime string `json:"estimate_time"` // [Required]
DeliveryType string `json:"delivery_type"` // [Required]
OutboundWarehouse string `json:"outbound_warehouse"` // [Required]
OutboundWarehouseCode string `json:"outbound_warehouse_code"` // [Required]
SkuOutbounded string `json:"sku_outbounded"` // [Required]
OutboundReason string `json:"outbound_reason"` // [Required]
OoNumber string `json:"oo_number"` // [Required]
Status string `json:"status"` // [Required]
}
type GetPayoutStatusResponse ¶
type GetPayoutStatusResponse struct {
BaseResponse // Common response fields
Response GetPayoutStatusResponseData `json:"data"` // Response data
}
type GetPayoutStatusResponseData ¶ added in v0.1.2
type GetPayoutStatusResponseData struct {
Subtotal2 string `json:"subtotal2"` // [Required]
Subtotal1 string `json:"subtotal1"` // [Required]
ShipmentFeeCredit string `json:"shipment_fee_credit"` // [Required]
Payout string `json:"payout"` // [Required]
ItemRevenue string `json:"item_revenue"` // [Required]
CreatedAt string `json:"created_at"` // [Required]
OtherRevenueTotal string `json:"other_revenue_total"` // [Required]
FeesTotal string `json:"fees_total"` // [Required]
Refunds string `json:"refunds"` // [Required]
GuaranteeDeposit string `json:"guarantee_deposit"` // [Required]
UpdatedAt string `json:"updated_at"` // [Required]
FeesOnRefundsTotal string `json:"fees_on_refunds_total"` // [Required]
ClosingBalance string `json:"closing_balance"` // [Required]
Paid string `json:"paid"` // [Required]
OpeningBalance string `json:"opening_balance"` // [Required]
StatementNumber string `json:"statement_number"` // [Required]
ShipmentFee string `json:"shipment_fee"` // [Required]
}
type GetPickUpStoreListResponse ¶
type GetPickUpStoreListResponse struct {
BaseResponse // Common response fields
Result *GetPickUpStoreListResponseDataResult `json:"result,omitempty"` //
}
type GetPickUpStoreListResponseDataResult ¶ added in v0.1.2
type GetPickUpStoreListResponseDataResult struct {
BizExtMap interface{} `json:"biz_ext_map"` // [Required]
Headers interface{} `json:"headers"` // [Required]
MsgCode string `json:"msg_code"` // [Required]
HttpStatusCode string `json:"http_status_code"` // [Required]
Success bool `json:"success"` // [Required]
MsgInfo string `json:"msg_info"` // [Required]
Model interface{} `json:"model"` // [Required]
MappingCode string `json:"mapping_code"` // [Required]
}
type GetPlatformProductsV2Response ¶
type GetPlatformProductsV2Response struct {
BaseResponse // Common response fields
Response GetPlatformProductsV2ResponseData `json:"data"` // Response data
}
type GetPlatformProductsV2ResponseData ¶ added in v0.1.2
type GetPlatformProductsV2ResponseData struct {
Skus []GetPlatformProductsV2ResponseDataSkus `json:"skus"` // [Required]
Marketplace string `json:"marketplace"` // [Required]
ProductId int64 `json:"product_id"` // [Required]
PlatformSkuName string `json:"platform_sku_name"` // [Required]
Source string `json:"source"` // [Required]
Status string `json:"status"` // [Required]
}
type GetPlatformProductsV2ResponseDataSkus ¶ added in v0.1.2
type GetPlatformProductsV2ResponseDataSkus struct {
FulfillmentSku string `json:"fulfillment_sku"` // [Required]
SellerSku string `json:"seller_sku"` // [Required]
ExtendFields string `json:"extend_fields"` // [Required]
SkuStatus string `json:"sku_status"` // [Required]
PlatformSku string `json:"platform_sku"` // [Required]
FulfillmentSkuName string `json:"fulfillment_sku_name"` // [Required]
}
type GetPreQcRulesResponse ¶
type GetPreQcRulesResponse struct {
BaseResponse // Common response fields
Values *Values `json:"values,omitempty"` //
}
type GetProductBatchListResponse ¶
type GetProductBatchListResponse struct {
BaseResponse // Common response fields
Result *GetProductBatchListResponseDataResult `json:"result,omitempty"` //
}
type GetProductBatchListResponseDataResult ¶ added in v0.1.2
type GetProductBatchListResponseDataResult struct {
ErrorMessage string `json:"error_message"` // [Required]
Data *GetProductBatchListResponseDataResultData `json:"data"` // [Required]
Success bool `json:"success"` // [Required]
ErrorCode string `json:"error_code"` // [Required]
}
type GetProductBatchListResponseDataResultData ¶ added in v0.1.2
type GetProductContentScoreResponse ¶
type GetProductContentScoreResponse struct {
BaseResponse // Common response fields
Result *GetProductContentScoreResponseDataResult `json:"result,omitempty"` //
}
type GetProductContentScoreResponseDataResult ¶ added in v0.1.2
type GetProductContentScoreResponseDataResult struct {
Data *GetProductContentScoreResponseDataResultData `json:"data"` // [Required]
}
type GetProductContentScoreResponseDataResultData ¶ added in v0.1.2
type GetProductContentScoreResponseDataResultData struct {
ProductTitle string `json:"productTitle"` // [Required]
Score string `json:"score"` // [Required]
Image string `json:"image"` // [Required]
Total int64 `json:"total"` // [Required]
ProductId string `json:"productId"` // [Required]
Items []DataItems `json:"items"` // [Required]
}
type GetProductItemRequest ¶
type GetProductItemRequest struct {
ItemId int64 `json:"item_id" url:"item_id"` // [Required]
}
type GetProductItemResponse ¶
type GetProductItemResponse struct {
BaseResponse // Common response fields
Response GetProductItemResponseData `json:"data"` // Response data
}
type GetProductItemResponseData ¶
type GetProductItemResponseData struct {
CreatedTime string `json:"created_time"` // [Required]
UpdatedTime string `json:"updated_time"` // [Required]
Images []string `json:"images"` // [Required]
Skus []GetProductItemResponseDataSkus `json:"skus"` // [Required]
ImageSequence *ImageSequence `json:"imageSequence"` // [Required]
ItemId int64 `json:"item_id"` // [Required]
HiddenStatus string `json:"hiddenStatus"` // [Required]
BizSupplement *ResponseDataBizSupplement `json:"bizSupplement"` // [Required]
SuspendedSkus []interface{} `json:"suspendedSkus"` // [Required]
SubStatus string `json:"subStatus"` // [Required]
Variation *Variation `json:"variation"` // [Required]
TrialProduct bool `json:"trialProduct"` // [Required]
RejectReason []RejectReason `json:"rejectReason"` // [Required]
PrimaryCategory int64 `json:"primary_category"` // [Required]
MarketImages []string `json:"marketImages"` // [Required]
Attributes *ResponseDataAttributes `json:"attributes"` // [Required]
HiddenReason string `json:"hiddenReason"` // [Required]
Status string `json:"status"` // [Required]
}
type GetProductItemResponseDataSkus ¶ added in v0.1.2
type GetProductItemResponseDataSkus struct {
Status string `json:"Status"` // [Required]
Quantity int64 `json:"quantity"` // [Required]
ImageSequence *ImageSequence `json:"ImageSequence"` // [Required]
ProductWeight string `json:"product_weight"` // [Required]
Images []string `json:"Images"` // [Required]
SellerSku string `json:"SellerSku"` // [Required]
ShopSku string `json:"ShopSku"` // [Required]
Url string `json:"Url"` // [Required]
ComingSoon string `json:"coming_soon"` // [Required]
PackageWidth string `json:"package_width"` // [Required]
SpecialToTime string `json:"special_to_time"` // [Required]
SpecialFromTime string `json:"special_from_time"` // [Required]
PackageHeight string `json:"package_height"` // [Required]
SpecialPrice int64 `json:"special_price"` // [Required]
Price float64 `json:"price"` // [Required]
PackageLength string `json:"package_length"` // [Required]
PackageWeight string `json:"package_weight"` // [Required]
Available int64 `json:"Available"` // [Required]
SkuId int64 `json:"SkuId"` // [Required]
SpecialToDate string `json:"special_to_date"` // [Required]
}
type GetProductsRequest ¶
type GetProductsRequest struct {
Filter *string `json:"filter,omitempty" url:"filter,omitempty"` // [Optional]
CreatedAfter *string `json:"created_after,omitempty" url:"created_after,omitempty"` // [Optional]
CreatedBefore *string `json:"created_before,omitempty" url:"created_before,omitempty"` // [Optional]
Offset *int64 `json:"offset,omitempty" url:"offset,omitempty"` // [Optional]
Limit *int64 `json:"limit,omitempty" url:"limit,omitempty"` // [Optional]
}
type GetProductsResponse ¶
type GetProductsResponse struct {
BaseResponse // Common response fields
Response GetProductsResponseData `json:"data"` // Response data
}
type GetProductsResponseData ¶
type GetProductsResponseData struct {
TotalProducts int64 `json:"total_products"` // [Required]
Products []GetProductsResponseDataProducts `json:"products"` // [Required]
}
type GetProductsResponseDataProducts ¶ added in v0.1.2
type GetProductsResponseDataProducts struct {
CreatedTime string `json:"created_time"` // [Required]
UpdatedTime string `json:"updated_time"` // [Required]
Images []string `json:"images"` // [Required]
Skus []GetProductsResponseDataProductsSkus `json:"skus"` // [Required]
ItemId int64 `json:"item_id"` // [Required]
HiddenStatus string `json:"hiddenStatus"` // [Required]
SuspendedSkus []interface{} `json:"suspendedSkus"` // [Required]
SubStatus string `json:"subStatus"` // [Required]
TrialProduct bool `json:"trialProduct"` // [Required]
RejectReason []RejectReason `json:"rejectReason"` // [Required]
PrimaryCategory int64 `json:"primary_category"` // [Required]
MarketImages []string `json:"marketImages"` // [Required]
Attributes *ResponseDataAttributes `json:"attributes"` // [Required]
HiddenReason string `json:"hiddenReason"` // [Required]
Status string `json:"status"` // [Required]
}
type GetProductsResponseDataProductsSkus ¶ added in v0.1.2
type GetProductsResponseDataProductsSkus struct {
Status string `json:"Status"` // [Required]
Quantity int64 `json:"quantity"` // [Required]
ProductWeight string `json:"product_weight"` // [Required]
Images []string `json:"Images"` // [Required]
SellerSku string `json:"SellerSku"` // [Required]
ShopSku string `json:"ShopSku"` // [Required]
Url string `json:"Url"` // [Required]
PackageWidth string `json:"package_width"` // [Required]
SpecialToTime string `json:"special_to_time"` // [Required]
SpecialFromTime string `json:"special_from_time"` // [Required]
PackageHeight string `json:"package_height"` // [Required]
SpecialPrice int64 `json:"special_price"` // [Required]
Price float64 `json:"price"` // [Required]
PackageLength string `json:"package_length"` // [Required]
PackageWeight string `json:"package_weight"` // [Required]
Available int64 `json:"Available"` // [Required]
SkuId int64 `json:"SkuId"` // [Required]
SpecialToDate string `json:"special_to_date"` // [Required]
}
type GetQCAlertProductsResponse ¶
type GetQCAlertProductsResponse struct {
BaseResponse // Common response fields
Response GetQCAlertProductsResponseData `json:"data"` // Response data
}
type GetQCAlertProductsResponseData ¶ added in v0.1.2
type GetRecommendPriceResponse ¶
type GetRecommendPriceResponse struct {
BaseResponse // Common response fields
Response GetRecommendPriceResponseData `json:"data"` // Response data
}
type GetRecommendPriceResponseData ¶ added in v0.1.2
type GetRecommendPriceResponseData struct {
GlobalItemId string `json:"global_item_id"` // [Required]
Skus []ResponseDataSkus `json:"skus"` // [Required]
ItemId int64 `json:"item_id"` // [Required]
}
type GetReportCampaignOnFIrstSlotResponse ¶
type GetReportCampaignOnFIrstSlotResponse struct {
BaseResponse // Common response fields
Result *GetReportCampaignOnFIrstSlotResponseDataResult `json:"result,omitempty"` //
}
type GetReportCampaignOnFIrstSlotResponseDataResult ¶ added in v0.1.2
type GetReportCampaignOnFIrstSlotResponseDataResult struct {
Result []GetReportCampaignOnFIrstSlotResponseDataResultResult `json:"result"` // [Required]
ErrorKey string `json:"errorKey"` // [Required]
ErrorDTOList []interface{} `json:"errorDTOList"` // [Required]
Success bool `json:"success"` // [Required]
AnalyseTraceId string `json:"analyseTraceId"` // [Required]
ErrorCode string `json:"errorCode"` // [Required]
TotalCount string `json:"totalCount"` // [Required]
ErrorMsg string `json:"errorMsg"` // [Required]
}
type GetReportCampaignOnFIrstSlotResponseDataResultResult ¶ added in v0.1.2
type GetReportCampaignOnFIrstSlotResponseDataResultResult struct {
Ctr string `json:"ctr"` // [Required]
CampaignObjective string `json:"campaignObjective"` // [Required]
CampaignType string `json:"campaignType"` // [Required]
CampaignId string `json:"campaignId"` // [Required]
StoreRevenue string `json:"storeRevenue"` // [Required]
StoreCvr string `json:"storeCvr"` // [Required]
StoreA2c string `json:"storeA2c"` // [Required]
StoreOrders string `json:"storeOrders"` // [Required]
ProductUnitSold string `json:"productUnitSold"` // [Required]
Impressions string `json:"impressions"` // [Required]
ProductCvr string `json:"productCvr"` // [Required]
ProductOrders string `json:"productOrders"` // [Required]
StoreRoi string `json:"storeRoi"` // [Required]
Cpc string `json:"cpc"` // [Required]
Spend string `json:"spend"` // [Required]
Clicks string `json:"clicks"` // [Required]
ProductRevenue string `json:"productRevenue"` // [Required]
StoreUnitSold string `json:"storeUnitSold"` // [Required]
CampaignName string `json:"campaignName"` // [Required]
ProductType string `json:"productType"` // [Required]
DayBudget string `json:"dayBudget"` // [Required]
ProductA2c string `json:"productA2c"` // [Required]
}
type GetReportOverviewMetricResponse ¶
type GetReportOverviewMetricResponse struct {
BaseResponse // Common response fields
AnalyseTraceId string `json:"analyseTraceId,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
Result *GetReportOverviewMetricResponseDataResult `json:"result,omitempty"` //
}
type GetReportOverviewMetricResponseDataResult ¶ added in v0.1.2
type GetReportOverviewResponse ¶
type GetReportOverviewResponse struct {
BaseResponse // Common response fields
AnalyseTraceId string `json:"analyseTraceId,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
Result *GetReportOverviewResponseDataResult `json:"result,omitempty"` //
}
type GetReportOverviewResponseDataResult ¶ added in v0.1.2
type GetReportOverviewResponseDataResult struct {
LastReportOverviewDetailDTO *LastReportOverviewDetailDTO `json:"lastReportOverviewDetailDTO"` // [Required]
ReportOverviewDetailDTO *LastReportOverviewDetailDTO `json:"reportOverviewDetailDTO"` // [Required]
}
type GetResponseResponse ¶
type GetResponseResponse struct {
BaseResponse // Common response fields
Response GetResponseResponseData `json:"data"` // Response data
}
type GetResponseResponseData ¶ added in v0.1.2
type GetResponseResponseData struct {
Images []string `json:"images"` // [Required]
Errors []GetResponseResponseDataErrors `json:"errors"` // [Required]
}
type GetResponseResponseDataErrors ¶ added in v0.1.2
type GetReverseOrderDetailResponse ¶
type GetReverseOrderDetailResponse struct {
BaseResponse // Common response fields
Response GetReverseOrderDetailResponseData `json:"data"` // Response data
}
type GetReverseOrderDetailResponseData ¶ added in v0.1.2
type GetReverseOrderDetailResponseData struct {
ReverseOrderId string `json:"reverse_order_id"` // [Required]
RequestType string `json:"request_type"` // [Required]
ReverseOrderLineDTOList []ReverseOrderLineDTO `json:"reverseOrderLineDTOList"` // [Required]
ShippingType string `json:"shipping_type"` // [Required]
IsRtm string `json:"is_rtm"` // [Required]
TradeOrderId string `json:"trade_order_id"` // [Required]
}
type GetReverseOrderHistoryListResponse ¶
type GetReverseOrderHistoryListResponse struct {
BaseResponse // Common response fields
Response GetReverseOrderHistoryListResponseData `json:"data"` // Response data
}
type GetReverseOrderHistoryListResponseData ¶ added in v0.1.2
type GetReverseOrderHistoryListResponseData struct {
PageInfo *ResponseDataPageInfo `json:"page_info"` // [Required]
List []List `json:"list"` // [Required]
}
type GetReverseOrderReasonListResponse ¶
type GetReverseOrderReasonListResponse struct {
BaseResponse // Common response fields
Response GetReverseOrderReasonListResponseData `json:"data"` // Response data
}
type GetReverseOrderReasonListResponseData ¶ added in v0.1.2
type GetReverseOrdersForSellerRequest ¶ added in v0.1.3
type GetReverseOrdersForSellerRequest struct {
PageNo int64 `json:"page_no" url:"page_no"` // [Required]
PageSize int64 `json:"page_size" url:"page_size"` // [Required]
RequestTypeList []string `json:"request_type_list,omitempty" url:"request_type_list,omitempty"` // [Optional]
OfcStatusList []string `json:"ofc_status_list,omitempty" url:"ofc_status_list,omitempty"` // [Optional]
ReverseStatusList []string `json:"reverse_status_list,omitempty" url:"reverse_status_list,omitempty"` // [Optional]
ReverseOrderId *int64 `json:"reverse_order_id,omitempty" url:"reverse_order_id,omitempty"` // [Optional]
TradeOrderId *int64 `json:"trade_order_id,omitempty" url:"trade_order_id,omitempty"` // [Optional]
ReturnToType *string `json:"return_to_type,omitempty" url:"return_to_type,omitempty"` // [Optional]
DisputeInProgress *bool `json:"dispute_in_progress,omitempty" url:"dispute_in_progress,omitempty"` // [Optional]
TradeOrderLineCreatedTimeRangeStart *int64 `json:"TradeOrderLineCreatedTimeRangeStart,omitempty" url:"TradeOrderLineCreatedTimeRangeStart,omitempty"` // [Optional]
TradeOrderLineCreatedTimeRangeEnd *int64 `json:"TradeOrderLineCreatedTimeRangeEnd,omitempty" url:"TradeOrderLineCreatedTimeRangeEnd,omitempty"` // [Optional]
ReverseOrderLineTimeRangeStart *int64 `json:"ReverseOrderLineTimeRangeStart,omitempty" url:"ReverseOrderLineTimeRangeStart,omitempty"` // [Optional]
ReverseOrderLineTimeRangeEnd *int64 `json:"ReverseOrderLineTimeRangeEnd,omitempty" url:"ReverseOrderLineTimeRangeEnd,omitempty"` // [Optional]
ReverseOrderLineModifiedTimeRangeStart *int64 `json:"ReverseOrderLineModifiedTimeRangeStart,omitempty" url:"ReverseOrderLineModifiedTimeRangeStart,omitempty"` // [Optional]
ReverseOrderLineModifiedTimeRangeEnd *int64 `json:"ReverseOrderLineModifiedTimeRangeEnd,omitempty" url:"ReverseOrderLineModifiedTimeRangeEnd,omitempty"` // [Optional]
QCDecision *string `json:"QC_Decision,omitempty" url:"QC_Decision,omitempty"` // [Optional]
}
type GetReverseOrdersForSellerResponse ¶
type GetReverseOrdersForSellerResponse struct {
BaseResponse // Common response fields
Response GetReverseOrdersForSellerResponseData `json:"result"` // Response data
}
type GetReverseOrdersForSellerResponseData ¶ added in v0.1.3
type GetReverseOrdersForSellerResponseData struct {
Result *GetReverseOrdersForSellerResponseDataResult `json:"result"` // Response data
}
type GetReverseOrdersForSellerResponseDataItems ¶ added in v0.1.3
type GetReverseOrdersForSellerResponseDataItems struct {
ReverseOrderLines []ReverseOrderLines `json:"reverse_order_lines"` // [Required]
ReverseOrderId FlexString `json:"reverse_order_id"` // [Required]
RequestType string `json:"request_type"` // [Required]
IsRtm FlexString `json:"is_rtm"` // [Required]
ShippingType string `json:"shipping_type"` // [Required]
TradeOrderId FlexString `json:"trade_order_id"` // [Required]
}
type GetReverseOrdersForSellerResponseDataResult ¶ added in v0.1.2
type GetReverseOrdersForSellerResponseDataResult struct {
Total FlexInt `json:"total"` // [Required]
Success FlexString `json:"success"` // [Required]
PageNo FlexString `json:"page_no"` // [Required]
Items []GetReverseOrdersForSellerResponseDataItems `json:"items"` // [Required]
PageSize FlexInt `json:"page_size"` // [Required]
}
type GetReviewListByIdListResponse ¶
type GetReviewListByIdListResponse struct {
BaseResponse // Common response fields
Response GetReviewListByIdListResponseData `json:"data"` // Response data
}
type GetReviewListByIdListResponseData ¶ added in v0.1.2
type GetScannedParcelResponse ¶
type GetScannedParcelResponse struct {
BaseResponse // Common response fields
Response GetScannedParcelResponseData `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type GetScannedParcelResponseData ¶ added in v0.1.2
type GetScannedParcelResponseData struct {
ServiceType string `json:"serviceType"` // [Required]
CreatedAt string `json:"createdAt"` // [Required]
CageNumber string `json:"cageNumber"` // [Required]
SellerName string `json:"sellerName"` // [Required]
WarningMessage string `json:"warningMessage"` // [Required]
TrackingNumber string `json:"trackingNumber"` // [Required]
PickupTplSlug string `json:"pickupTplSlug"` // [Required]
LastmileTpl string `json:"lastmileTpl"` // [Required]
}
type GetSellerItemLimitResponse ¶
type GetSellerItemLimitResponse struct {
BaseResponse // Common response fields
Response GetSellerItemLimitResponseData `json:"data"` // Response data
ErrorCodes []interface{} `json:"errorCodes,omitempty"` //
ErrorMsgs []interface{} `json:"errorMsgs,omitempty"` //
}
type GetSellerItemLimitResponseData ¶ added in v0.1.2
type GetSellerMetricsByIdResponse ¶
type GetSellerMetricsByIdResponse struct {
BaseResponse // Common response fields
Response GetSellerMetricsByIdResponseData `json:"data"` // Response data
}
type GetSellerMetricsByIdResponseData ¶ added in v0.1.2
type GetSellerMetricsByIdResponseData struct {
MainCategoryName string `json:"main_category_name"` // [Required]
ShipOnTime string `json:"ship_on_time"` // [Required]
PositiveSellerRating string `json:"positive_seller_rating"` // [Required]
ResponseTime string `json:"response_time"` // [Required]
SellerId int64 `json:"seller_id"` // [Required]
ResponseRate string `json:"response_rate"` // [Required]
MainCategoryId string `json:"main_category_id"` // [Required]
}
type GetSellerPerformanceResponse ¶
type GetSellerPerformanceResponse struct {
BaseResponse // Common response fields
Response GetSellerPerformanceResponseData `json:"data"` // Response data
}
type GetSellerPerformanceResponseData ¶ added in v0.1.2
type GetSellerPerformanceResponseData struct {
MainCategoryName string `json:"main_category_name"` // [Required]
Indicators []ResponseDataIndicators `json:"indicators"` // [Required]
SellerId int64 `json:"seller_id"` // [Required]
MainCategoryId string `json:"main_category_id"` // [Required]
}
type GetSellerRegisterInfoResponse ¶
type GetSellerRegisterInfoResponse struct {
BaseResponse // Common response fields
Response GetSellerRegisterInfoResponseData `json:"data"` // Response data
}
type GetSellerRegisterInfoResponseData ¶ added in v0.1.2
type GetSellerResponse ¶
type GetSellerResponse struct {
BaseResponse // Common response fields
Response GetSellerResponseData `json:"data"` // Response data
}
type GetSellerResponseData ¶ added in v0.1.2
type GetSellerResponseData struct {
NameCompany string `json:"name_company"` // [Required]
LogoUrl string `json:"logo_url"` // [Required]
Name string `json:"name"` // [Required]
Verified string `json:"verified"` // [Required]
Location string `json:"location"` // [Required]
MarketplaceEaseMode string `json:"marketplaceEaseMode"` // [Required]
SellerId int64 `json:"seller_id"` // [Required]
Email string `json:"email"` // [Required]
ShortCode string `json:"short_code"` // [Required]
Cb string `json:"cb"` // [Required]
Status string `json:"status"` // [Required]
}
type GetSessionDetailResponse ¶
type GetSessionDetailResponse struct {
BaseResponse // Common response fields
Response GetSessionDetailResponseData `json:"data"` // Response data
ErrCode string `json:"err_code,omitempty"` //
ErrMessage string `json:"err_message,omitempty"` //
}
type GetSessionDetailResponseData ¶ added in v0.1.2
type GetSessionDetailResponseData struct {
Summary string `json:"summary"` // [Required]
UnreadCount string `json:"unread_count"` // [Required]
LastMessageId string `json:"last_message_id"` // [Required]
HeadUrl string `json:"head_url"` // [Required]
SelfPosition string `json:"self_position"` // [Required]
LastMessageTime string `json:"last_message_time"` // [Required]
SiteId string `json:"site_id"` // [Required]
SessionId string `json:"session_id"` // [Required]
Title string `json:"title"` // [Required]
BuyerId string `json:"buyer_id"` // [Required]
ToPosition string `json:"to_position"` // [Required]
Tags []string `json:"tags"` // [Required]
}
type GetSessionListResponse ¶
type GetSessionListResponse struct {
BaseResponse // Common response fields
Response GetSessionListResponseData `json:"data"` // Response data
ErrCode string `json:"err_code,omitempty"` //
ErrMessage string `json:"err_message,omitempty"` //
}
type GetSessionListResponseData ¶ added in v0.1.2
type GetShipmentProviderResponse ¶
type GetShipmentProviderResponse struct {
BaseResponse // Common response fields
Result *GetShipmentProviderResponseDataResult `json:"result,omitempty"` //
}
type GetShipmentProviderResponseDataResult ¶ added in v0.1.2
type GetShipmentProviderResponseDataResult struct {
ErrorMsg string `json:"error_msg"` // [Required]
Data *GetShipmentProviderResponseDataResultData `json:"data"` // [Required]
Success bool `json:"success"` // [Required]
ErrorCode string `json:"error_code"` // [Required]
}
type GetShipmentProviderResponseDataResultData ¶ added in v0.1.2
type GetShipmentProviderResponseDataResultData struct {
PlatformDefault string `json:"platform_default"` // [Required]
ShipmentProviders []ShipmentProviders `json:"shipment_providers"` // [Required]
ShippingAllocateType string `json:"shipping_allocate_type"` // [Required]
}
type GetShipperInfoResponse ¶
type GetShipperInfoResponse struct {
BaseResponse // Common response fields
Response GetShipperInfoResponseData `json:"data"` // Response data
ErrorMessage string `json:"error_message,omitempty"` //
}
type GetShipperInfoResponseData ¶ added in v0.1.2
type GetShipperInfoResponseData struct {
MainSellerSite string `json:"main_seller_site"` // [Required]
MainShipperId string `json:"main_shipper_id"` // [Required]
PartnerName string `json:"partner_name"` // [Required]
IsCb string `json:"is_cb"` // [Required]
MainSellerId string `json:"main_seller_id"` // [Required]
ShipperId string `json:"shipper_id"` // [Required]
IsMcl string `json:"is_mcl"` // [Required]
}
type GetShippingFeeResponse ¶
type GetShippingFeeResponse struct {
BaseResponse // Common response fields
Response GetShippingFeeResponseData `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMessage string `json:"errorMessage,omitempty"` //
Errors []Errors `json:"errors,omitempty"` //
Retryable string `json:"retryable,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type GetShippingFeeResponseData ¶ added in v0.1.2
type GetShippingFeeResponseData struct {
OriginEstimatedShippingFee string `json:"originEstimatedShippingFee"` // [Required]
ActualShippingFee string `json:"actualShippingFee"` // [Required]
EstimatedShippingFee string `json:"estimatedShippingFee"` // [Required]
Currency string `json:"currency"` // [Required]
}
type GetSizeChartTemplateRequest ¶ added in v0.1.8
type GetSizeChartTemplateResponse ¶
type GetSizeChartTemplateResponse struct {
BaseResponse // Common response fields
Response GetSizeChartTemplateResponseData `json:"data"` // Response data
}
type GetSizeChartTemplateResponseData ¶ added in v0.1.2
type GetSizeChartTemplateResponseData struct {
Total interface{} `json:"total"` // [Required]
PageNo interface{} `json:"pageNo"` // [Required]
TotalPage interface{} `json:"totalPage"` // [Required]
PageSize interface{} `json:"pageSize"` // [Required]
SizeChartResponses []SizeChartTemplate `json:"sizeChartResponses"` // [Required]
}
type GetStockRuleResponse ¶
type GetStockRuleResponse struct {
BaseResponse // Common response fields
Response GetStockRuleResponseData `json:"data"` // Response data
ErrorMessage string `json:"error_message,omitempty"` //
Page string `json:"page,omitempty"` //
PerPage string `json:"per_page,omitempty"` //
TotalCount int64 `json:"total_count,omitempty"` //
}
type GetStockRuleResponseData ¶ added in v0.1.2
type GetStockRuleResponseData struct {
StoreCode string `json:"store_code"` // [Required]
ChannelRatio []ChannelRatio `json:"channel_ratio"` // [Required]
FulfillmentSkuId string `json:"fulfillment_sku_id"` // [Required]
AutoBalancing string `json:"auto_balancing"` // [Required]
}
type GetStoreCustomPageResponse ¶
type GetStoreCustomPageResponse struct {
BaseResponse // Common response fields
Response GetStoreCustomPageResponseData `json:"data"` // Response data
}
type GetStoreCustomPageResponseData ¶ added in v0.1.2
type GetStoreCustomPageResponseData struct {
Result *GetStoreCustomPageResponseDataResult `json:"result"` // [Required]
ErrorMessage string `json:"error_message"` // [Required]
Success bool `json:"success"` // [Required]
Error string `json:"error"` // [Required]
}
type GetStoreCustomPageResponseDataResult ¶ added in v0.1.2
type GetStoreCustomPageResponseDataResult struct {
PageList []ResultPage `json:"page_list"` // [Required]
PageInfo *ResultPageInfo `json:"page_info"` // [Required]
}
type GetSubAddressResponse ¶
type GetSubAddressResponse struct {
BaseResponse // Common response fields
Response GetSubAddressResponseData `json:"data"` // Response data
}
type GetSubAddressResponseData ¶ added in v0.1.2
type GetSubscriptionToFusionResponse ¶
type GetSubscriptionToFusionResponse struct {
BaseResponse // Common response fields
SubscribeTime string `json:"subscribeTime,omitempty"` //
SubscriptionStatus string `json:"subscriptionStatus,omitempty"` //
UnsubscribeTime string `json:"unsubscribeTime,omitempty"` //
}
type GetTaskStatusResponse ¶
type GetTaskStatusResponse struct {
BaseResponse // Common response fields
Result *GetTaskStatusResponseDataResult `json:"result,omitempty"` //
}
type GetTaskStatusResponseDataResult ¶ added in v0.1.2
type GetTaskStatusResponseDataResult struct {
Data interface{} `json:"data"` // [Required]
ResultMessage string `json:"result_message"` // [Required]
Success bool `json:"success"` // [Required]
ResultCode string `json:"result_code"` // [Required]
FailMessage string `json:"fail_message"` // [Required]
Status string `json:"status"` // [Required]
}
type GetUnfilledAttributeItemResponse ¶
type GetUnfilledAttributeItemResponse struct {
BaseResponse // Common response fields
Products []GetUnfilledAttributeItemResponseDataProducts `json:"products,omitempty"` //
TotalProducts int64 `json:"total_products,omitempty"` //
}
type GetUnfilledAttributeItemResponseDataProducts ¶ added in v0.1.2
type GetUnfilledAttributeItemResponseDataProducts struct {
ItemId int64 `json:"item_id"` // [Required]
PrimaryCategory int64 `json:"primary_category"` // [Required]
Attributes []ResponseDataProductsAttributes `json:"attributes"` // [Required]
SellerSkuId string `json:"seller_sku_id"` // [Required]
}
type GetUnfilledAttributeResponse ¶
type GetUnfilledAttributeResponse struct {
BaseResponse // Common response fields
Response GetUnfilledAttributeResponseData `json:"data"` // Response data
ErrorDetail string `json:"error_detail,omitempty"` //
Errors string `json:"errors,omitempty"` //
}
type GetUnfilledAttributeResponseData ¶ added in v0.1.2
type GetUnfilledAttributeResponseData struct {
TotalProducts int64 `json:"total_products"` // [Required]
Products []GetUnfilledAttributeResponseDataProducts `json:"products"` // [Required]
}
type GetUnfilledAttributeResponseDataProducts ¶ added in v0.1.2
type GetUnfilledAttributeResponseDataProducts struct {
ItemId int64 `json:"item_id"` // [Required]
PrimaryCategory int64 `json:"primary_category"` // [Required]
SellerSku string `json:"seller_sku"` // [Required]
Attributes []ProductsAttributes `json:"attributes"` // [Required]
}
type GetUpgradableGlobalPlusProductListResponse ¶
type GetUpgradableGlobalPlusProductListResponse struct {
BaseResponse // Common response fields
Response GetUpgradableGlobalPlusProductListResponseData `json:"data"` // Response data
}
type GetUpgradableGlobalPlusProductListResponseData ¶ added in v0.1.2
type GetUpgradableGlobalPlusProductListResponseData struct {
Type string `json:"type"` // [Required]
TotalProducts int64 `json:"total_products"` // [Required]
CurrentPage string `json:"current_page"` // [Required]
PageSize int64 `json:"page_size"` // [Required]
CurrentIndex string `json:"current_index"` // [Required]
Products []GetUpgradableGlobalPlusProductListResponseDataProducts `json:"products"` // [Required]
}
type GetUpgradableGlobalPlusProductListResponseDataProducts ¶ added in v0.1.2
type GetUpgradableGlobalPlusProductListResponseDataProducts struct {
GlobalItemId string `json:"global_item_id"` // [Required]
Skus []ResponseDataProductsSkus `json:"skus"` // [Required]
ItemId int64 `json:"item_id"` // [Required]
}
type GetVasOrderByNo4FBLResponse ¶
type GetVasOrderByNo4FBLResponse struct {
BaseResponse // Common response fields
Response string `json:"data"` // Response data
}
type GetVideoQuotaResponse ¶
type GetVideoQuotaResponse struct {
BaseResponse // Common response fields
CapacitySize string `json:"capacity_size,omitempty"` //
ResultCode string `json:"result_code,omitempty"` //
ResultMessage string `json:"result_message,omitempty"` //
UsedSize string `json:"used_size,omitempty"` //
}
type GetVideoResponse ¶
type GetVideoResponse struct {
BaseResponse // Common response fields
CoverUrl string `json:"cover_url,omitempty"` //
ResultCode string `json:"result_code,omitempty"` //
ResultMessage string `json:"result_message,omitempty"` //
State string `json:"state,omitempty"` //
Title string `json:"title,omitempty"` //
VideoUrl string `json:"video_url,omitempty"` //
}
type GetWarehouseBySellerIdResponse ¶
type GetWarehouseBySellerIdResponse struct {
BaseResponse // Common response fields
Result *GetWarehouseBySellerIdResponseDataResult `json:"result,omitempty"` //
}
type GetWarehouseBySellerIdResponseDataResult ¶ added in v0.1.2
type GetWarehouseBySellerIdResponseDataResult struct {
NotSuccess string `json:"not_success"` // [Required]
Success bool `json:"success"` // [Required]
Module interface{} `json:"module"` // [Required]
ErrorCode string `json:"error_code"` // [Required]
Repeated string `json:"repeated"` // [Required]
Retry string `json:"retry"` // [Required]
}
type GetWarehouseListForMCLResponse ¶
type GetWarehouseListForMCLResponse struct {
BaseResponse // Common response fields
Response GetWarehouseListForMCLResponseData `json:"data"` // Response data
ErrorMessage string `json:"error_message,omitempty"` //
Page string `json:"page,omitempty"` //
PerPage string `json:"per_page,omitempty"` //
TotalCount int64 `json:"total_count,omitempty"` //
TotalPage int64 `json:"total_page,omitempty"` //
}
type GetWarehouseListForMCLResponseData ¶ added in v0.1.2
type GetWarehouseListForMCLResponseData struct {
CountryCode string `json:"country_code"` // [Required]
TownCode string `json:"town_code"` // [Required]
WarehouseName string `json:"warehouse_name"` // [Required]
MultiChannel string `json:"multi_channel"` // [Required]
WarehouseCode string `json:"warehouse_code"` // [Required]
AreaCode string `json:"area_code"` // [Required]
Latitude string `json:"latitude"` // [Required]
PlatformName string `json:"platform_name"` // [Required]
CityCode string `json:"city_code"` // [Required]
DivisionId string `json:"division_id"` // [Required]
ZipCode string `json:"zip_code"` // [Required]
Longitude string `json:"longitude"` // [Required]
}
type GetWarehouseStockResponse ¶
type GetWarehouseStockResponse struct {
BaseResponse // Common response fields
Response GetWarehouseStockResponseData `json:"data"` // Response data
}
type GetWarehouseStockResponseData ¶ added in v0.1.2
type GetWarehouseStockResponseData struct {
FulfilmentSku string `json:"fulfilment_sku"` // [Required]
StoreStocks []StoreStocks `json:"store_stocks"` // [Required]
}
type GetWarehouseStockV3Response ¶
type GetWarehouseStockV3Response struct {
BaseResponse // Common response fields
Response GetWarehouseStockV3ResponseData `json:"data"` // Response data
}
type GetWarehouseStockV3ResponseData ¶ added in v0.1.2
type GetWarehouseStockV3ResponseData struct {
FulfilmentSku string `json:"fulfilment_sku"` // [Required]
StoreStocks []ResponseDataStoreStocks `json:"store_stocks"` // [Required]
}
type GiftCodeQueryResponse ¶
type GiftCodeQueryResponse struct {
BaseResponse // Common response fields
CreateStatus string `json:"create_status,omitempty"` //
CurrentPage string `json:"current_page,omitempty"` //
Deposit string `json:"deposit,omitempty"` //
PageSize int64 `json:"page_size,omitempty"` //
Records []interface{} `json:"records,omitempty"` //
TotalNumber string `json:"total_number,omitempty"` //
TotalPage int64 `json:"total_page,omitempty"` //
TransferOrderId string `json:"transfer_order_id,omitempty"` //
}
type GiftCodeRequestResponse ¶
type GiftCodeRequestResponse struct {
BaseResponse // Common response fields
CreateStatus string `json:"create_status,omitempty"` //
Deposit string `json:"deposit,omitempty"` //
TotalNumber string `json:"total_number,omitempty"` //
TransferOrderId string `json:"transfer_order_id,omitempty"` //
}
type GlobalEticketMerchantMaAvailableResponse ¶
type GlobalEticketMerchantMaAvailableResponse struct {
BaseResponse // Common response fields
RespBody *RespBody `json:"resp_body,omitempty"` //
RetCode string `json:"ret_code,omitempty"` //
RetMsg string `json:"ret_msg,omitempty"` //
}
type GlobalEticketMerchantMaConsumeResponse ¶
type GlobalEticketMerchantMaConsumeResponse struct {
BaseResponse // Common response fields
RespBody *RespBody `json:"resp_body,omitempty"` //
RetCode string `json:"ret_code,omitempty"` //
RetMsg string `json:"ret_msg,omitempty"` //
}
type GlobalEticketMerchantMaFailsendResponse ¶
type GlobalEticketMerchantMaFailsendResponse struct {
BaseResponse // Common response fields
RespBody interface{} `json:"resp_body,omitempty"` //
RetCode string `json:"ret_code,omitempty"` //
RetMsg string `json:"ret_msg,omitempty"` //
}
type GlobalEticketMerchantMaQueryResponse ¶
type GlobalEticketMerchantMaQueryResponse struct {
BaseResponse // Common response fields
RespBody *ResponseDataRespBody `json:"resp_body,omitempty"` //
RetCode string `json:"ret_code,omitempty"` //
RetMsg string `json:"ret_msg,omitempty"` //
}
type GlobalEticketMerchantMaQueryTbMaResponse ¶
type GlobalEticketMerchantMaQueryTbMaResponse struct {
BaseResponse // Common response fields
RespBody interface{} `json:"resp_body,omitempty"` //
RetCode string `json:"ret_code,omitempty"` //
RetMsg string `json:"ret_msg,omitempty"` //
}
type GlobalEticketMerchantMaSendResponse ¶
type GlobalEticketMerchantMaSendResponse struct {
BaseResponse // Common response fields
RespBody interface{} `json:"resp_body,omitempty"` //
RetCode string `json:"ret_code,omitempty"` //
RetMsg string `json:"ret_msg,omitempty"` //
}
type HighlightProductResponse ¶
type HighlightProductResponse struct {
BaseResponse // Common response fields
Response HighlightProductResponseData `json:"data"` // Response data
}
type HighlightProductResponseData ¶ added in v0.1.2
type HighlightProductResponseData struct {
Success bool `json:"success"` // [Required]
}
type Image ¶ added in v0.1.2
type Image struct {
Score string `json:"score"` // [Required]
ImageUrl string `json:"imageUrl"` // [Required]
Text string `json:"text"` // [Required]
Type string `json:"type"` // [Required]
Indicators []ImageIndicators `json:"indicators"` // [Required]
ImageType string `json:"imageType"` // [Required]
}
type ImageIndicators ¶ added in v0.1.2
type ImageSequence ¶ added in v0.1.2
type Indicators ¶ added in v0.1.2
type InitCreateVideoResponse ¶
type InitCreateVideoResponse struct {
BaseResponse // Common response fields
ResultCode string `json:"result_code,omitempty"` //
ResultMessage string `json:"result_message,omitempty"` //
UploadId string `json:"upload_id,omitempty"` //
}
type InitReverseOrderCancelDecideResponse ¶
type InitReverseOrderCancelDecideResponse struct {
BaseResponse // Common response fields
}
type InitReverseOrderCancelRequest ¶ added in v0.1.8
type InitReverseOrderCancelResponse ¶
type InitReverseOrderCancelResponse struct {
BaseResponse // Common response fields
Response InitReverseOrderCancelResponseData `json:"data"` // Response data
}
type InitReverseOrderCancelResponseData ¶ added in v0.1.2
type InstallServiceCallBack1Response ¶
type InstallServiceCallBack1Response struct {
BaseResponse // Common response fields
ExtendInfo string `json:"extendInfo,omitempty"` //
ResultCode string `json:"resultCode,omitempty"` //
ResultMsg string `json:"resultMsg,omitempty"` //
TransactionId string `json:"transactionId,omitempty"` //
}
type InstallServiceCallBackForTestResponse ¶
type InstallServiceCallBackForTestResponse struct {
BaseResponse // Common response fields
ExtendInfo string `json:"extendInfo,omitempty"` //
ResultCode string `json:"resultCode,omitempty"` //
ResultMsg string `json:"resultMsg,omitempty"` //
TransactionId string `json:"transactionId,omitempty"` //
}
type InstallServiceCallBackResponse ¶
type InstallServiceCallBackResponse struct {
BaseResponse // Common response fields
ExtendInfo string `json:"extendInfo,omitempty"` //
ResultCode string `json:"resultCode,omitempty"` //
ResultMsg string `json:"resultMsg,omitempty"` //
TransactionId string `json:"transactionId,omitempty"` //
}
type InstantMessagingService ¶
type InstantMessagingService interface {
// GetMessages Get message list
// Path: /im/message/list
GetMessages(ctx context.Context) (*GetMessagesResponse, error)
// GetSessionDetail get session detail by sessionid
// Path: /im/session/get
GetSessionDetail(ctx context.Context) (*GetSessionDetailResponse, error)
// GetSessionList query seller session list
// Path: /im/session/list
GetSessionList(ctx context.Context) (*GetSessionListResponse, error)
// MessageRecall message recall
// Path: /im/message/recall
MessageRecall(ctx context.Context) (*MessageRecallResponse, error)
// OpenSession open a new conversation
// Path: /im/session/open
OpenSession(ctx context.Context) (*OpenSessionResponse, error)
// ReadSession session read
// Path: /im/session/read
ReadSession(ctx context.Context) (*ReadSessionResponse, error)
// SendMessage send message
// Path: /im/message/send
SendMessage(ctx context.Context) (*SendMessageResponse, error)
}
type InstantMessagingServiceOp ¶
type InstantMessagingServiceOp[T any] struct { // contains filtered or unexported fields }
func (*InstantMessagingServiceOp[T]) GetMessages ¶
func (s *InstantMessagingServiceOp[T]) GetMessages(ctx context.Context) (*GetMessagesResponse, error)
GetMessages Get message list Path: /im/message/list
func (*InstantMessagingServiceOp[T]) GetSessionDetail ¶
func (s *InstantMessagingServiceOp[T]) GetSessionDetail(ctx context.Context) (*GetSessionDetailResponse, error)
GetSessionDetail get session detail by sessionid Path: /im/session/get
func (*InstantMessagingServiceOp[T]) GetSessionList ¶
func (s *InstantMessagingServiceOp[T]) GetSessionList(ctx context.Context) (*GetSessionListResponse, error)
GetSessionList query seller session list Path: /im/session/list
func (*InstantMessagingServiceOp[T]) MessageRecall ¶
func (s *InstantMessagingServiceOp[T]) MessageRecall(ctx context.Context) (*MessageRecallResponse, error)
MessageRecall message recall Path: /im/message/recall
func (*InstantMessagingServiceOp[T]) OpenSession ¶
func (s *InstantMessagingServiceOp[T]) OpenSession(ctx context.Context) (*OpenSessionResponse, error)
OpenSession open a new conversation Path: /im/session/open
func (*InstantMessagingServiceOp[T]) ReadSession ¶
func (s *InstantMessagingServiceOp[T]) ReadSession(ctx context.Context) (*ReadSessionResponse, error)
ReadSession session read Path: /im/session/read
func (*InstantMessagingServiceOp[T]) SendMessage ¶
func (s *InstantMessagingServiceOp[T]) SendMessage(ctx context.Context) (*SendMessageResponse, error)
SendMessage send message Path: /im/message/send
type InsuranceAlterOrderStatusResponse ¶
type InsuranceAlterOrderStatusResponse struct {
BaseResponse // Common response fields
OrderStatus string `json:"orderStatus,omitempty"` //
PaymentStatus string `json:"paymentStatus,omitempty"` //
ResultCode string `json:"resultCode,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
TransactionId string `json:"transactionId,omitempty"` //
}
type InsuranceCreateOrderResponse ¶
type InsuranceCreateOrderResponse struct {
BaseResponse // Common response fields
ItemPrice string `json:"itemPrice,omitempty"` //
PaymentLink string `json:"paymentLink,omitempty"` //
ResultCode string `json:"resultCode,omitempty"` //
SubItemPrice string `json:"subItemPrice,omitempty"` //
SubTradeOrderLineId string `json:"subTradeOrderLineId,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
TradeOrderLineId string `json:"tradeOrderLineId,omitempty"` //
TransactionId string `json:"transactionId,omitempty"` //
}
type InsuranceGetPromotionsResponse ¶
type InsuranceGetPromotionsResponse struct {
BaseResponse // Common response fields
Response string `json:"data"` // Response data
ResultCode string `json:"resultCode,omitempty"` //
ResultMessage string `json:"resultMessage,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type InsuranceQueryOrderResponse ¶
type InsuranceQueryOrderResponse struct {
BaseResponse // Common response fields
OrderStatus string `json:"orderStatus,omitempty"` //
PaymentStatus string `json:"paymentStatus,omitempty"` //
ResultCode string `json:"resultCode,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
TransactionId string `json:"transactionId,omitempty"` //
}
type InsuranceRealTimeCDPResponse ¶
type InsuranceRealTimeCDPResponse struct {
BaseResponse // Common response fields
Response string `json:"data"` // Response data
RedirectUrl string `json:"redirectUrl,omitempty"` //
ResultCode string `json:"resultCode,omitempty"` //
ResultMessage string `json:"resultMessage,omitempty"` //
}
type InuranceNotication1Response ¶
type InuranceNotication1Response struct {
BaseResponse // Common response fields
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
ExtendInfo string `json:"extendInfo,omitempty"` //
TransactionId string `json:"transactionId,omitempty"` //
}
type InuranceNoticationResponse ¶
type InuranceNoticationResponse struct {
BaseResponse // Common response fields
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
ExtendInfo string `json:"extendInfo,omitempty"` //
TransactionId string `json:"transactionId,omitempty"` //
}
type InuranceNotifyLapseResponse ¶
type InuranceNotifyLapseResponse struct {
BaseResponse // Common response fields
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
ExtendInfo string `json:"extendInfo,omitempty"` //
TransactionId string `json:"transactionId,omitempty"` //
}
type InventoryOccupyDetails ¶ added in v0.1.2
type InventoryOperateLog ¶ added in v0.1.2
type InventoryOperateLog struct {
OrderTypeCode string `json:"order_type_code"` // [Required]
RefOrderCode []RefOrderCode `json:"ref_order_code"` // [Required]
WarehouseName string `json:"warehouse_name"` // [Required]
ChangeQuantity string `json:"change_quantity"` // [Required]
FulfillmentSkuId string `json:"fulfillment_sku_id"` // [Required]
WarehouseCode string `json:"warehouse_code"` // [Required]
CustomerOrder string `json:"customer_order"` // [Required]
InventoryType string `json:"inventory_type"` // [Required]
OrderType string `json:"order_type"` // [Required]
ResultQuantity string `json:"result_quantity"` // [Required]
OperateTime string `json:"operate_time"` // [Required]
}
type Item ¶ added in v0.1.2
type Item struct {
ItemImg string `json:"item_img"` // [Required]
ItemId int64 `json:"item_id"` // [Required]
ActualFee string `json:"actual_fee"` // [Required]
ActualFeeCurrency string `json:"actual_fee_currency"` // [Required]
UnitFee string `json:"unit_fee"` // [Required]
ItemName string `json:"item_name"` // [Required]
UnitFeeCurrency string `json:"unit_fee_currency"` // [Required]
}
type LastMileShippingProvider ¶ added in v0.1.2
type LastReportOverviewDetailDTO ¶ added in v0.1.2
type LastReportOverviewDetailDTO struct {
Ctr string `json:"ctr"` // [Required]
Revenue string `json:"revenue"` // [Required]
Spend string `json:"spend"` // [Required]
UnitsSold string `json:"unitsSold"` // [Required]
Cpc string `json:"cpc"` // [Required]
Clicks string `json:"clicks"` // [Required]
Impressions string `json:"impressions"` // [Required]
Roi string `json:"roi"` // [Required]
}
type LazLikeService ¶
type LazLikeService interface {
// McnContentCancelSchedulePublish McnContentCancelSchedulePublish
// Path: /content/mcn/content/cancelScheduled
McnContentCancelSchedulePublish(ctx context.Context) (*McnContentCancelSchedulePublishResponse, error)
// McnContentCompleteCreateVideo After uploading all blocks of the video file, call McnContentCompleteCreateVideo to complete the video uploading process.
//
// Path: /content/mcn/video/block/commit
McnContentCompleteCreateVideo(ctx context.Context) (*McnContentCompleteCreateVideoResponse, error)
// McnContentCreate create content
// Path: /content/mcn/content/create
McnContentCreate(ctx context.Context) (*McnContentCreateResponse, error)
// McnContentInitCreateVideo Initial an upload video process, this API will return the corresponding UploadID
// Path: /content/mcn/video/block/create
McnContentInitCreateVideo(ctx context.Context) (*McnContentInitCreateVideoResponse, error)
// McnContentListCategory list mcn content categories
// Path: /content/mcn/category/list
McnContentListCategory(ctx context.Context) (*McnContentListCategoryResponse, error)
// McnContentPropertyTagList list mcn content property tags
// Path: /content/mcn/property/list
McnContentPropertyTagList(ctx context.Context) (*McnContentPropertyTagListResponse, error)
// McnContentReplySchedulePublish McnContentReplySchedulePublish
// Path: /content/mcn/content/replySchedulePublish
McnContentReplySchedulePublish(ctx context.Context) (*McnContentReplySchedulePublishResponse, error)
// McnContentUploadImage upload image
// Path: /content/mcn/image/upload
McnContentUploadImage(ctx context.Context, filename string, reader io.Reader) (*McnContentUploadImageResponse, error)
// McnContentUploadVideoBlock upload one block of video file
// Path: /content/mcn/video/block/upload
McnContentUploadVideoBlock(ctx context.Context, filename string, reader io.Reader) (*McnContentUploadVideoBlockResponse, error)
// McnProductValidator Identify high risk products
// Path: /content/mcn/product/validate
McnProductValidator(ctx context.Context) (*McnProductValidatorResponse, error)
// MCNQueryTagInfoByName MCNQueryTagInfoByName
// Path: /content/mcn/content/queryTagInfosByName
MCNQueryTagInfoByName(ctx context.Context) (*MCNQueryTagInfoByNameResponse, error)
// McnSimilarProductSearch 相似商品搜索接口
// Path: /content/mcn/similar/product/search
McnSimilarProductSearch(ctx context.Context) (*McnSimilarProductSearchResponse, error)
// QueryContentReviewRecords Query content audit records. Currently, querying records with audit results of low (block) is supported.The number of query contents is limited to 500 (adjustable).
// Path: /content/mcn/content/queryReviewRecords
QueryContentReviewRecords(ctx context.Context) (*QueryContentReviewRecordsResponse, error)
}
type LazLikeServiceOp ¶
type LazLikeServiceOp[T any] struct { // contains filtered or unexported fields }
func (*LazLikeServiceOp[T]) MCNQueryTagInfoByName ¶
func (s *LazLikeServiceOp[T]) MCNQueryTagInfoByName(ctx context.Context) (*MCNQueryTagInfoByNameResponse, error)
MCNQueryTagInfoByName MCNQueryTagInfoByName Path: /content/mcn/content/queryTagInfosByName
func (*LazLikeServiceOp[T]) McnContentCancelSchedulePublish ¶
func (s *LazLikeServiceOp[T]) McnContentCancelSchedulePublish(ctx context.Context) (*McnContentCancelSchedulePublishResponse, error)
McnContentCancelSchedulePublish McnContentCancelSchedulePublish Path: /content/mcn/content/cancelScheduled
func (*LazLikeServiceOp[T]) McnContentCompleteCreateVideo ¶
func (s *LazLikeServiceOp[T]) McnContentCompleteCreateVideo(ctx context.Context) (*McnContentCompleteCreateVideoResponse, error)
McnContentCompleteCreateVideo After uploading all blocks of the video file, call McnContentCompleteCreateVideo to complete the video uploading process.
Path: /content/mcn/video/block/commit
func (*LazLikeServiceOp[T]) McnContentCreate ¶
func (s *LazLikeServiceOp[T]) McnContentCreate(ctx context.Context) (*McnContentCreateResponse, error)
McnContentCreate create content Path: /content/mcn/content/create
func (*LazLikeServiceOp[T]) McnContentInitCreateVideo ¶
func (s *LazLikeServiceOp[T]) McnContentInitCreateVideo(ctx context.Context) (*McnContentInitCreateVideoResponse, error)
McnContentInitCreateVideo Initial an upload video process, this API will return the corresponding UploadID Path: /content/mcn/video/block/create
func (*LazLikeServiceOp[T]) McnContentListCategory ¶
func (s *LazLikeServiceOp[T]) McnContentListCategory(ctx context.Context) (*McnContentListCategoryResponse, error)
McnContentListCategory list mcn content categories Path: /content/mcn/category/list
func (*LazLikeServiceOp[T]) McnContentPropertyTagList ¶
func (s *LazLikeServiceOp[T]) McnContentPropertyTagList(ctx context.Context) (*McnContentPropertyTagListResponse, error)
McnContentPropertyTagList list mcn content property tags Path: /content/mcn/property/list
func (*LazLikeServiceOp[T]) McnContentReplySchedulePublish ¶
func (s *LazLikeServiceOp[T]) McnContentReplySchedulePublish(ctx context.Context) (*McnContentReplySchedulePublishResponse, error)
McnContentReplySchedulePublish McnContentReplySchedulePublish Path: /content/mcn/content/replySchedulePublish
func (*LazLikeServiceOp[T]) McnContentUploadImage ¶
func (s *LazLikeServiceOp[T]) McnContentUploadImage(ctx context.Context, filename string, reader io.Reader) (*McnContentUploadImageResponse, error)
McnContentUploadImage upload image Path: /content/mcn/image/upload
func (*LazLikeServiceOp[T]) McnContentUploadVideoBlock ¶
func (s *LazLikeServiceOp[T]) McnContentUploadVideoBlock(ctx context.Context, filename string, reader io.Reader) (*McnContentUploadVideoBlockResponse, error)
McnContentUploadVideoBlock upload one block of video file Path: /content/mcn/video/block/upload
func (*LazLikeServiceOp[T]) McnProductValidator ¶
func (s *LazLikeServiceOp[T]) McnProductValidator(ctx context.Context) (*McnProductValidatorResponse, error)
McnProductValidator Identify high risk products Path: /content/mcn/product/validate
func (*LazLikeServiceOp[T]) McnSimilarProductSearch ¶
func (s *LazLikeServiceOp[T]) McnSimilarProductSearch(ctx context.Context) (*McnSimilarProductSearchResponse, error)
McnSimilarProductSearch 相似商品搜索接口 Path: /content/mcn/similar/product/search
func (*LazLikeServiceOp[T]) QueryContentReviewRecords ¶
func (s *LazLikeServiceOp[T]) QueryContentReviewRecords(ctx context.Context) (*QueryContentReviewRecordsResponse, error)
QueryContentReviewRecords Query content audit records. Currently, querying records with audit results of low (block) is supported.The number of query contents is limited to 500 (adjustable). Path: /content/mcn/content/queryReviewRecords
type LazLiveService ¶
type LazLiveService interface {
// HighlightProduct highlight product
// Path: /lazlive/product/highlight
HighlightProduct(ctx context.Context) (*HighlightProductResponse, error)
}
type LazLiveServiceOp ¶
type LazLiveServiceOp[T any] struct { // contains filtered or unexported fields }
func (*LazLiveServiceOp[T]) HighlightProduct ¶
func (s *LazLiveServiceOp[T]) HighlightProduct(ctx context.Context) (*HighlightProductResponse, error)
HighlightProduct highlight product Path: /lazlive/product/highlight
type LazPayService ¶
type LazPayService interface {
// CollectBenefit collect lazada marketplace benefit
// Path: /insurance/promotion/collectBenefit
CollectBenefit(ctx context.Context) (*CollectBenefitResponse, error)
// ConsultPayment The interface is used for consult pay view. Will return pay view info including balance, coupon, credit card etc. If we have no available coupon, we will return pay method view with an empty list of coupon.
// Path: /lazadapay/v1/debit/consult_payment
ConsultPayment(ctx context.Context) (*ConsultPaymentResponse, error)
// CreateSubscriptionToFusion Create User Subscription To Fusion
// Path: /insurance/subscription/create
CreateSubscriptionToFusion(ctx context.Context) (*CreateSubscriptionToFusionResponse, error)
// DGUtiityPreCreateOrder This API provides an open interface for partner users to create DG orders
// Path: /digital/service/createorder
DGUtiityPreCreateOrder(ctx context.Context) (*DGUtiityPreCreateOrderResponse, error)
// DGUtilityPreGetPaymentStatus get payment status
// Path: /digital/service/getPaymentStatus
DGUtilityPreGetPaymentStatus(ctx context.Context) (*DGUtilityPreGetPaymentStatusResponse, error)
// DGUtilityPreUpdateFulfillemtStatus update fulfillemt status
// Path: /digital/service/updateFulfillemtStatus
DGUtilityPreUpdateFulfillemtStatus(ctx context.Context) (*DGUtilityPreUpdateFulfillemtStatusResponse, error)
// DigitalAlterOrderStatus Change Lazada Digital Order Status
// Path: /digital/order/alterStatus
DigitalAlterOrderStatus(ctx context.Context) (*DigitalAlterOrderStatusResponse, error)
// DigitalCreateOrder Create Digital Virtual Order
// Path: /digital/order/create
DigitalCreateOrder(ctx context.Context) (*DigitalCreateOrderResponse, error)
// DigitalQueryOrder Query Lazada Digital Order Status
// Path: /digital/order/getStatus
DigitalQueryOrder(ctx context.Context) (*DigitalQueryOrderResponse, error)
// GetSubscriptionToFusion Get User Subscription To Fusion
// Path: /insurance/subscription/getSubscription
GetSubscriptionToFusion(ctx context.Context) (*GetSubscriptionToFusionResponse, error)
// InsuranceAlterOrderStatus Change Lazada Insurance Order Status
// Path: /insurance/order/alterStatus
InsuranceAlterOrderStatus(ctx context.Context) (*InsuranceAlterOrderStatusResponse, error)
// InsuranceCreateOrder Lazada Insurance Create Order
// Path: /insurance/order/create
InsuranceCreateOrder(ctx context.Context) (*InsuranceCreateOrderResponse, error)
// InsuranceGetPromotions get lazada marketplace ump promotions
// Path: /insurance/promotion/getPromotions
InsuranceGetPromotions(ctx context.Context) (*InsuranceGetPromotionsResponse, error)
// InsuranceQueryOrder Query Lazada Insurance Order Status
// Path: /insurance/order/getStatus
InsuranceQueryOrder(ctx context.Context) (*InsuranceQueryOrderResponse, error)
// InsuranceRealTimeCDP 用户完成操作后,实时更新CDP人群
// Path: /insurance/syncCDP
InsuranceRealTimeCDP(ctx context.Context) (*InsuranceRealTimeCDPResponse, error)
// LazadaCFOInvoiceRpaCallback Call RPA and return the official invoice
// Path: /rpa/id/tax/callback
LazadaCFOInvoiceRpaCallback(ctx context.Context) (*LazadaCFOInvoiceRpaCallbackResponse, error)
// OpenServiceBalanceQuery Open Service Account Balance Info Query
// Path: /wallet/open/service/balance/query
OpenServiceBalanceQuery(ctx context.Context) (*OpenServiceBalanceQueryResponse, error)
// OpenServiceKycQuery Open Service User KYC Info Query
// Path: /wallet/open/service/kyc/query
OpenServiceKycQuery(ctx context.Context) (*OpenServiceKycQueryResponse, error)
// OpenServiceWithdrawApply Open Service Withdraw Apply
// Path: /wallet/open/service/withdraw
OpenServiceWithdrawApply(ctx context.Context) (*OpenServiceWithdrawApplyResponse, error)
// OpenServiceWithdrawQuery Open Service Withdraw Query
// Path: /wallet/open/service/withdraw/query
OpenServiceWithdrawQuery(ctx context.Context) (*OpenServiceWithdrawQueryResponse, error)
// QueryAddonOrder list user addon order detail
// Path: /insurance/addon/orders/query
QueryAddonOrder(ctx context.Context) (*QueryAddonOrderResponse, error)
// QueryBenefit get lazada marketplace benefit
// Path: /insurance/promotion/queryBenefit
QueryBenefit(ctx context.Context) (*QueryBenefitResponse, error)
// Reconciliation Reconciliation
// Path: /wallet/open/service/reconciliation
Reconciliation(ctx context.Context) (*ReconciliationResponse, error)
// RedeemMpVoucher 商城险域外voucher核销
// Path: /insurance/voucher/redeemVoucher
RedeemMpVoucher(ctx context.Context) (*RedeemMpVoucherResponse, error)
}
type LazPayServiceOp ¶
type LazPayServiceOp[T any] struct { // contains filtered or unexported fields }
func (*LazPayServiceOp[T]) CollectBenefit ¶
func (s *LazPayServiceOp[T]) CollectBenefit(ctx context.Context) (*CollectBenefitResponse, error)
CollectBenefit collect lazada marketplace benefit Path: /insurance/promotion/collectBenefit
func (*LazPayServiceOp[T]) ConsultPayment ¶
func (s *LazPayServiceOp[T]) ConsultPayment(ctx context.Context) (*ConsultPaymentResponse, error)
ConsultPayment The interface is used for consult pay view. Will return pay view info including balance, coupon, credit card etc. If we have no available coupon, we will return pay method view with an empty list of coupon. Path: /lazadapay/v1/debit/consult_payment
func (*LazPayServiceOp[T]) CreateSubscriptionToFusion ¶
func (s *LazPayServiceOp[T]) CreateSubscriptionToFusion(ctx context.Context) (*CreateSubscriptionToFusionResponse, error)
CreateSubscriptionToFusion Create User Subscription To Fusion Path: /insurance/subscription/create
func (*LazPayServiceOp[T]) DGUtiityPreCreateOrder ¶
func (s *LazPayServiceOp[T]) DGUtiityPreCreateOrder(ctx context.Context) (*DGUtiityPreCreateOrderResponse, error)
DGUtiityPreCreateOrder This API provides an open interface for partner users to create DG orders Path: /digital/service/createorder
func (*LazPayServiceOp[T]) DGUtilityPreGetPaymentStatus ¶
func (s *LazPayServiceOp[T]) DGUtilityPreGetPaymentStatus(ctx context.Context) (*DGUtilityPreGetPaymentStatusResponse, error)
DGUtilityPreGetPaymentStatus get payment status Path: /digital/service/getPaymentStatus
func (*LazPayServiceOp[T]) DGUtilityPreUpdateFulfillemtStatus ¶
func (s *LazPayServiceOp[T]) DGUtilityPreUpdateFulfillemtStatus(ctx context.Context) (*DGUtilityPreUpdateFulfillemtStatusResponse, error)
DGUtilityPreUpdateFulfillemtStatus update fulfillemt status Path: /digital/service/updateFulfillemtStatus
func (*LazPayServiceOp[T]) DigitalAlterOrderStatus ¶
func (s *LazPayServiceOp[T]) DigitalAlterOrderStatus(ctx context.Context) (*DigitalAlterOrderStatusResponse, error)
DigitalAlterOrderStatus Change Lazada Digital Order Status Path: /digital/order/alterStatus
func (*LazPayServiceOp[T]) DigitalCreateOrder ¶
func (s *LazPayServiceOp[T]) DigitalCreateOrder(ctx context.Context) (*DigitalCreateOrderResponse, error)
DigitalCreateOrder Create Digital Virtual Order Path: /digital/order/create
func (*LazPayServiceOp[T]) DigitalQueryOrder ¶
func (s *LazPayServiceOp[T]) DigitalQueryOrder(ctx context.Context) (*DigitalQueryOrderResponse, error)
DigitalQueryOrder Query Lazada Digital Order Status Path: /digital/order/getStatus
func (*LazPayServiceOp[T]) GetSubscriptionToFusion ¶
func (s *LazPayServiceOp[T]) GetSubscriptionToFusion(ctx context.Context) (*GetSubscriptionToFusionResponse, error)
GetSubscriptionToFusion Get User Subscription To Fusion Path: /insurance/subscription/getSubscription
func (*LazPayServiceOp[T]) InsuranceAlterOrderStatus ¶
func (s *LazPayServiceOp[T]) InsuranceAlterOrderStatus(ctx context.Context) (*InsuranceAlterOrderStatusResponse, error)
InsuranceAlterOrderStatus Change Lazada Insurance Order Status Path: /insurance/order/alterStatus
func (*LazPayServiceOp[T]) InsuranceCreateOrder ¶
func (s *LazPayServiceOp[T]) InsuranceCreateOrder(ctx context.Context) (*InsuranceCreateOrderResponse, error)
InsuranceCreateOrder Lazada Insurance Create Order Path: /insurance/order/create
func (*LazPayServiceOp[T]) InsuranceGetPromotions ¶
func (s *LazPayServiceOp[T]) InsuranceGetPromotions(ctx context.Context) (*InsuranceGetPromotionsResponse, error)
InsuranceGetPromotions get lazada marketplace ump promotions Path: /insurance/promotion/getPromotions
func (*LazPayServiceOp[T]) InsuranceQueryOrder ¶
func (s *LazPayServiceOp[T]) InsuranceQueryOrder(ctx context.Context) (*InsuranceQueryOrderResponse, error)
InsuranceQueryOrder Query Lazada Insurance Order Status Path: /insurance/order/getStatus
func (*LazPayServiceOp[T]) InsuranceRealTimeCDP ¶
func (s *LazPayServiceOp[T]) InsuranceRealTimeCDP(ctx context.Context) (*InsuranceRealTimeCDPResponse, error)
InsuranceRealTimeCDP 用户完成操作后,实时更新CDP人群 Path: /insurance/syncCDP
func (*LazPayServiceOp[T]) LazadaCFOInvoiceRpaCallback ¶
func (s *LazPayServiceOp[T]) LazadaCFOInvoiceRpaCallback(ctx context.Context) (*LazadaCFOInvoiceRpaCallbackResponse, error)
LazadaCFOInvoiceRpaCallback Call RPA and return the official invoice Path: /rpa/id/tax/callback
func (*LazPayServiceOp[T]) OpenServiceBalanceQuery ¶
func (s *LazPayServiceOp[T]) OpenServiceBalanceQuery(ctx context.Context) (*OpenServiceBalanceQueryResponse, error)
OpenServiceBalanceQuery Open Service Account Balance Info Query Path: /wallet/open/service/balance/query
func (*LazPayServiceOp[T]) OpenServiceKycQuery ¶
func (s *LazPayServiceOp[T]) OpenServiceKycQuery(ctx context.Context) (*OpenServiceKycQueryResponse, error)
OpenServiceKycQuery Open Service User KYC Info Query Path: /wallet/open/service/kyc/query
func (*LazPayServiceOp[T]) OpenServiceWithdrawApply ¶
func (s *LazPayServiceOp[T]) OpenServiceWithdrawApply(ctx context.Context) (*OpenServiceWithdrawApplyResponse, error)
OpenServiceWithdrawApply Open Service Withdraw Apply Path: /wallet/open/service/withdraw
func (*LazPayServiceOp[T]) OpenServiceWithdrawQuery ¶
func (s *LazPayServiceOp[T]) OpenServiceWithdrawQuery(ctx context.Context) (*OpenServiceWithdrawQueryResponse, error)
OpenServiceWithdrawQuery Open Service Withdraw Query Path: /wallet/open/service/withdraw/query
func (*LazPayServiceOp[T]) QueryAddonOrder ¶
func (s *LazPayServiceOp[T]) QueryAddonOrder(ctx context.Context) (*QueryAddonOrderResponse, error)
QueryAddonOrder list user addon order detail Path: /insurance/addon/orders/query
func (*LazPayServiceOp[T]) QueryBenefit ¶
func (s *LazPayServiceOp[T]) QueryBenefit(ctx context.Context) (*QueryBenefitResponse, error)
QueryBenefit get lazada marketplace benefit Path: /insurance/promotion/queryBenefit
func (*LazPayServiceOp[T]) Reconciliation ¶
func (s *LazPayServiceOp[T]) Reconciliation(ctx context.Context) (*ReconciliationResponse, error)
Reconciliation Reconciliation Path: /wallet/open/service/reconciliation
func (*LazPayServiceOp[T]) RedeemMpVoucher ¶
func (s *LazPayServiceOp[T]) RedeemMpVoucher(ctx context.Context) (*RedeemMpVoucherResponse, error)
RedeemMpVoucher 商城险域外voucher核销 Path: /insurance/voucher/redeemVoucher
type LazadaBigbagCancelResponse ¶
type LazadaBigbagCancelResponse struct {
BaseResponse // Common response fields
Result *LazadaBigbagCancelResponseDataResult `json:"result,omitempty"` //
}
type LazadaBigbagCancelResponseDataResult ¶ added in v0.1.2
type LazadaBigbagCollectionPointsResponse ¶
type LazadaBigbagCollectionPointsResponse struct {
BaseResponse // Common response fields
Result *LazadaBigbagCollectionPointsResponseDataResult `json:"result,omitempty"` //
}
type LazadaBigbagCollectionPointsResponseDataResult ¶ added in v0.1.2
type LazadaBigbagCollectionPointsResponseDataResult struct {
ErroMsg string `json:"erroMsg"` // [Required]
Data *LazadaBigbagCollectionPointsResponseDataResultData `json:"data"` // [Required]
Success bool `json:"success"` // [Required]
ErrorCode string `json:"errorCode"` // [Required]
}
type LazadaBigbagCollectionPointsResponseDataResultData ¶ added in v0.1.2
type LazadaBigbagCollectionPointsResponseDataResultData struct {
PageSize string `json:"pageSize"` // [Required]
ItemList []interface{} `json:"itemList"` // [Required]
TotalCount string `json:"totalCount"` // [Required]
CurrentPageIndex string `json:"currentPageIndex"` // [Required]
PageTotalNum string `json:"pageTotalNum"` // [Required]
}
type LazadaBigbagCommitResponse ¶
type LazadaBigbagCommitResponse struct {
BaseResponse // Common response fields
Result *LazadaBigbagCommitResponseDataResult `json:"result,omitempty"` //
}
type LazadaBigbagCommitResponseDataResult ¶ added in v0.1.2
type LazadaBigbagCommitResponseDataResult struct {
Data *LazadaBigbagCommitResponseDataResultData `json:"data"` // [Required]
Success bool `json:"success"` // [Required]
ErrorCode string `json:"errorCode"` // [Required]
ErrorMsg string `json:"errorMsg"` // [Required]
}
type LazadaBigbagCommitResponseDataResultData ¶ added in v0.1.2
type LazadaBigbagUpdateResponse ¶
type LazadaBigbagUpdateResponse struct {
BaseResponse // Common response fields
Result *LazadaBigbagUpdateResponseDataResult `json:"result,omitempty"` //
}
type LazadaBigbagUpdateResponseDataResult ¶ added in v0.1.2
type LazadaCFOInvoiceRpaCallbackResponse ¶
type LazadaCFOInvoiceRpaCallbackResponse struct {
BaseResponse // Common response fields
Content string `json:"content,omitempty"` //
IsSuccess string `json:"is_success,omitempty"` //
ResCode string `json:"res_code,omitempty"` //
ResMsg string `json:"res_msg,omitempty"` //
}
type LazadaDGService ¶
type LazadaDGService interface {
// DigitalServiceCdkCodeReceived 接受码商发码请求,给用户发送码。
// Path: /digital/service/cdkCodeReceived
DigitalServiceCdkCodeReceived(ctx context.Context) (*DigitalServiceCdkCodeReceivedResponse, error)
// InstallServiceCallBack Install the service callback interface
// Path: /digital/install/servicecallback
InstallServiceCallBack(ctx context.Context) (*InstallServiceCallBackResponse, error)
// InstallServiceCallBack1 Install the service callback interface
// Path: /digital/test/install/servicecallback
InstallServiceCallBack1(ctx context.Context) (*InstallServiceCallBack1Response, error)
// InstallServiceCallBackForTest Install the service callback interface
// Path: /digital/install/test/servicecallback
InstallServiceCallBackForTest(ctx context.Context) (*InstallServiceCallBackForTestResponse, error)
// InuranceNotication Third party insurance company callback interface
//
// Path: /digital/insurance/notification
InuranceNotication(ctx context.Context) (*InuranceNoticationResponse, error)
// InuranceNotication1 Third party insurance company callback interface
//
// Path: /digital/insurance/test/notificationcopy
InuranceNotication1(ctx context.Context) (*InuranceNotication1Response, error)
// InuranceNotifyLapse Insurance company push the callback notification to partners once the policy has been cancelled successfully
// Path: /digital/insurance/notificationlapse
InuranceNotifyLapse(ctx context.Context) (*InuranceNotifyLapseResponse, error)
}
type LazadaDGServiceOp ¶
type LazadaDGServiceOp[T any] struct { // contains filtered or unexported fields }
func (*LazadaDGServiceOp[T]) DigitalServiceCdkCodeReceived ¶
func (s *LazadaDGServiceOp[T]) DigitalServiceCdkCodeReceived(ctx context.Context) (*DigitalServiceCdkCodeReceivedResponse, error)
DigitalServiceCdkCodeReceived 接受码商发码请求,给用户发送码。 Path: /digital/service/cdkCodeReceived
func (*LazadaDGServiceOp[T]) InstallServiceCallBack ¶
func (s *LazadaDGServiceOp[T]) InstallServiceCallBack(ctx context.Context) (*InstallServiceCallBackResponse, error)
InstallServiceCallBack Install the service callback interface Path: /digital/install/servicecallback
func (*LazadaDGServiceOp[T]) InstallServiceCallBack1 ¶
func (s *LazadaDGServiceOp[T]) InstallServiceCallBack1(ctx context.Context) (*InstallServiceCallBack1Response, error)
InstallServiceCallBack1 Install the service callback interface Path: /digital/test/install/servicecallback
func (*LazadaDGServiceOp[T]) InstallServiceCallBackForTest ¶
func (s *LazadaDGServiceOp[T]) InstallServiceCallBackForTest(ctx context.Context) (*InstallServiceCallBackForTestResponse, error)
InstallServiceCallBackForTest Install the service callback interface Path: /digital/install/test/servicecallback
func (*LazadaDGServiceOp[T]) InuranceNotication ¶
func (s *LazadaDGServiceOp[T]) InuranceNotication(ctx context.Context) (*InuranceNoticationResponse, error)
InuranceNotication Third party insurance company callback interface
Path: /digital/insurance/notification
func (*LazadaDGServiceOp[T]) InuranceNotication1 ¶
func (s *LazadaDGServiceOp[T]) InuranceNotication1(ctx context.Context) (*InuranceNotication1Response, error)
InuranceNotication1 Third party insurance company callback interface
Path: /digital/insurance/test/notificationcopy
func (*LazadaDGServiceOp[T]) InuranceNotifyLapse ¶
func (s *LazadaDGServiceOp[T]) InuranceNotifyLapse(ctx context.Context) (*InuranceNotifyLapseResponse, error)
InuranceNotifyLapse Insurance company push the callback notification to partners once the policy has been cancelled successfully Path: /digital/insurance/notificationlapse
type LazadaLogisticsService ¶
type LazadaLogisticsService interface {
// CreateCustomerAccountRelationshipByOTP Create customer account relationship for external by OTP
// Path: /logistics/epis/customers/external_relationships_bundle
CreateCustomerAccountRelationshipByOTP(ctx context.Context) (*CreateCustomerAccountRelationshipByOTPResponse, error)
// CreateCustomerAccountRelationshipForExternal External partner calls LAZADA to create account relationship
// Path: /logistics/epis/customers/external_relationships
CreateCustomerAccountRelationshipForExternal(ctx context.Context) (*CreateCustomerAccountRelationshipForExternalResponse, error)
// CreateOrUpdateCustomerWarehouse External partner calls LAZADA to create or update warehouses
// Path: /logistics/epis/customers/warehouses
CreateOrUpdateCustomerWarehouse(ctx context.Context) (*CreateOrUpdateCustomerWarehouseResponse, error)
// EpisGetDeliveryOptions External partner call EPIS to get delivery options for package
// Path: /logistics/epis/service/delivery_options
EpisGetDeliveryOptions(ctx context.Context) (*EpisGetDeliveryOptionsResponse, error)
// EpisPackageCancellation External partner call EPIS to cancel package
// Path: /logistics/epis/packages/cancel
EpisPackageCancellation(ctx context.Context) (*EpisPackageCancellationResponse, error)
// EpisPackageCancellationV3 External partner call EPIS to cancel FFM + DEL package
// Path: /logistics/epis/packages/cancel/v3
EpisPackageCancellationV3(ctx context.Context) (*EpisPackageCancellationV3Response, error)
// EpisPackageConsignment External partner call EPIS to consign package to get the tracking number and be able to print AWB after consign
// Path: /logistics/epis/packages/consign
EpisPackageConsignment(ctx context.Context) (*EpisPackageConsignmentResponse, error)
// EpisPackageConsignmentV2 External partner call EPIS to consign FFM + DEL package to get the tracking number and be able to print AWB after consign
// Path: /logistics/epis/packages/consign/v2
EpisPackageConsignmentV2(ctx context.Context) (*EpisPackageConsignmentV2Response, error)
// EpisPackageCreation External partner call EPIS to create package
// Path: /logistics/epis/packages
EpisPackageCreation(ctx context.Context) (*EpisPackageCreationResponse, error)
// EpisPackageInfoUpdate External partner call EPIS to update package info after RTS
// Path: /logistics/epis/packages/update
EpisPackageInfoUpdate(ctx context.Context) (*EpisPackageInfoUpdateResponse, error)
// EpisPackagePrintAwb External partner call LAZADA to print AWB
// Path: /logistics/epis/packages/awb
EpisPackagePrintAwb(ctx context.Context) (*EpisPackagePrintAwbResponse, error)
// EpisPackageReadyToBeShipped External partner calls EPIS to mark a package as ready to be shipped
// Path: /logistics/epis/packages/rts
EpisPackageReadyToBeShipped(ctx context.Context) (*EpisPackageReadyToBeShippedResponse, error)
// EpisPackageReAttempt Send re-attempt package request
// Path: /logistics/epis/packages/reattempt
EpisPackageReAttempt(ctx context.Context) (*EpisPackageReAttemptResponse, error)
// EpisUploadAwbFulfillment External partner call EPIS to upload awb for fulfillment
// Path: /logistics/epis/fulfillment/upload_awb
EpisUploadAwbFulfillment(ctx context.Context, filename string, reader io.Reader) (*EpisUploadAwbFulfillmentResponse, error)
// EpisXspaceCreate Create Xspace case
// Path: /logistics/epis/xspace/create
EpisXspaceCreate(ctx context.Context) (*EpisXspaceCreateResponse, error)
// EpisXspaceGetDetail Get Xspace case detail
// Path: /logistics/epis/xspace/detail
EpisXspaceGetDetail(ctx context.Context) (*EpisXspaceGetDetailResponse, error)
// EpisXspaceQuery Query Xspace case
// Path: /logistics/epis/xspace/query
EpisXspaceQuery(ctx context.Context) (*EpisXspaceQueryResponse, error)
// EpisXspaceRateTicket Rate Xspace ticket
// Path: /logistics/epis/xspace/rate
EpisXspaceRateTicket(ctx context.Context) (*EpisXspaceRateTicketResponse, error)
// EstimateShippingFee Estimate shipping fee
// Path: /logistics/epis/estimate_shipping_fee
EstimateShippingFee(ctx context.Context) (*EstimateShippingFeeResponse, error)
// GetShippingFee Estimate package shipping fee (Estimated & Actual)
// Path: /logistics/epis/get_shipping_fee
GetShippingFee(ctx context.Context) (*GetShippingFeeResponse, error)
}
type LazadaLogisticsServiceOp ¶
type LazadaLogisticsServiceOp[T any] struct { // contains filtered or unexported fields }
func (*LazadaLogisticsServiceOp[T]) CreateCustomerAccountRelationshipByOTP ¶
func (s *LazadaLogisticsServiceOp[T]) CreateCustomerAccountRelationshipByOTP(ctx context.Context) (*CreateCustomerAccountRelationshipByOTPResponse, error)
CreateCustomerAccountRelationshipByOTP Create customer account relationship for external by OTP Path: /logistics/epis/customers/external_relationships_bundle
func (*LazadaLogisticsServiceOp[T]) CreateCustomerAccountRelationshipForExternal ¶
func (s *LazadaLogisticsServiceOp[T]) CreateCustomerAccountRelationshipForExternal(ctx context.Context) (*CreateCustomerAccountRelationshipForExternalResponse, error)
CreateCustomerAccountRelationshipForExternal External partner calls LAZADA to create account relationship Path: /logistics/epis/customers/external_relationships
func (*LazadaLogisticsServiceOp[T]) CreateOrUpdateCustomerWarehouse ¶
func (s *LazadaLogisticsServiceOp[T]) CreateOrUpdateCustomerWarehouse(ctx context.Context) (*CreateOrUpdateCustomerWarehouseResponse, error)
CreateOrUpdateCustomerWarehouse External partner calls LAZADA to create or update warehouses Path: /logistics/epis/customers/warehouses
func (*LazadaLogisticsServiceOp[T]) EpisGetDeliveryOptions ¶
func (s *LazadaLogisticsServiceOp[T]) EpisGetDeliveryOptions(ctx context.Context) (*EpisGetDeliveryOptionsResponse, error)
EpisGetDeliveryOptions External partner call EPIS to get delivery options for package Path: /logistics/epis/service/delivery_options
func (*LazadaLogisticsServiceOp[T]) EpisPackageCancellation ¶
func (s *LazadaLogisticsServiceOp[T]) EpisPackageCancellation(ctx context.Context) (*EpisPackageCancellationResponse, error)
EpisPackageCancellation External partner call EPIS to cancel package Path: /logistics/epis/packages/cancel
func (*LazadaLogisticsServiceOp[T]) EpisPackageCancellationV3 ¶
func (s *LazadaLogisticsServiceOp[T]) EpisPackageCancellationV3(ctx context.Context) (*EpisPackageCancellationV3Response, error)
EpisPackageCancellationV3 External partner call EPIS to cancel FFM + DEL package Path: /logistics/epis/packages/cancel/v3
func (*LazadaLogisticsServiceOp[T]) EpisPackageConsignment ¶
func (s *LazadaLogisticsServiceOp[T]) EpisPackageConsignment(ctx context.Context) (*EpisPackageConsignmentResponse, error)
EpisPackageConsignment External partner call EPIS to consign package to get the tracking number and be able to print AWB after consign Path: /logistics/epis/packages/consign
func (*LazadaLogisticsServiceOp[T]) EpisPackageConsignmentV2 ¶
func (s *LazadaLogisticsServiceOp[T]) EpisPackageConsignmentV2(ctx context.Context) (*EpisPackageConsignmentV2Response, error)
EpisPackageConsignmentV2 External partner call EPIS to consign FFM + DEL package to get the tracking number and be able to print AWB after consign Path: /logistics/epis/packages/consign/v2
func (*LazadaLogisticsServiceOp[T]) EpisPackageCreation ¶
func (s *LazadaLogisticsServiceOp[T]) EpisPackageCreation(ctx context.Context) (*EpisPackageCreationResponse, error)
EpisPackageCreation External partner call EPIS to create package Path: /logistics/epis/packages
func (*LazadaLogisticsServiceOp[T]) EpisPackageInfoUpdate ¶
func (s *LazadaLogisticsServiceOp[T]) EpisPackageInfoUpdate(ctx context.Context) (*EpisPackageInfoUpdateResponse, error)
EpisPackageInfoUpdate External partner call EPIS to update package info after RTS Path: /logistics/epis/packages/update
func (*LazadaLogisticsServiceOp[T]) EpisPackagePrintAwb ¶
func (s *LazadaLogisticsServiceOp[T]) EpisPackagePrintAwb(ctx context.Context) (*EpisPackagePrintAwbResponse, error)
EpisPackagePrintAwb External partner call LAZADA to print AWB Path: /logistics/epis/packages/awb
func (*LazadaLogisticsServiceOp[T]) EpisPackageReAttempt ¶
func (s *LazadaLogisticsServiceOp[T]) EpisPackageReAttempt(ctx context.Context) (*EpisPackageReAttemptResponse, error)
EpisPackageReAttempt Send re-attempt package request Path: /logistics/epis/packages/reattempt
func (*LazadaLogisticsServiceOp[T]) EpisPackageReadyToBeShipped ¶
func (s *LazadaLogisticsServiceOp[T]) EpisPackageReadyToBeShipped(ctx context.Context) (*EpisPackageReadyToBeShippedResponse, error)
EpisPackageReadyToBeShipped External partner calls EPIS to mark a package as ready to be shipped Path: /logistics/epis/packages/rts
func (*LazadaLogisticsServiceOp[T]) EpisUploadAwbFulfillment ¶
func (s *LazadaLogisticsServiceOp[T]) EpisUploadAwbFulfillment(ctx context.Context, filename string, reader io.Reader) (*EpisUploadAwbFulfillmentResponse, error)
EpisUploadAwbFulfillment External partner call EPIS to upload awb for fulfillment Path: /logistics/epis/fulfillment/upload_awb
func (*LazadaLogisticsServiceOp[T]) EpisXspaceCreate ¶
func (s *LazadaLogisticsServiceOp[T]) EpisXspaceCreate(ctx context.Context) (*EpisXspaceCreateResponse, error)
EpisXspaceCreate Create Xspace case Path: /logistics/epis/xspace/create
func (*LazadaLogisticsServiceOp[T]) EpisXspaceGetDetail ¶
func (s *LazadaLogisticsServiceOp[T]) EpisXspaceGetDetail(ctx context.Context) (*EpisXspaceGetDetailResponse, error)
EpisXspaceGetDetail Get Xspace case detail Path: /logistics/epis/xspace/detail
func (*LazadaLogisticsServiceOp[T]) EpisXspaceQuery ¶
func (s *LazadaLogisticsServiceOp[T]) EpisXspaceQuery(ctx context.Context) (*EpisXspaceQueryResponse, error)
EpisXspaceQuery Query Xspace case Path: /logistics/epis/xspace/query
func (*LazadaLogisticsServiceOp[T]) EpisXspaceRateTicket ¶
func (s *LazadaLogisticsServiceOp[T]) EpisXspaceRateTicket(ctx context.Context) (*EpisXspaceRateTicketResponse, error)
EpisXspaceRateTicket Rate Xspace ticket Path: /logistics/epis/xspace/rate
func (*LazadaLogisticsServiceOp[T]) EstimateShippingFee ¶
func (s *LazadaLogisticsServiceOp[T]) EstimateShippingFee(ctx context.Context) (*EstimateShippingFeeResponse, error)
EstimateShippingFee Estimate shipping fee Path: /logistics/epis/estimate_shipping_fee
func (*LazadaLogisticsServiceOp[T]) GetShippingFee ¶
func (s *LazadaLogisticsServiceOp[T]) GetShippingFee(ctx context.Context) (*GetShippingFeeResponse, error)
GetShippingFee Estimate package shipping fee (Estimated & Actual) Path: /logistics/epis/get_shipping_fee
type LazadaSellerAccountBindResponse ¶
type LazadaSellerAccountBindResponse struct {
BaseResponse // Common response fields
Result *GetLazadaBigbagPDFLableResponseDataResult `json:"result,omitempty"` //
}
type LazadaWalletCorporateTopUpService ¶
type LazadaWalletCorporateTopUpService interface {
// DirectTransferQuery Direct Transfer - Query
// Path: /wallet/transfer/query
DirectTransferQuery(ctx context.Context) (*DirectTransferQueryResponse, error)
// DirectTransferRequest Direct Transfer - Request to transfer
// Path: /wallet/transfer/request
DirectTransferRequest(ctx context.Context) (*DirectTransferRequestResponse, error)
// GiftCodeQuery Gift Code - Query
// Path: /wallet/giftcode/query
GiftCodeQuery(ctx context.Context) (*GiftCodeQueryResponse, error)
// GiftCodeRequest Gift Code - Request
// Path: /wallet/giftcode/request
GiftCodeRequest(ctx context.Context) (*GiftCodeRequestResponse, error)
// Reconciliation1 Corporate TopUp - Reconciliation
// Path: /wallet/open/reconciliation
Reconciliation1(ctx context.Context) (*Reconciliation1Response, error)
}
type LazadaWalletCorporateTopUpServiceOp ¶
type LazadaWalletCorporateTopUpServiceOp[T any] struct { // contains filtered or unexported fields }
func (*LazadaWalletCorporateTopUpServiceOp[T]) DirectTransferQuery ¶
func (s *LazadaWalletCorporateTopUpServiceOp[T]) DirectTransferQuery(ctx context.Context) (*DirectTransferQueryResponse, error)
DirectTransferQuery Direct Transfer - Query Path: /wallet/transfer/query
func (*LazadaWalletCorporateTopUpServiceOp[T]) DirectTransferRequest ¶
func (s *LazadaWalletCorporateTopUpServiceOp[T]) DirectTransferRequest(ctx context.Context) (*DirectTransferRequestResponse, error)
DirectTransferRequest Direct Transfer - Request to transfer Path: /wallet/transfer/request
func (*LazadaWalletCorporateTopUpServiceOp[T]) GiftCodeQuery ¶
func (s *LazadaWalletCorporateTopUpServiceOp[T]) GiftCodeQuery(ctx context.Context) (*GiftCodeQueryResponse, error)
GiftCodeQuery Gift Code - Query Path: /wallet/giftcode/query
func (*LazadaWalletCorporateTopUpServiceOp[T]) GiftCodeRequest ¶
func (s *LazadaWalletCorporateTopUpServiceOp[T]) GiftCodeRequest(ctx context.Context) (*GiftCodeRequestResponse, error)
GiftCodeRequest Gift Code - Request Path: /wallet/giftcode/request
func (*LazadaWalletCorporateTopUpServiceOp[T]) Reconciliation1 ¶
func (s *LazadaWalletCorporateTopUpServiceOp[T]) Reconciliation1(ctx context.Context) (*Reconciliation1Response, error)
Reconciliation1 Corporate TopUp - Reconciliation Path: /wallet/open/reconciliation
type LeveledLogger ¶
type LeveledLogger struct {
DebugLogger *log.Logger
InfoLogger *log.Logger
WarnLogger *log.Logger
ErrorLogger *log.Logger
}
func NewLeveledLogger ¶
func NewLeveledLogger(debug, info, warn, err io.Writer) *LeveledLogger
func (*LeveledLogger) Debugf ¶
func (l *LeveledLogger) Debugf(format string, v ...interface{})
func (*LeveledLogger) Errorf ¶
func (l *LeveledLogger) Errorf(format string, v ...interface{})
func (*LeveledLogger) Infof ¶
func (l *LeveledLogger) Infof(format string, v ...interface{})
func (*LeveledLogger) Warnf ¶
func (l *LeveledLogger) Warnf(format string, v ...interface{})
type LeveledLoggerInterface ¶
type LinkMembershipResponse ¶
type LinkMembershipResponse struct {
BaseResponse // Common response fields
Result *LinkMembershipResponseDataResult `json:"result,omitempty"` //
}
type LinkMembershipResponseDataResult ¶ added in v0.1.2
type LinkMembershipResponseDataResult struct {
Data interface{} `json:"data"` // [Required]
Success bool `json:"success"` // [Required]
ErrorCode *ResultErrorCode `json:"error_code"` // [Required]
}
type ListCategoryResponse ¶
type ListCategoryResponse struct {
BaseResponse // Common response fields
AnalyseTraceId string `json:"analyseTraceId,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
Result []ListCategoryResponseDataResult `json:"result,omitempty"` //
}
type ListCategoryResponseDataResult ¶ added in v0.1.2
type ListFlexiComboProductsResponse ¶
type ListFlexiComboProductsResponse struct {
BaseResponse // Common response fields
Response ListFlexiComboProductsResponseData `json:"data"` // Response data
}
type ListFlexiComboProductsResponseData ¶ added in v0.1.2
type ListFlexiComboResponse ¶
type ListFlexiComboResponse struct {
BaseResponse // Common response fields
Response ListFlexiComboResponseData `json:"data"` // Response data
}
type ListFlexiComboResponseData ¶ added in v0.1.2
type ListFlexiComboResponseData struct {
DataList []ResponseDataData `json:"data_list"` // [Required]
Total int64 `json:"total"` // [Required]
Current string `json:"current"` // [Required]
PageSize int64 `json:"page_size"` // [Required]
}
type ListIcpWarehouseResponse ¶
type ListIcpWarehouseResponse struct {
BaseResponse // Common response fields
Response ListIcpWarehouseResponseData `json:"data"` // Response data
ErrorMessage string `json:"error_message,omitempty"` //
}
type ListIcpWarehouseResponseData ¶ added in v0.1.2
type ListKeywordByAdgroupResponse ¶
type ListKeywordByAdgroupResponse struct {
BaseResponse // Common response fields
AnalyseTraceId string `json:"analyseTraceId,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
Result []ListKeywordByAdgroupResponseDataResult `json:"result,omitempty"` //
TotalCount string `json:"totalCount,omitempty"` //
}
type ListKeywordByAdgroupResponseDataResult ¶ added in v0.1.2
type ListKeywordByAdgroupResponseDataResult struct {
SuggestedPrice string `json:"suggestedPrice"` // [Required]
ReservePrice string `json:"reservePrice"` // [Required]
Currency string `json:"currency"` // [Required]
SoftLowerLimit string `json:"softLowerLimit"` // [Required]
Keyword string `json:"keyword"` // [Required]
SoftUpperLimit string `json:"softUpperLimit"` // [Required]
Relevance string `json:"relevance"` // [Required]
SoftUpperLimitType string `json:"softUpperLimitType"` // [Required]
HistoricalPV string `json:"historicalPV"` // [Required]
}
type ListKeywordByItemResponse ¶
type ListKeywordByItemResponse struct {
BaseResponse // Common response fields
AnalyseTraceId string `json:"analyseTraceId,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
Result []ListKeywordByAdgroupResponseDataResult `json:"result,omitempty"` //
}
type LogisticDetailInfo ¶ added in v0.1.2
type LogisticDetailInfo struct {
PackageLocationName string `json:"package_location_name"` // [Required]
StatusCode string `json:"status_code"` // [Required]
ProofImages []interface{} `json:"proof_images"` // [Required]
DetailType string `json:"detail_type"` // [Required]
EventDate string `json:"event_date"` // [Required]
ReceiveTime string `json:"receive_time"` // [Required]
Icon string `json:"icon"` // [Required]
Description string `json:"description"` // [Required]
Title string `json:"title"` // [Required]
EventTime string `json:"event_time"` // [Required]
}
type LogisticsService ¶
type LogisticsService interface {
// AddOrUpdatePickupStop 3PL call TPS to update pickup stops
// Path: /logistics/tps/runsheets/stops
AddOrUpdatePickupStop(ctx context.Context) (*AddOrUpdatePickupStopResponse, error)
// Create3PLStation TPS_CREATE_STATION_API
// External partner call TPS to create station
// Path: /logistics/tps/stations/create
Create3PLStation(ctx context.Context) (*Create3PLStationResponse, error)
// CreateConsolidationService create Consolidation Service
// Path: /logistics/ldp/createConsolidationService
CreateConsolidationService(ctx context.Context) (*CreateConsolidationServiceResponse, error)
// GetOrderTrace Query logistic detail for seller erp with seller id, order id and locale info. This api is only available in the state after ready to ship.
// Path: /logistic/order/trace
GetOrderTrace(ctx context.Context) (*GetOrderTraceResponse, error)
// ScanParcel DOP Scan Parcel
// Path: /dop/scan
ScanParcel(ctx context.Context) (*ScanParcelResponse, error)
// StationDopScan StationDopScan
// Path: /stations/dop/scan
StationDopScan(ctx context.Context) (*StationDopScanResponse, error)
// Update3PLStation TPS_UPDATE_STATION_API
// External partner call TPS to update station
// Path: /logistics/tps/stations/update
Update3PLStation(ctx context.Context) (*Update3PLStationResponse, error)
// UpdateLastMile 跨境场景,物流末端预报信息
// Path: /logistics/ldp/updateLastmile
UpdateLastMile(ctx context.Context) (*UpdateLastMileResponse, error)
// UpdatePickupTimeSlot 3PL call TPS to update pickup timeslot
// Path: /logistics/tps/sellers/pickup_timeslot
UpdatePickupTimeSlot(ctx context.Context) (*UpdatePickupTimeSlotResponse, error)
}
type LogisticsServiceOp ¶
type LogisticsServiceOp[T any] struct { // contains filtered or unexported fields }
func (*LogisticsServiceOp[T]) AddOrUpdatePickupStop ¶
func (s *LogisticsServiceOp[T]) AddOrUpdatePickupStop(ctx context.Context) (*AddOrUpdatePickupStopResponse, error)
AddOrUpdatePickupStop 3PL call TPS to update pickup stops Path: /logistics/tps/runsheets/stops
func (*LogisticsServiceOp[T]) Create3PLStation ¶
func (s *LogisticsServiceOp[T]) Create3PLStation(ctx context.Context) (*Create3PLStationResponse, error)
Create3PLStation TPS_CREATE_STATION_API External partner call TPS to create station Path: /logistics/tps/stations/create
func (*LogisticsServiceOp[T]) CreateConsolidationService ¶
func (s *LogisticsServiceOp[T]) CreateConsolidationService(ctx context.Context) (*CreateConsolidationServiceResponse, error)
CreateConsolidationService create Consolidation Service Path: /logistics/ldp/createConsolidationService
func (*LogisticsServiceOp[T]) GetOrderTrace ¶
func (s *LogisticsServiceOp[T]) GetOrderTrace(ctx context.Context) (*GetOrderTraceResponse, error)
GetOrderTrace Query logistic detail for seller erp with seller id, order id and locale info. This api is only available in the state after ready to ship. Path: /logistic/order/trace
func (*LogisticsServiceOp[T]) ScanParcel ¶
func (s *LogisticsServiceOp[T]) ScanParcel(ctx context.Context) (*ScanParcelResponse, error)
ScanParcel DOP Scan Parcel Path: /dop/scan
func (*LogisticsServiceOp[T]) StationDopScan ¶
func (s *LogisticsServiceOp[T]) StationDopScan(ctx context.Context) (*StationDopScanResponse, error)
StationDopScan StationDopScan Path: /stations/dop/scan
func (*LogisticsServiceOp[T]) Update3PLStation ¶
func (s *LogisticsServiceOp[T]) Update3PLStation(ctx context.Context) (*Update3PLStationResponse, error)
Update3PLStation TPS_UPDATE_STATION_API External partner call TPS to update station Path: /logistics/tps/stations/update
func (*LogisticsServiceOp[T]) UpdateLastMile ¶
func (s *LogisticsServiceOp[T]) UpdateLastMile(ctx context.Context) (*UpdateLastMileResponse, error)
UpdateLastMile 跨境场景,物流末端预报信息 Path: /logistics/ldp/updateLastmile
func (*LogisticsServiceOp[T]) UpdatePickupTimeSlot ¶
func (s *LogisticsServiceOp[T]) UpdatePickupTimeSlot(ctx context.Context) (*UpdatePickupTimeSlotResponse, error)
UpdatePickupTimeSlot 3PL call TPS to update pickup timeslot Path: /logistics/tps/sellers/pickup_timeslot
type LogisticsStationService ¶
type LogisticsStationService interface {
// CageValidation Validate if a cage is valid
// Path: /logistics/station/cages/validate
CageValidation(ctx context.Context) (*CageValidationResponse, error)
// ConfirmInbound Confirm inbound. Call this API to inbound the scanned parcel and finish the inbound process
// Path: /logistics/station/v1/confirm-inbound
ConfirmInbound(ctx context.Context) (*ConfirmInboundResponse, error)
// ConfirmParcelCollection Confirm customer collects or rejects parcel. This API is used after ValidateOTP success.
// Path: /logistics/station/v1/cp/confirm-parcel-collection
ConfirmParcelCollection(ctx context.Context) (*ConfirmParcelCollectionResponse, error)
// CreateScannedParcel Create a scanned parcel. Call this API when scanning the tracking number on the parcel.
// Path: /logistics/station/v1/scanned-parcels/create
CreateScannedParcel(ctx context.Context) (*CreateScannedParcelResponse, error)
// DeleteScannedParcel Delete scanned parcels by tracking number. This API is required when user deletes the scanned parcels
// Path: /logistics/station/v1/scanned-parcels/delete
DeleteScannedParcel(ctx context.Context) (*DeleteScannedParcelResponse, error)
// DopConfirmInbound DOP confirm inbound
// Path: /logistics/station/dop/confirm-inbound
DopConfirmInbound(ctx context.Context) (*DopConfirmInboundResponse, error)
// DopCreateScannedParcel DOP create scanned parcel
// Path: /logistics/station/dop/scanned-parcels
DopCreateScannedParcel(ctx context.Context) (*DopCreateScannedParcelResponse, error)
// DopDeleteScannedParcel DOP delete scanned parcel
// Path: /logistics/station/dop/scanned-parcels/delete
DopDeleteScannedParcel(ctx context.Context) (*DopDeleteScannedParcelResponse, error)
// DopGetInboundedParcel DOP get list scanned parcel
// Path: /logistics/station/dop/inbounded-parcels/list
DopGetInboundedParcel(ctx context.Context) (*DopGetInboundedParcelResponse, error)
// DopGetScannedParcel DOP get list scanned parcel
// Path: /logistics/station/dop/scanned-parcels/list
DopGetScannedParcel(ctx context.Context) (*DopGetScannedParcelResponse, error)
// GetCpScheduledPuParcel Get a list of parcels that are scheduled to be picked up for return to seller. These parcels are expired (no collection from customer), SLA breached or customer rejected. This API is used to help the agent prepare parcels before seller comes.
// Path: /logistics/station/v1/cp/scheduled-pu-parcels/list
GetCpScheduledPuParcel(ctx context.Context) (*GetCpScheduledPuParcelResponse, error)
// GetInboundedParcel Get a list of inbounded parcels by a list of tracking numbers. This API is used for checking the status of inbounded parcels such as parcels picked up by LEX, picked up by 3PL, or collected by a customer.
// Path: /logistics/station/v1/inbounded-parcels/list
GetInboundedParcel(ctx context.Context) (*GetInboundedParcelResponse, error)
// GetListAccessStation Get list access station by APP
// Path: /logistics/station/list
GetListAccessStation(ctx context.Context) (*GetListAccessStationResponse, error)
// GetMetaData Get metadata such as reject reasons, etc
// Path: /logistics/station/v1/metadata
GetMetaData(ctx context.Context) (*GetMetaDataResponse, error)
// GetScannedParcel Get a list of scanned parcels. This API is often used for synchronization purposes such as: user refreshes the page, partner system can call this API to get the list of scanned parcels again. This API is not required to call during operations.
// Path: /logistics/station/v1/scanned-parcels/list
GetScannedParcel(ctx context.Context) (*GetScannedParcelResponse, error)
// SearchCustomerReturnParcel Search customer return parcel by at least 4 letters text. This API is to improve user experience, user can search for the tracking number instead of typing the full tracking number.
// Path: /logistics/station/v1/dop/cr-parcels/search
SearchCustomerReturnParcel(ctx context.Context) (*SearchCustomerReturnParcelResponse, error)
// ValidateCage Validate if a cage is valid. This API is often called before starting inbound but it's not required.
// Path: /logistics/station/v1/cages/validate
ValidateCage(ctx context.Context) (*ValidateCageResponse, error)
// ValidateOTP Validate if OTP of parcel is valid or not. This API is used for checking OTP before confirming collection.
// Path: /logistics/station/v1/cp/validate-otp
ValidateOTP(ctx context.Context) (*ValidateOTPResponse, error)
}
type LogisticsStationServiceOp ¶
type LogisticsStationServiceOp[T any] struct { // contains filtered or unexported fields }
func (*LogisticsStationServiceOp[T]) CageValidation ¶
func (s *LogisticsStationServiceOp[T]) CageValidation(ctx context.Context) (*CageValidationResponse, error)
CageValidation Validate if a cage is valid Path: /logistics/station/cages/validate
func (*LogisticsStationServiceOp[T]) ConfirmInbound ¶
func (s *LogisticsStationServiceOp[T]) ConfirmInbound(ctx context.Context) (*ConfirmInboundResponse, error)
ConfirmInbound Confirm inbound. Call this API to inbound the scanned parcel and finish the inbound process Path: /logistics/station/v1/confirm-inbound
func (*LogisticsStationServiceOp[T]) ConfirmParcelCollection ¶
func (s *LogisticsStationServiceOp[T]) ConfirmParcelCollection(ctx context.Context) (*ConfirmParcelCollectionResponse, error)
ConfirmParcelCollection Confirm customer collects or rejects parcel. This API is used after ValidateOTP success. Path: /logistics/station/v1/cp/confirm-parcel-collection
func (*LogisticsStationServiceOp[T]) CreateScannedParcel ¶
func (s *LogisticsStationServiceOp[T]) CreateScannedParcel(ctx context.Context) (*CreateScannedParcelResponse, error)
CreateScannedParcel Create a scanned parcel. Call this API when scanning the tracking number on the parcel. Path: /logistics/station/v1/scanned-parcels/create
func (*LogisticsStationServiceOp[T]) DeleteScannedParcel ¶
func (s *LogisticsStationServiceOp[T]) DeleteScannedParcel(ctx context.Context) (*DeleteScannedParcelResponse, error)
DeleteScannedParcel Delete scanned parcels by tracking number. This API is required when user deletes the scanned parcels Path: /logistics/station/v1/scanned-parcels/delete
func (*LogisticsStationServiceOp[T]) DopConfirmInbound ¶
func (s *LogisticsStationServiceOp[T]) DopConfirmInbound(ctx context.Context) (*DopConfirmInboundResponse, error)
DopConfirmInbound DOP confirm inbound Path: /logistics/station/dop/confirm-inbound
func (*LogisticsStationServiceOp[T]) DopCreateScannedParcel ¶
func (s *LogisticsStationServiceOp[T]) DopCreateScannedParcel(ctx context.Context) (*DopCreateScannedParcelResponse, error)
DopCreateScannedParcel DOP create scanned parcel Path: /logistics/station/dop/scanned-parcels
func (*LogisticsStationServiceOp[T]) DopDeleteScannedParcel ¶
func (s *LogisticsStationServiceOp[T]) DopDeleteScannedParcel(ctx context.Context) (*DopDeleteScannedParcelResponse, error)
DopDeleteScannedParcel DOP delete scanned parcel Path: /logistics/station/dop/scanned-parcels/delete
func (*LogisticsStationServiceOp[T]) DopGetInboundedParcel ¶
func (s *LogisticsStationServiceOp[T]) DopGetInboundedParcel(ctx context.Context) (*DopGetInboundedParcelResponse, error)
DopGetInboundedParcel DOP get list scanned parcel Path: /logistics/station/dop/inbounded-parcels/list
func (*LogisticsStationServiceOp[T]) DopGetScannedParcel ¶
func (s *LogisticsStationServiceOp[T]) DopGetScannedParcel(ctx context.Context) (*DopGetScannedParcelResponse, error)
DopGetScannedParcel DOP get list scanned parcel Path: /logistics/station/dop/scanned-parcels/list
func (*LogisticsStationServiceOp[T]) GetCpScheduledPuParcel ¶
func (s *LogisticsStationServiceOp[T]) GetCpScheduledPuParcel(ctx context.Context) (*GetCpScheduledPuParcelResponse, error)
GetCpScheduledPuParcel Get a list of parcels that are scheduled to be picked up for return to seller. These parcels are expired (no collection from customer), SLA breached or customer rejected. This API is used to help the agent prepare parcels before seller comes. Path: /logistics/station/v1/cp/scheduled-pu-parcels/list
func (*LogisticsStationServiceOp[T]) GetInboundedParcel ¶
func (s *LogisticsStationServiceOp[T]) GetInboundedParcel(ctx context.Context) (*GetInboundedParcelResponse, error)
GetInboundedParcel Get a list of inbounded parcels by a list of tracking numbers. This API is used for checking the status of inbounded parcels such as parcels picked up by LEX, picked up by 3PL, or collected by a customer. Path: /logistics/station/v1/inbounded-parcels/list
func (*LogisticsStationServiceOp[T]) GetListAccessStation ¶
func (s *LogisticsStationServiceOp[T]) GetListAccessStation(ctx context.Context) (*GetListAccessStationResponse, error)
GetListAccessStation Get list access station by APP Path: /logistics/station/list
func (*LogisticsStationServiceOp[T]) GetMetaData ¶
func (s *LogisticsStationServiceOp[T]) GetMetaData(ctx context.Context) (*GetMetaDataResponse, error)
GetMetaData Get metadata such as reject reasons, etc Path: /logistics/station/v1/metadata
func (*LogisticsStationServiceOp[T]) GetScannedParcel ¶
func (s *LogisticsStationServiceOp[T]) GetScannedParcel(ctx context.Context) (*GetScannedParcelResponse, error)
GetScannedParcel Get a list of scanned parcels. This API is often used for synchronization purposes such as: user refreshes the page, partner system can call this API to get the list of scanned parcels again. This API is not required to call during operations. Path: /logistics/station/v1/scanned-parcels/list
func (*LogisticsStationServiceOp[T]) SearchCustomerReturnParcel ¶
func (s *LogisticsStationServiceOp[T]) SearchCustomerReturnParcel(ctx context.Context) (*SearchCustomerReturnParcelResponse, error)
SearchCustomerReturnParcel Search customer return parcel by at least 4 letters text. This API is to improve user experience, user can search for the tracking number instead of typing the full tracking number. Path: /logistics/station/v1/dop/cr-parcels/search
func (*LogisticsStationServiceOp[T]) ValidateCage ¶
func (s *LogisticsStationServiceOp[T]) ValidateCage(ctx context.Context) (*ValidateCageResponse, error)
ValidateCage Validate if a cage is valid. This API is often called before starting inbound but it's not required. Path: /logistics/station/v1/cages/validate
func (*LogisticsStationServiceOp[T]) ValidateOTP ¶
func (s *LogisticsStationServiceOp[T]) ValidateOTP(ctx context.Context) (*ValidateOTPResponse, error)
ValidateOTP Validate if OTP of parcel is valid or not. This API is used for checking OTP before confirming collection. Path: /logistics/station/v1/cp/validate-otp
type MCNQueryTagInfoByNameResponse ¶
type MCNQueryTagInfoByNameResponse struct {
BaseResponse // Common response fields
ApiResult *ResponseDataApiResult `json:"api_result,omitempty"` //
}
type McnContentCancelSchedulePublishResponse ¶
type McnContentCancelSchedulePublishResponse struct {
BaseResponse // Common response fields
ApiResult *ApiResult `json:"api_result,omitempty"` //
}
type McnContentCompleteCreateVideoResponse ¶
type McnContentCompleteCreateVideoResponse struct {
BaseResponse // Common response fields
Result *McnContentCompleteCreateVideoResponseDataResult `json:"result,omitempty"` //
}
type McnContentCompleteCreateVideoResponseDataResult ¶ added in v0.1.2
type McnContentCreateResponse ¶
type McnContentCreateResponse struct {
BaseResponse // Common response fields
Result *McnContentCreateResponseDataResult `json:"result,omitempty"` //
}
type McnContentCreateResponseDataResult ¶ added in v0.1.2
type McnContentInitCreateVideoResponse ¶
type McnContentInitCreateVideoResponse struct {
BaseResponse // Common response fields
Result *McnContentInitCreateVideoResponseDataResult `json:"result,omitempty"` //
}
type McnContentInitCreateVideoResponseDataResult ¶ added in v0.1.2
type McnContentListCategoryResponse ¶
type McnContentListCategoryResponse struct {
BaseResponse // Common response fields
Result *McnContentListCategoryResponseDataResult `json:"result,omitempty"` //
}
type McnContentListCategoryResponseDataResult ¶ added in v0.1.2
type McnContentPropertyTagListResponse ¶
type McnContentPropertyTagListResponse struct {
BaseResponse // Common response fields
ResultCode string `json:"resultCode,omitempty"` //
ResultMessage string `json:"resultMessage,omitempty"` //
TagList []interface{} `json:"tagList,omitempty"` //
}
type McnContentReplySchedulePublishResponse ¶
type McnContentReplySchedulePublishResponse struct {
BaseResponse // Common response fields
ApiResult *ApiResult `json:"api_result,omitempty"` //
}
type McnContentUploadImageResponse ¶
type McnContentUploadImageResponse struct {
BaseResponse // Common response fields
Result *McnContentUploadImageResponseDataResult `json:"result,omitempty"` //
}
type McnContentUploadImageResponseDataResult ¶ added in v0.1.2
type McnContentUploadVideoBlockResponse ¶
type McnContentUploadVideoBlockResponse struct {
BaseResponse // Common response fields
Result *McnContentUploadVideoBlockResponseDataResult `json:"result,omitempty"` //
}
type McnContentUploadVideoBlockResponseDataResult ¶ added in v0.1.2
type McnProductValidatorResponse ¶
type McnProductValidatorResponse struct {
BaseResponse // Common response fields
Result *McnProductValidatorResponseDataResult `json:"result,omitempty"` //
}
type McnProductValidatorResponseDataResult ¶ added in v0.1.2
type McnProductValidatorResponseDataResult struct {
ResultMessage string `json:"result_message"` // [Required]
Success bool `json:"success"` // [Required]
HighRiskItemList []string `json:"highRiskItemList"` // [Required]
NormalItemList []string `json:"normalItemList"` // [Required]
ResultCode string `json:"result_code"` // [Required]
}
type McnSimilarProductSearchResponse ¶
type McnSimilarProductSearchResponse struct {
BaseResponse // Common response fields
ConfidentialityStatement string `json:"confidentialityStatement,omitempty"` //
ProductList []Product `json:"productList,omitempty"` //
ResultCode string `json:"result_code,omitempty"` //
ResultMessage string `json:"result_message,omitempty"` //
}
type MediaCenterService ¶
type MediaCenterService interface {
// CompleteCreateVideo After uploading all blocks of the video file, call CompleteCreateVideo to complete the video uploading process.
// Path: /media/video/block/commit
CompleteCreateVideo(ctx context.Context) (*CompleteCreateVideoResponse, error)
// GetVideo You call this action to get video info after uploading.
// Path: /media/video/get
GetVideo(ctx context.Context) (*GetVideoResponse, error)
// GetVideoQuota You call this api to get the capacity quota of seller.
// Path: /media/video/quota/get
GetVideoQuota(ctx context.Context) (*GetVideoQuotaResponse, error)
// InitCreateVideo A seller starts to upload a video file
// Path: /media/video/block/create
InitCreateVideo(ctx context.Context) (*InitCreateVideoResponse, error)
// RemoveVideo You can this api to delete a video file permanently.
// Path: /media/video/remove
RemoveVideo(ctx context.Context) (*RemoveVideoResponse, error)
// UploadVideoBlock The API is used to upload one block of origin video file. The video file can split into multiple files. For example, a 8MB video file can be split into three blocks. 3MB, 3MB and 2MB. These three blocks can be uploaded by calling UploadVideoBlock three times.
// Path: /media/video/block/upload
UploadVideoBlock(ctx context.Context, filename string, reader io.Reader) (*UploadVideoBlockResponse, error)
}
type MediaCenterServiceOp ¶
type MediaCenterServiceOp[T any] struct { // contains filtered or unexported fields }
func (*MediaCenterServiceOp[T]) CompleteCreateVideo ¶
func (s *MediaCenterServiceOp[T]) CompleteCreateVideo(ctx context.Context) (*CompleteCreateVideoResponse, error)
CompleteCreateVideo After uploading all blocks of the video file, call CompleteCreateVideo to complete the video uploading process. Path: /media/video/block/commit
func (*MediaCenterServiceOp[T]) GetVideo ¶
func (s *MediaCenterServiceOp[T]) GetVideo(ctx context.Context) (*GetVideoResponse, error)
GetVideo You call this action to get video info after uploading. Path: /media/video/get
func (*MediaCenterServiceOp[T]) GetVideoQuota ¶
func (s *MediaCenterServiceOp[T]) GetVideoQuota(ctx context.Context) (*GetVideoQuotaResponse, error)
GetVideoQuota You call this api to get the capacity quota of seller. Path: /media/video/quota/get
func (*MediaCenterServiceOp[T]) InitCreateVideo ¶
func (s *MediaCenterServiceOp[T]) InitCreateVideo(ctx context.Context) (*InitCreateVideoResponse, error)
InitCreateVideo A seller starts to upload a video file Path: /media/video/block/create
func (*MediaCenterServiceOp[T]) RemoveVideo ¶
func (s *MediaCenterServiceOp[T]) RemoveVideo(ctx context.Context) (*RemoveVideoResponse, error)
RemoveVideo You can this api to delete a video file permanently. Path: /media/video/remove
func (*MediaCenterServiceOp[T]) UploadVideoBlock ¶
func (s *MediaCenterServiceOp[T]) UploadVideoBlock(ctx context.Context, filename string, reader io.Reader) (*UploadVideoBlockResponse, error)
UploadVideoBlock The API is used to upload one block of origin video file. The video file can split into multiple files. For example, a 8MB video file can be split into three blocks. 3MB, 3MB and 2MB. These three blocks can be uploaded by calling UploadVideoBlock three times. Path: /media/video/block/upload
type MemberSubOrder ¶ added in v0.1.2
type MemberSubOrder struct {
PickUpStoreInfo *PickUpStoreInfo `json:"pick_up_store_info"` // [Required]
TaxAmount FlexString `json:"tax_amount"` // [Required]
Reason FlexString `json:"reason"` // [Required]
SlaTimeStamp FlexString `json:"sla_time_stamp"` // [Required]
VoucherSeller FlexString `json:"voucher_seller"` // [Required]
PurchaseOrderId FlexString `json:"purchase_order_id"` // [Required]
VoucherCodeSeller FlexString `json:"voucher_code_seller"` // [Required]
VoucherCode FlexString `json:"voucher_code"` // [Required]
PackageId FlexString `json:"package_id"` // [Required]
BuyerId FlexString `json:"buyer_id"` // [Required]
Variation FlexString `json:"variation"` // [Required]
ProductId int64 `json:"product_id"` // [Required]
VoucherCodePlatform FlexString `json:"voucher_code_platform"` // [Required]
PurchaseOrderNumber FlexString `json:"purchase_order_number"` // [Required]
Sku FlexString `json:"sku"` // [Required]
OrderType FlexString `json:"order_type"` // [Required]
InvoiceNumber FlexString `json:"invoice_number"` // [Required]
SellerId int64 `json:"seller_id"` // [Required]
CancelReturnInitiator FlexString `json:"cancel_return_initiator"` // [Required]
ShopSku FlexString `json:"shop_sku"` // [Required]
IsReroute FlexString `json:"is_reroute"` // [Required]
StagePayStatus FlexString `json:"stage_pay_status"` // [Required]
SkuId int64 `json:"sku_id"` // [Required]
TrackingCodePre FlexString `json:"tracking_code_pre"` // [Required]
OrderItemId int64 `json:"order_item_id"` // [Required]
ShopId int64 `json:"shop_id"` // [Required]
OrderFlag FlexString `json:"order_flag"` // [Required]
IsFbl FlexString `json:"is_fbl"` // [Required]
Name FlexString `json:"name"` // [Required]
OrderId FlexInt `json:"order_id"` // [Required]
Status FlexString `json:"status"` // [Required]
ProductMainImage FlexString `json:"product_main_image"` // [Required]
VoucherPlatform FlexString `json:"voucher_platform"` // [Required]
PaidPrice FlexString `json:"paid_price"` // [Required]
ProductDetailUrl FlexString `json:"product_detail_url"` // [Required]
WarehouseCode FlexString `json:"warehouse_code"` // [Required]
PromisedShippingTime FlexString `json:"promised_shipping_time"` // [Required]
ShippingType FlexString `json:"shipping_type"` // [Required]
CreatedAt FlexString `json:"created_at"` // [Required]
VoucherSellerLpi FlexString `json:"voucher_seller_lpi"` // [Required]
ShippingFeeDiscountPlatform FlexString `json:"shipping_fee_discount_platform"` // [Required]
WalletCredits FlexString `json:"wallet_credits"` // [Required]
UpdatedAt FlexString `json:"updated_at"` // [Required]
Currency FlexString `json:"currency"` // [Required]
ShippingProviderType FlexString `json:"shipping_provider_type"` // [Required]
VoucherPlatformLpi FlexString `json:"voucher_platform_lpi"` // [Required]
ShippingFeeOriginal FlexString `json:"shipping_fee_original"` // [Required]
ItemPrice FlexString `json:"item_price"` // [Required]
IsDigital FlexString `json:"is_digital"` // [Required]
ShippingServiceCost FlexString `json:"shipping_service_cost"` // [Required]
TrackingCode FlexString `json:"tracking_code"` // [Required]
ShippingFeeDiscountSeller FlexString `json:"shipping_fee_discount_seller"` // [Required]
ShippingAmount FlexString `json:"shipping_amount"` // [Required]
ReasonDetail FlexString `json:"reason_detail"` // [Required]
ReturnStatus FlexString `json:"return_status"` // [Required]
PartnerUserId FlexString `json:"partner_user_id"` // [Required]
ShipmentProvider FlexString `json:"shipment_provider"` // [Required]
VoucherAmount FlexString `json:"voucher_amount"` // [Required]
DigitalDeliveryInfo FlexString `json:"digital_delivery_info"` // [Required]
ExtraAttributes FlexString `json:"extra_attributes"` // [Required]
}
type MembershipService ¶
type MembershipService interface {
// GetLinkMember Query the linkmember relationship between buyers and sellers.
// Path: /membership/linkmember/get
GetLinkMember(ctx context.Context) (*GetLinkMemberResponse, error)
// GetLinkMember1 Query the linkmember relationship between buyers and sellers.
// Path: /partner/get
GetLinkMember1(ctx context.Context) (*GetLinkMember1Response, error)
// GetLinkMemberList Query all linkmembers of the seller
// Path: /membership/linkmember/list
GetLinkMemberList(ctx context.Context) (*GetLinkMemberListResponse, error)
// GetLinkMemberList1 Query all linkmembers of the seller
// Path: /partner/list
GetLinkMemberList1(ctx context.Context) (*GetLinkMemberList1Response, error)
// LinkMembership Used to push a new membership to Lazada for proactively linking memberships.
// Path: /membership/link
LinkMembership(ctx context.Context) (*LinkMembershipResponse, error)
// PartnerLink Used to push a new membership to Lazada for proactively linking memberships.
// Path: /partner/link
PartnerLink(ctx context.Context) (*PartnerLinkResponse, error)
// PartnerTransaction Using this interface, you can obtain the seller's transaction order based on the conditions, and also contain the membership information
// Path: /partner/transaction
PartnerTransaction(ctx context.Context) (*PartnerTransactionResponse, error)
// PartnerUnlink Used to remove a linked membership from Lazada. Please note that the link will not physically be removed, but deactivated.
// Path: /partner/unlink
PartnerUnlink(ctx context.Context) (*PartnerUnlinkResponse, error)
// PartnerUpdate Used to push membership bulk status updates to Lazada. Please note that this is not an incremental update, thus information left out that haven been in our system before, will be removed on our end.
// Path: /partner/update
PartnerUpdate(ctx context.Context) (*PartnerUpdateResponse, error)
// UpdatePartnerUserId Used to update the partner user id to new partner user id
// Path: /partner/updatePartnerUserId
UpdatePartnerUserId(ctx context.Context) (*UpdatePartnerUserIdResponse, error)
}
type MembershipServiceOp ¶
type MembershipServiceOp[T any] struct { // contains filtered or unexported fields }
func (*MembershipServiceOp[T]) GetLinkMember ¶
func (s *MembershipServiceOp[T]) GetLinkMember(ctx context.Context) (*GetLinkMemberResponse, error)
GetLinkMember Query the linkmember relationship between buyers and sellers. Path: /membership/linkmember/get
func (*MembershipServiceOp[T]) GetLinkMember1 ¶
func (s *MembershipServiceOp[T]) GetLinkMember1(ctx context.Context) (*GetLinkMember1Response, error)
GetLinkMember1 Query the linkmember relationship between buyers and sellers. Path: /partner/get
func (*MembershipServiceOp[T]) GetLinkMemberList ¶
func (s *MembershipServiceOp[T]) GetLinkMemberList(ctx context.Context) (*GetLinkMemberListResponse, error)
GetLinkMemberList Query all linkmembers of the seller Path: /membership/linkmember/list
func (*MembershipServiceOp[T]) GetLinkMemberList1 ¶
func (s *MembershipServiceOp[T]) GetLinkMemberList1(ctx context.Context) (*GetLinkMemberList1Response, error)
GetLinkMemberList1 Query all linkmembers of the seller Path: /partner/list
func (*MembershipServiceOp[T]) LinkMembership ¶
func (s *MembershipServiceOp[T]) LinkMembership(ctx context.Context) (*LinkMembershipResponse, error)
LinkMembership Used to push a new membership to Lazada for proactively linking memberships. Path: /membership/link
func (*MembershipServiceOp[T]) PartnerLink ¶
func (s *MembershipServiceOp[T]) PartnerLink(ctx context.Context) (*PartnerLinkResponse, error)
PartnerLink Used to push a new membership to Lazada for proactively linking memberships. Path: /partner/link
func (*MembershipServiceOp[T]) PartnerTransaction ¶
func (s *MembershipServiceOp[T]) PartnerTransaction(ctx context.Context) (*PartnerTransactionResponse, error)
PartnerTransaction Using this interface, you can obtain the seller's transaction order based on the conditions, and also contain the membership information Path: /partner/transaction
func (*MembershipServiceOp[T]) PartnerUnlink ¶
func (s *MembershipServiceOp[T]) PartnerUnlink(ctx context.Context) (*PartnerUnlinkResponse, error)
PartnerUnlink Used to remove a linked membership from Lazada. Please note that the link will not physically be removed, but deactivated. Path: /partner/unlink
func (*MembershipServiceOp[T]) PartnerUpdate ¶
func (s *MembershipServiceOp[T]) PartnerUpdate(ctx context.Context) (*PartnerUpdateResponse, error)
PartnerUpdate Used to push membership bulk status updates to Lazada. Please note that this is not an incremental update, thus information left out that haven been in our system before, will be removed on our end. Path: /partner/update
func (*MembershipServiceOp[T]) UpdatePartnerUserId ¶
func (s *MembershipServiceOp[T]) UpdatePartnerUserId(ctx context.Context) (*UpdatePartnerUserIdResponse, error)
UpdatePartnerUserId Used to update the partner user id to new partner user id Path: /partner/updatePartnerUserId
type Message ¶ added in v0.1.2
type Message struct {
FromAccountType string `json:"from_account_type"` // [Required]
ProcessMsg string `json:"process_msg"` // [Required]
SessionId string `json:"session_id"` // [Required]
MessageId string `json:"message_id"` // [Required]
Type string `json:"type"` // [Required]
Content string `json:"content"` // [Required]
ToAccountId string `json:"to_account_id"` // [Required]
SendTime string `json:"send_time"` // [Required]
AutoReply string `json:"auto_reply"` // [Required]
ToAccountType string `json:"to_account_type"` // [Required]
SiteId string `json:"site_id"` // [Required]
TemplateId string `json:"template_id"` // [Required]
FromAccountId string `json:"from_account_id"` // [Required]
Status string `json:"status"` // [Required]
}
type MessageContent ¶ added in v0.1.2
type MessageContent struct {
AppLink string `json:"appLink"` // [Required]
WebLink string `json:"webLink"` // [Required]
Description string `json:"description"` // [Required]
Title string `json:"title"` // [Required]
CategoryName string `json:"categoryName"` // [Required]
Picture string `json:"picture"` // [Required]
}
type MessageRecallResponse ¶
type MessageRecallResponse struct {
BaseResponse // Common response fields
ErrCode string `json:"err_code,omitempty"` //
ErrMessage string `json:"err_message,omitempty"` //
}
type MigrateImageResponse ¶
type MigrateImageResponse struct {
BaseResponse // Common response fields
Response MigrateImageResponseData `json:"data"` // Response data
}
type MigrateImageResponseData ¶ added in v0.1.2
type MigrateImageResponseData struct {
Image *ResponseDataImage `json:"image"` // [Required]
}
type MigrateImagesResponse ¶
type MigrateImagesResponse struct {
BaseResponse // Common response fields
BatchId string `json:"batch_id,omitempty"` //
}
type Model ¶ added in v0.1.2
type Model struct {
VoucherPlatform FlexString `json:"voucher_platform"` // [Required]
Voucher FlexString `json:"voucher"` // [Required]
WarehouseCode FlexString `json:"warehouse_code"` // [Required]
OrderNumber FlexString `json:"order_number"` // [Required]
VoucherSeller FlexString `json:"voucher_seller"` // [Required]
CreatedAt FlexString `json:"created_at"` // [Required]
VoucherCode FlexString `json:"voucher_code"` // [Required]
GiftOption FlexString `json:"gift_option"` // [Required]
ShippingFeeDiscountPlatform FlexString `json:"shipping_fee_discount_platform"` // [Required]
CustomerLastName FlexString `json:"customer_last_name"` // [Required]
UpdatedAt FlexString `json:"updated_at"` // [Required]
PromisedShippingTimes FlexString `json:"promised_shipping_times"` // [Required]
Price FlexFloat `json:"price"` // [Required]
NationalRegistrationNumber FlexString `json:"national_registration_number"` // [Required]
ShippingFeeOriginal FlexString `json:"shipping_fee_original"` // [Required]
PaymentMethod FlexString `json:"payment_method"` // [Required]
AddressUpdatedAt FlexString `json:"address_updated_at"` // [Required]
CustomerFirstName FlexString `json:"customer_first_name"` // [Required]
MemberSubOrderList []MemberSubOrder `json:"member_sub_order_list"` // [Required]
ShippingFeeDiscountSeller FlexString `json:"shipping_fee_discount_seller"` // [Required]
ShippingFee FlexString `json:"shipping_fee"` // [Required]
BranchNumber FlexString `json:"branch_number"` // [Required]
TaxCode FlexString `json:"tax_code"` // [Required]
ItemsCount FlexString `json:"items_count"` // [Required]
DeliveryInfo FlexString `json:"delivery_info"` // [Required]
Statuses []string `json:"statuses"` // [Required]
AddressBilling *AddressBilling `json:"address_billing"` // [Required]
ExtraAttributes FlexString `json:"extra_attributes"` // [Required]
OrderId FlexInt `json:"order_id"` // [Required]
GiftMessage FlexString `json:"gift_message"` // [Required]
Remarks FlexString `json:"remarks"` // [Required]
AddressShipping *AddressShipping `json:"address_shipping"` // [Required]
}
type ModifyAutoTopUpOptionOneConfigResponse ¶
type ModifyAutoTopUpOptionOneConfigResponse struct {
BaseResponse // Common response fields
AnalyseTraceId string `json:"analyseTraceId,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
Result string `json:"result,omitempty"` //
}
type MultiWarehouseInventories ¶ added in v0.1.2
type OpenServiceBalanceQueryResponse ¶
type OpenServiceBalanceQueryResponse struct {
BaseResponse // Common response fields
AvailableAmount string `json:"available_amount,omitempty"` //
AvailableAmountCent string `json:"available_amount_cent,omitempty"` //
Currency string `json:"currency,omitempty"` //
DateTime string `json:"date_time,omitempty"` //
}
type OpenServiceKycQueryResponse ¶
type OpenServiceKycQueryResponse struct {
BaseResponse // Common response fields
Birthday string `json:"birthday,omitempty"` //
CertFrontImage string `json:"cert_front_image,omitempty"` //
CertType string `json:"cert_type,omitempty"` //
ExtendInfo string `json:"extend_info,omitempty"` //
FullKycStatus string `json:"full_kyc_status,omitempty"` //
FullName string `json:"full_name,omitempty"` //
KycJumpUrl string `json:"kyc_jump_url,omitempty"` //
Phone string `json:"phone,omitempty"` //
Prefix string `json:"prefix,omitempty"` //
UserId string `json:"userId,omitempty"` //
}
type OpenServiceWithdrawApplyResponse ¶
type OpenServiceWithdrawApplyResponse struct {
BaseResponse // Common response fields
Currency string `json:"currency,omitempty"` //
PartnerDeposit string `json:"partner_deposit,omitempty"` //
WithdrawAmount string `json:"withdraw_amount,omitempty"` //
WithdrawId string `json:"withdraw_id,omitempty"` //
WithdrawRequestId string `json:"withdraw_request_id,omitempty"` //
Withdrawable string `json:"withdrawable,omitempty"` //
}
type OpenServiceWithdrawQueryResponse ¶
type OpenServiceWithdrawQueryResponse struct {
BaseResponse // Common response fields
Currency string `json:"currency,omitempty"` //
PartnerDeposit string `json:"partner_deposit,omitempty"` //
WithdrawAmount string `json:"withdraw_amount,omitempty"` //
WithdrawId string `json:"withdraw_id,omitempty"` //
WithdrawRequestId string `json:"withdraw_request_id,omitempty"` //
Withdrawable string `json:"withdrawable,omitempty"` //
}
type OpenSessionResponse ¶
type OpenSessionResponse struct {
BaseResponse // Common response fields
SessionId string `json:"session_id,omitempty"` //
}
type Option ¶
func WithLogger ¶
func WithLogger[T any](logger LeveledLoggerInterface) Option[T]
func WithOnTokenRefresh ¶
func WithOnTokenRefresh[T any](fn func(res *RefreshAccessTokenResponse, meta T)) Option[T]
func WithRefreshToken ¶
type Order ¶ added in v0.1.2
type Order struct {
Premium string `json:"premium"` // [Required]
ExpireTime string `json:"expireTime"` // [Required]
OrderDetailLink string `json:"orderDetailLink"` // [Required]
EffectiveTime string `json:"effectiveTime"` // [Required]
InsuranceName string `json:"insuranceName"` // [Required]
OrderStatus string `json:"orderStatus"` // [Required]
ZoneId string `json:"zoneId"` // [Required]
PolicyLink string `json:"policyLink"` // [Required]
InsuredName string `json:"insuredName"` // [Required]
PaidPremium string `json:"paidPremium"` // [Required]
TransactionId string `json:"transactionId"` // [Required]
ProductName string `json:"productName"` // [Required]
}
type OrderCancelValidateRequest ¶ added in v0.1.8
type OrderCancelValidateRequest struct {
OrderId string `json:"order_id" url:"order_id"` // [Required]
}
type OrderCancelValidateResponse ¶
type OrderCancelValidateResponse struct {
BaseResponse // Common response fields
Response OrderCancelValidateResponseData `json:"data"` // Response data
}
type OrderCancelValidateResponseData ¶ added in v0.1.2
type OrderCancelValidateResponseData struct {
TipContent FlexString `json:"tip_content"` // [Required]
ReasonOptions []ReasonOptions `json:"reason_options"` // [Required]
TipType FlexString `json:"tip_type"` // [Required]
}
type OrderCreationDate ¶ added in v0.1.2
type OrderCreationDate struct {
Offset int64 `json:"offset"` // [Required]
Year string `json:"year"` // [Required]
DayOfYear string `json:"day_of_year"` // [Required]
Nano string `json:"nano"` // [Required]
Chronology string `json:"chronology"` // [Required]
MonthValue string `json:"month_value"` // [Required]
DayOfMonth string `json:"day_of_month"` // [Required]
Minute string `json:"minute"` // [Required]
Second string `json:"second"` // [Required]
Month string `json:"month"` // [Required]
Hour string `json:"hour"` // [Required]
Zone *Zone `json:"zone"` // [Required]
DayOfWeek string `json:"day_of_week"` // [Required]
}
type OrderInfo ¶ added in v0.1.2
type OrderInfo struct {
OrderItemStatus string `json:"order_item_status"` // [Required]
OrderCreationDate *OrderCreationDate `json:"order_creation_date"` // [Required]
}
type OrderItems ¶ added in v0.1.2
type OrderItems struct {
TaxAmount FlexString `json:"tax_amount"` // [Required]
PickUpStoreInfo *PickUpStoreInfo `json:"pick_up_store_info"` // [Required]
Reason FlexString `json:"reason"` // [Required]
SlaTimeStamp FlexString `json:"sla_time_stamp"` // [Required]
PurchaseOrderId FlexString `json:"purchase_order_id"` // [Required]
VoucherSeller FlexString `json:"voucher_seller"` // [Required]
PaymentTime FlexString `json:"payment_time"` // [Required]
VoucherCodeSeller FlexString `json:"voucher_code_seller"` // [Required]
VoucherCode FlexString `json:"voucher_code"` // [Required]
PackageId FlexString `json:"package_id"` // [Required]
BuyerId FlexString `json:"buyer_id"` // [Required]
Variation FlexString `json:"variation"` // [Required]
IsCancelPending FlexString `json:"is_cancel_pending"` // [Required]
BizGroup FlexString `json:"biz_group"` // [Required]
VoucherCodePlatform FlexString `json:"voucher_code_platform"` // [Required]
PurchaseOrderNumber FlexString `json:"purchase_order_number"` // [Required]
ShowGiftWrappingTag FlexString `json:"show_gift_wrapping_tag"` // [Required]
Sku FlexString `json:"sku"` // [Required]
GiftWrapping FlexString `json:"gift_wrapping"` // [Required]
ScheduleDeliveryStartTimeslot FlexString `json:"schedule_delivery_start_timeslot"` // [Required]
InvoiceNumber FlexString `json:"invoice_number"` // [Required]
OrderType FlexString `json:"order_type"` // [Required]
ShowPersonalizationTag FlexString `json:"show_personalization_tag"` // [Required]
CanEscalatePickup FlexString `json:"can_escalate_pickup"` // [Required]
CancelTriggerTime FlexString `json:"cancel_trigger_time"` // [Required]
CancelReturnInitiator FlexString `json:"cancel_return_initiator"` // [Required]
ShopSku FlexString `json:"shop_sku"` // [Required]
IsReroute FlexString `json:"is_reroute"` // [Required]
StagePayStatus FlexString `json:"stage_pay_status"` // [Required]
SkuId FlexInt `json:"sku_id"` // [Required]
TrackingCodePre FlexString `json:"tracking_code_pre"` // [Required]
OrderItemId FlexInt `json:"order_item_id"` // [Required]
ShopId FlexString `json:"shop_id"` // [Required]
OrderFlag FlexString `json:"order_flag"` // [Required]
IsFbl FlexString `json:"is_fbl"` // [Required]
Name FlexString `json:"name"` // [Required]
DeliveryOptionSof FlexString `json:"delivery_option_sof"` // [Required]
OrderId FlexInt `json:"order_id"` // [Required]
FulfillmentSla FlexString `json:"fulfillment_sla"` // [Required]
NeedCancelConfirm FlexString `json:"need_cancel_confirm"` // [Required]
Status FlexString `json:"status"` // [Required]
PaidPrice FlexString `json:"paid_price"` // [Required]
ProductMainImage FlexString `json:"product_main_image"` // [Required]
VoucherPlatform FlexString `json:"voucher_platform"` // [Required]
ProductDetailUrl FlexString `json:"product_detail_url"` // [Required]
PromisedShippingTime FlexString `json:"promised_shipping_time"` // [Required]
WarehouseCode FlexString `json:"warehouse_code"` // [Required]
ShippingType FlexString `json:"shipping_type"` // [Required]
CreatedAt FlexString `json:"created_at"` // [Required]
SupplyPrice FlexString `json:"supply_price"` // [Required]
Mp3Order FlexString `json:"mp3_order"` // [Required]
VoucherSellerLpi FlexString `json:"voucher_seller_lpi"` // [Required]
ShippingFeeDiscountPlatform FlexString `json:"shipping_fee_discount_platform"` // [Required]
Personalization FlexString `json:"personalization"` // [Required]
WalletCredits FlexString `json:"wallet_credits"` // [Required]
ReverseOrderId FlexString `json:"reverse_order_id"` // [Required]
UpdatedAt FlexString `json:"updated_at"` // [Required]
Currency FlexString `json:"currency"` // [Required]
ShippingProviderType FlexString `json:"shipping_provider_type"` // [Required]
ShippingFeeOriginal FlexString `json:"shipping_fee_original"` // [Required]
VoucherPlatformLpi FlexString `json:"voucher_platform_lpi"` // [Required]
ScheduleDeliveryEndTimeslot FlexString `json:"schedule_delivery_end_timeslot"` // [Required]
IsDigital FlexString `json:"is_digital"` // [Required]
ItemPrice FlexString `json:"item_price"` // [Required]
ShippingServiceCost FlexString `json:"shipping_service_cost"` // [Required]
TrackingCode FlexString `json:"tracking_code"` // [Required]
ShippingFeeDiscountSeller FlexString `json:"shipping_fee_discount_seller"` // [Required]
ShippingAmount FlexString `json:"shipping_amount"` // [Required]
ReasonDetail FlexString `json:"reason_detail"` // [Required]
ReturnStatus FlexString `json:"return_status"` // [Required]
SemiManaged FlexString `json:"semi_managed"` // [Required]
ShipmentProvider FlexString `json:"shipment_provider"` // [Required]
PriorityFulfillmentTag FlexString `json:"priority_fulfillment_tag"` // [Required]
VoucherAmount FlexString `json:"voucher_amount"` // [Required]
SupplyPriceCurrency FlexString `json:"supply_price_currency"` // [Required]
DigitalDeliveryInfo FlexString `json:"digital_delivery_info"` // [Required]
ExtraAttributes FlexString `json:"extra_attributes"` // [Required]
ModelQuantityPurchased FlexInt `json:"model_quantity_purchased"` //
}
type OrderService ¶
type OrderService interface {
// GetDocument Use this API to retrieve order-related documents, including invoices and shipping labels.
// Path: /order/document/get
GetDocument(ctx context.Context) (*GetDocumentResponse, error)
// GetMultipleOrderItems Use this API to get the item information of one or more orders.(No more than 50 at a time)
// Path: /orders/items/get
GetMultipleOrderItems(ctx context.Context, opt GetMultipleOrderItemsRequest) (*GetMultipleOrderItemsResponse, error)
// GetOrder Use this API to get the list of items for a single order.
// Path: /order/get
GetOrder(ctx context.Context) (*GetOrderResponse, error)
// GetOrderItems Use this API to get the item information of an order.
// Path: /order/items/get
GetOrderItems(ctx context.Context, opt GetOrderItemsRequest) (*GetOrderItemsResponse, error)
// GetOrders Use this API to get the list of items for a range of orders1..
// Path: /orders/get
GetOrders(ctx context.Context, opt GetOrdersRequest) (*GetOrdersResponse, error)
// GetOVOOrders This interface is only applicable to the merchant side of the business and is used to set the maximum number of SKUs that certain merchants can sell per day
// Path: /orders/ovo/get
GetOVOOrders(ctx context.Context) (*GetOVOOrdersResponse, error)
// OrderCancelValidate Seller can check whether the order can be canceled through this API and get corresponding reasons if not.
// Path: /order/reverse/cancel/validate
OrderCancelValidate(ctx context.Context, opt OrderCancelValidateRequest) (*OrderCancelValidateResponse, error)
// SetInvoiceNumber Use this API to set the invoice number for the specified order.
// Path: /order/invoice_number/set
SetInvoiceNumber(ctx context.Context) (*SetInvoiceNumberResponse, error)
}
type OrderServiceOp ¶
type OrderServiceOp[T any] struct { // contains filtered or unexported fields }
func (*OrderServiceOp[T]) GetDocument ¶
func (s *OrderServiceOp[T]) GetDocument(ctx context.Context) (*GetDocumentResponse, error)
GetDocument Use this API to retrieve order-related documents, including invoices and shipping labels. Path: /order/document/get
func (*OrderServiceOp[T]) GetMultipleOrderItems ¶
func (s *OrderServiceOp[T]) GetMultipleOrderItems(ctx context.Context, opt GetMultipleOrderItemsRequest) (*GetMultipleOrderItemsResponse, error)
GetMultipleOrderItems Use this API to get the item information of one or more orders.(No more than 50 at a time) Path: /orders/items/get
func (*OrderServiceOp[T]) GetOVOOrders ¶
func (s *OrderServiceOp[T]) GetOVOOrders(ctx context.Context) (*GetOVOOrdersResponse, error)
GetOVOOrders This interface is only applicable to the merchant side of the business and is used to set the maximum number of SKUs that certain merchants can sell per day Path: /orders/ovo/get
func (*OrderServiceOp[T]) GetOrder ¶
func (s *OrderServiceOp[T]) GetOrder(ctx context.Context) (*GetOrderResponse, error)
GetOrder Use this API to get the list of items for a single order. Path: /order/get
func (*OrderServiceOp[T]) GetOrderItems ¶
func (s *OrderServiceOp[T]) GetOrderItems(ctx context.Context, opt GetOrderItemsRequest) (*GetOrderItemsResponse, error)
GetOrderItems Use this API to get the item information of an order. Path: /order/items/get
func (*OrderServiceOp[T]) GetOrders ¶
func (s *OrderServiceOp[T]) GetOrders(ctx context.Context, opt GetOrdersRequest) (*GetOrdersResponse, error)
GetOrders Use this API to get the list of items for a range of orders1.. Path: /orders/get
func (*OrderServiceOp[T]) OrderCancelValidate ¶
func (s *OrderServiceOp[T]) OrderCancelValidate(ctx context.Context, opt OrderCancelValidateRequest) (*OrderCancelValidateResponse, error)
OrderCancelValidate Seller can check whether the order can be canceled through this API and get corresponding reasons if not. Path: /order/reverse/cancel/validate
func (*OrderServiceOp[T]) SetInvoiceNumber ¶
func (s *OrderServiceOp[T]) SetInvoiceNumber(ctx context.Context) (*SetInvoiceNumberResponse, error)
SetInvoiceNumber Use this API to set the invoice number for the specified order. Path: /order/invoice_number/set
type OrdersAddressBilling ¶ added in v0.1.2
type OrdersAddressBilling struct {
Country FlexString `json:"country"` // [Required]
Address3 FlexString `json:"address3"` // [Required]
Address2 FlexString `json:"address2"` // [Required]
City FlexString `json:"city"` // [Required]
Address1 FlexString `json:"address1"` // [Required]
Phone2 FlexString `json:"phone2"` // [Required]
LastName FlexString `json:"last_name"` // [Required]
AddressDsitrict FlexString `json:"addressDsitrict"` // [Required]
Phone FlexString `json:"phone"` // [Required]
PostCode FlexString `json:"post_code"` // [Required]
Address5 FlexString `json:"address5"` // [Required]
Address4 FlexString `json:"address4"` // [Required]
FirstName FlexString `json:"first_name"` // [Required]
}
type PackOrder ¶ added in v0.1.2
type PackOrder struct {
OrderItemList []PackOrderOrderItem `json:"order_item_list"` // [Required]
OrderId int64 `json:"order_id"` // [Required]
}
type PackOrderOrderItem ¶ added in v0.1.2
type PackOrderOrderItem struct {
OrderItemId int64 `json:"order_item_id"` // [Required]
Msg string `json:"msg"` // [Required]
ItemErrCode string `json:"item_err_code"` // [Required]
TrackingNumber string `json:"tracking_number"` // [Required]
ShipmentProvider string `json:"shipment_provider"` // [Required]
PackageId string `json:"package_id"` // [Required]
Retry string `json:"retry"` // [Required]
}
type PackRequest ¶ added in v0.1.8
type PackRequest struct {
OrderItemIds string `json:"order_item_ids"` // [Required]
}
type PackResponse ¶
type PackResponse struct {
BaseResponse // Common response fields
Response PackResponseData `json:"data"` //
}
type PackResponseData ¶ added in v0.1.8
type PackResponseData struct {
PackOrderList []PackOrder `json:"pack_order_list"` // Response data
}
type PackResponseDataResult ¶ added in v0.1.2
type PackResponseDataResult struct {
ErrorMsg string `json:"error_msg"` // [Required]
Data *PackResponseDataResultData `json:"data"` // [Required]
Success bool `json:"success"` // [Required]
ErrorCode string `json:"error_code"` // [Required]
}
type PackResponseDataResultData ¶ added in v0.1.2
type PackResponseDataResultData struct {
PackOrderList []PackOrder `json:"pack_order_list"` // [Required]
}
type PackageDetailInfo ¶ added in v0.1.2
type PackageDetailInfo struct {
OrderLineInfoList string `json:"order_line_info_list"` // [Required]
OfcPackageId string `json:"ofc_package_id"` // [Required]
TrackingNumber string `json:"tracking_number"` // [Required]
LogisticDetailInfoList []LogisticDetailInfo `json:"logistic_detail_info_list"` // [Required]
}
type PackageInfo ¶ added in v0.1.2
type PackageInfo struct {
DeliveryDate *OrderCreationDate `json:"delivery_date"` // [Required]
DestinationAddress string `json:"destination_address"` // [Required]
OriginAddress string `json:"origin_address"` // [Required]
TrackingNumber string `json:"tracking_number"` // [Required]
BillingDate *OrderCreationDate `json:"billing_date"` // [Required]
PackageChargeableWeight string `json:"package_chargeable_weight"` // [Required]
}
type PackageJitPurchaseOrderResponse ¶
type PackageJitPurchaseOrderResponse struct {
BaseResponse // Common response fields
Result *ResponseDataResult `json:"result,omitempty"` //
}
type PackageStatusUpdateForDBSResponse ¶
type PackageStatusUpdateForDBSResponse struct {
BaseResponse // Common response fields
ErrorCode *ResponseDataErrorCode `json:"errorCode,omitempty"` //
Module *Module `json:"module,omitempty"` //
}
type PartnerLinkResponse ¶
type PartnerLinkResponse struct {
BaseResponse // Common response fields
Result *PartnerLinkResponseDataResult `json:"result,omitempty"` //
}
type PartnerLinkResponseDataResult ¶ added in v0.1.2
type PartnerLinkResponseDataResult struct {
Success bool `json:"success"` // [Required]
Module *PartnerLinkResponseDataResultModule `json:"module"` // [Required]
ErrorCode *ResponseDataResultErrorCode `json:"errorCode"` // [Required]
}
type PartnerLinkResponseDataResultModule ¶ added in v0.1.2
type PartnerLinkResponseDataResultModule struct {
PartnerUid string `json:"partnerUid"` // [Required]
Status FlexString `json:"status"` // [Required]
}
type PartnerTransactionResponse ¶
type PartnerTransactionResponse struct {
BaseResponse // Common response fields
Result *PartnerTransactionResponseDataResult `json:"result,omitempty"` //
}
type PartnerTransactionResponseDataResult ¶ added in v0.1.2
type PartnerTransactionResponseDataResult struct {
ModelList []Model `json:"model_list"` // [Required]
TotalCount int64 `json:"total_count"` // [Required]
PageNo FlexString `json:"page_no"` // [Required]
PageSize int64 `json:"page_size"` // [Required]
}
type PartnerUnlinkResponse ¶
type PartnerUnlinkResponse struct {
BaseResponse // Common response fields
Result *LinkMembershipResponseDataResult `json:"result,omitempty"` //
}
type PartnerUpdateResponse ¶
type PartnerUpdateResponse struct {
BaseResponse // Common response fields
Result *LinkMembershipResponseDataResult `json:"result,omitempty"` //
}
type PayAssetDetails ¶ added in v0.1.2
type PayAssetDetails struct {
BankAccount interface{} `json:"bankAccount"` // [Required]
Coupon interface{} `json:"coupon"` // [Required]
Rebate interface{} `json:"rebate"` // [Required]
AdditionalInfo string `json:"additionalInfo"` // [Required]
ExternalAccount interface{} `json:"externalAccount"` // [Required]
Discount interface{} `json:"discount"` // [Required]
PayAssetType string `json:"payAssetType"` // [Required]
StoreValue interface{} `json:"storeValue"` // [Required]
Card interface{} `json:"card"` // [Required]
}
type PayOptions ¶ added in v0.1.2
type PayOptions struct {
DisableReasonCode string `json:"disableReasonCode"` // [Required]
DisableReasonDesc string `json:"disableReasonDesc"` // [Required]
AmountLimitMap interface{} `json:"amountLimitMap"` // [Required]
PayOptionInfo interface{} `json:"payOptionInfo"` // [Required]
Enabled string `json:"enabled"` // [Required]
SupportedCurrencies []interface{} `json:"supportedCurrencies"` // [Required]
PayCategory string `json:"payCategory"` // [Required]
PayMethod string `json:"payMethod"` // [Required]
AdditionalInfo string `json:"additionalInfo"` // [Required]
PayOption string `json:"payOption"` // [Required]
Rank string `json:"rank"` // [Required]
PayAssetDetails []PayAssetDetails `json:"payAssetDetails"` // [Required]
Preferred string `json:"preferred"` // [Required]
}
type PayeeAccount ¶ added in v0.1.2
type PaymentBindingResponse ¶
type PaymentBindingResponse struct {
BaseResponse // Common response fields
Response PaymentBindingResponseData `json:"data"` // Response data
}
type PaymentBindingResponseData ¶ added in v0.1.2
type PickUpStoreInfo ¶ added in v0.1.2
type PickUpStoreInfo struct {
PickUpStoreAddress FlexString `json:"pick_up_store_address"` // [Required]
PickUpStoreName FlexString `json:"pick_up_store_name"` // [Required]
PickUpStoreOpenHour []string `json:"pick_up_store_open_hour"` // [Required]
PickUpStoreCode FlexString `json:"pick_up_store_code"` // [Required]
}
type PickupLocations ¶ added in v0.1.2
type PickupLocations struct {
Id int64 `json:"id"` // [Required]
}
type PrintAWBRequest ¶ added in v0.1.7
type PrintAWBRequest struct {
GetDocumentReq *GetDocumentReq `json:"getDocumentReq"` // [Required]
}
type PrintAWBResponse ¶
type PrintAWBResponse struct {
BaseResponse // Common response fields
Response PrintAWBResponseData `json:"result,omitempty"` //
}
type PrintAWBResponseData ¶ added in v0.1.7
type PrintAWBResponseData struct {
Result *PrintAWBResponseDataResult `json:"result"` // Response data
}
type PrintAWBResponseDataResult ¶ added in v0.1.2
type PrintAWBResponseDataResult struct {
ErrorMsg string `json:"error_msg"` // [Required]
Data *PrintAWBResponseDataResultData `json:"data"` // [Required]
Success bool `json:"success"` // [Required]
ErrorCode string `json:"error_code"` // [Required]
}
type PrintAWBResponseDataResultData ¶ added in v0.1.2
type PrintJitPurchaseOrderAndItemResponse ¶
type PrintJitPurchaseOrderAndItemResponse struct {
BaseResponse // Common response fields
Result *PrintJitPurchaseOrderAndItemResponseDataResult `json:"result,omitempty"` //
}
type PrintJitPurchaseOrderAndItemResponseDataResult ¶ added in v0.1.2
type PrintJitPurchaseOrderAndItemResponseDataResult struct {
ErrorMessage string `json:"error_message"` // [Required]
Data *ResponseDataResultData `json:"data"` // [Required]
Success bool `json:"success"` // [Required]
ErrorCode string `json:"error_code"` // [Required]
}
type PrintPickuoOrderResponse ¶
type PrintPickuoOrderResponse struct {
BaseResponse // Common response fields
Result *PrintJitPurchaseOrderAndItemResponseDataResult `json:"result,omitempty"` //
}
type Product ¶ added in v0.1.2
type Product struct {
ProductId int64 `json:"productId"` // [Required]
ImageUrl string `json:"imageUrl"` // [Required]
ProductLink string `json:"productLink"` // [Required]
MainPicture string `json:"mainPicture"` // [Required]
ConfidentialityStatement string `json:"confidentialityStatement"` // [Required]
SkuId int64 `json:"skuId"` // [Required]
}
type ProductCheckResponse ¶
type ProductCheckResponse struct {
BaseResponse // Common response fields
}
type ProductDTO ¶ added in v0.1.2
type ProductImageMatchResponse ¶
type ProductImageMatchResponse struct {
BaseResponse // Common response fields
Result *ProductImageMatchResponseDataResult `json:"result,omitempty"` //
}
type ProductImageMatchResponseDataResult ¶ added in v0.1.2
type ProductReviewService ¶
type ProductReviewService interface {
// GetHistoryReviewIdList Get history review id list for one seller(reviews within 3 months can be get)
// Path: /review/seller/history/list
GetHistoryReviewIdList(ctx context.Context) (*GetHistoryReviewIdListResponse, error)
// GetReviewListByIdList get review list by id list, need get id list first
// Path: /review/seller/list/v2
GetReviewListByIdList(ctx context.Context) (*GetReviewListByIdListResponse, error)
// SubmitSellerReply submit seller reply for customers review
// Path: /review/seller/reply/add
SubmitSellerReply(ctx context.Context) (*SubmitSellerReplyResponse, error)
}
type ProductReviewServiceOp ¶
type ProductReviewServiceOp[T any] struct { // contains filtered or unexported fields }
func (*ProductReviewServiceOp[T]) GetHistoryReviewIdList ¶
func (s *ProductReviewServiceOp[T]) GetHistoryReviewIdList(ctx context.Context) (*GetHistoryReviewIdListResponse, error)
GetHistoryReviewIdList Get history review id list for one seller(reviews within 3 months can be get) Path: /review/seller/history/list
func (*ProductReviewServiceOp[T]) GetReviewListByIdList ¶
func (s *ProductReviewServiceOp[T]) GetReviewListByIdList(ctx context.Context) (*GetReviewListByIdListResponse, error)
GetReviewListByIdList get review list by id list, need get id list first Path: /review/seller/list/v2
func (*ProductReviewServiceOp[T]) SubmitSellerReply ¶
func (s *ProductReviewServiceOp[T]) SubmitSellerReply(ctx context.Context) (*SubmitSellerReplyResponse, error)
SubmitSellerReply submit seller reply for customers review Path: /review/seller/reply/add
type ProductService ¶
type ProductService interface {
// AdjustSellableQuantity Use this API to increase or decrease sellable quantity of one or more existing products. The maximum number of products that can be updated is 50, but 20 is recommended.
// Path: /product/stock/sellable/adjust
AdjustSellableQuantity(ctx context.Context) (*AdjustSellableQuantityResponse, error)
// BatchUpdateSizeChart 批量更新尺码表
// Path: /size/chart/batch/update
BatchUpdateSizeChart(ctx context.Context, req BatchUpdateSizeChartRequest) (*BatchUpdateSizeChartResponse, error)
// CreateProduct Use this API to create a single new product.
//
// Find more details below: https://open.lazada.com/apps/doc/doc?nodeId=30720&docId=120949
// Path: /product/create
CreateProduct(ctx context.Context, req CreateProductRequest) (*CreateProductResponse, error)
// DeactivateProduct Use this API to deactivate Product or SKUs corresponding to the product
// Path: /product/deactivate
DeactivateProduct(ctx context.Context) (*DeactivateProductResponse, error)
// GetBrandByPages Use this API to retrieve all product brands by page index in the system.
// Path: /category/brands/query
GetBrandByPages(ctx context.Context, opt GetBrandByPagesRequest) (*GetBrandByPagesResponse, error)
// GetCategoryAttributes Use this API to get a list of attributes for a specified product category.
// Path: /category/attributes/get
GetCategoryAttributes(ctx context.Context, opt GetCategoryAttributesRequest) (*GetCategoryAttributesResponse, error)
// GetCategorySuggestion Get product's category suggestion by product title
// Path: /product/category/suggestion/get
GetCategorySuggestion(ctx context.Context) (*GetCategorySuggestionResponse, error)
// GetCategoryTree Use this API to retrieve the list of all product categories in the system.
// Path: /category/tree/get
GetCategoryTree(ctx context.Context) (*GetCategoryTreeResponse, error)
// GetNextCascadeProp Use this API to query next cascade prop.
// Path: /category/cascade/getNextCascadeProp
GetNextCascadeProp(ctx context.Context) (*GetNextCascadePropResponse, error)
// GetPreQcRules query pre qc rules
// Path: /product/seller/item/getPreQcRules
GetPreQcRules(ctx context.Context) (*GetPreQcRulesResponse, error)
// GetProductContentScore get product content score
// Path: /product/content/score/get
GetProductContentScore(ctx context.Context) (*GetProductContentScoreResponse, error)
// GetProductItem Get single product by ItemId or SellerSku.
// Path: /product/item/get
GetProductItem(ctx context.Context, opt GetProductItemRequest) (*GetProductItemResponse, error)
// GetProducts Use this API to get detailed information of the specified products.
// Path: /products/get
GetProducts(ctx context.Context, opt GetProductsRequest) (*GetProductsResponse, error)
// GetQCAlertProducts Getting seller's products that have been alerted by quality control.
// Path: /product/qc/alert/list
GetQCAlertProducts(ctx context.Context) (*GetQCAlertProductsResponse, error)
// GetResponse Use this API to get the returned information from the system for the MigrateImages API.
// Path: /image/response/get
GetResponse(ctx context.Context, filename string, reader io.Reader) (*GetResponseResponse, error)
// GetSellerItemLimit The platform will provide the product quantity limit information by this interface. The qps will be limited by seller, 10 qps per seller.
// Path: /product/seller/item/limit
GetSellerItemLimit(ctx context.Context) (*GetSellerItemLimitResponse, error)
// GetSizeChartTemplate 获取尺码模板列表
// Path: /size/chart/template/get
GetSizeChartTemplate(ctx context.Context, opt GetSizeChartTemplateRequest) (*GetSizeChartTemplateResponse, error)
// GetUnfilledAttributeItem Get products without key attributes. (For cross boarder sellers Only)
// Path: /product/unfilled/attribute/get
GetUnfilledAttributeItem(ctx context.Context) (*GetUnfilledAttributeItemResponse, error)
// MigrateImage Use this API to migrate a single image from an external site to Lazada site. Allowed image formats are JPG and PNG. The maximum size of an image file is 1MB.
// Path: /image/migrate
MigrateImage(ctx context.Context, filename string, reader io.Reader) (*MigrateImageResponse, error)
// MigrateImages Use this API to migrate multiple images from an external site to Lazada site. Allowed image formats are JPG and PNG. The maximum size of an image file is 1MB. A single call can migrate 8 images at most.
// Path: /images/migrate
MigrateImages(ctx context.Context, filename string, reader io.Reader) (*MigrateImagesResponse, error)
// ProductCheck Use this API to check CB seller quantity limit of adding product .
// Path: /product/pre/check
ProductCheck(ctx context.Context) (*ProductCheckResponse, error)
// RemoveProduct Use this API to remove an existing product, some SKUs in one product, or all SKUs in one product. System supports a maximum number of 50 SellerSkus in one request.
// Path: /product/remove
RemoveProduct(ctx context.Context, req RemoveProductRequest) (*RemoveProductResponse, error)
// RemoveSku Use this API to delete SKUs and sales attributes of corresponding products.
// Path: /product/sku/remove
RemoveSku(ctx context.Context) (*RemoveSkuResponse, error)
// SetImages Use this API to set the images for an existing product by associating one or more image URLs with it.
// Path: /images/set
SetImages(ctx context.Context, filename string, reader io.Reader) (*SetImagesResponse, error)
// UpdatePriceQuantity Use this API to update the price and quantity of one or more existing products. The maximum number of products that can be updated is 50, but 20 is recommended.
// Path: /product/price_quantity/update
UpdatePriceQuantity(ctx context.Context) (*UpdatePriceQuantityResponse, error)
// UpdateProduct Use this API to update attributes or SKUs of an existing product. if need update inventory, offline, price, not recommended to use this API.
// The iteration 25/6/2020 Updated for DBS changes. Refer to Input Parameters Payload
// Path: /product/update
UpdateProduct(ctx context.Context, req UpdateProductRequest) (*UpdateProductResponse, error)
// UpdateSellableQuantity Use this API to update sellable quantity of one or more existing products. The maximum number of products that can be updated is 50, but 20 is recommended.
// Path: /product/stock/sellable/update
UpdateSellableQuantity(ctx context.Context) (*UpdateSellableQuantityResponse, error)
// UploadImage Use this API to upload a single image file to Lazada site. Allowed image formats are JPG and PNG. The maximum size of an image file is 1MB.
// Path: /image/upload
UploadImage(ctx context.Context, filename string, reader io.Reader) (*UploadImageResponse, error)
}
type ProductServiceOp ¶
type ProductServiceOp[T any] struct { // contains filtered or unexported fields }
func (*ProductServiceOp[T]) AdjustSellableQuantity ¶
func (s *ProductServiceOp[T]) AdjustSellableQuantity(ctx context.Context) (*AdjustSellableQuantityResponse, error)
AdjustSellableQuantity Use this API to increase or decrease sellable quantity of one or more existing products. The maximum number of products that can be updated is 50, but 20 is recommended. Path: /product/stock/sellable/adjust
func (*ProductServiceOp[T]) BatchUpdateSizeChart ¶
func (s *ProductServiceOp[T]) BatchUpdateSizeChart(ctx context.Context, req BatchUpdateSizeChartRequest) (*BatchUpdateSizeChartResponse, error)
BatchUpdateSizeChart 批量更新尺码表 Path: /size/chart/batch/update
func (*ProductServiceOp[T]) CreateProduct ¶
func (s *ProductServiceOp[T]) CreateProduct(ctx context.Context, req CreateProductRequest) (*CreateProductResponse, error)
CreateProduct Use this API to create a single new product.
Find more details below: https://open.lazada.com/apps/doc/doc?nodeId=30720&docId=120949 Path: /product/create
func (*ProductServiceOp[T]) DeactivateProduct ¶
func (s *ProductServiceOp[T]) DeactivateProduct(ctx context.Context) (*DeactivateProductResponse, error)
DeactivateProduct Use this API to deactivate Product or SKUs corresponding to the product Path: /product/deactivate
func (*ProductServiceOp[T]) GetBrandByPages ¶
func (s *ProductServiceOp[T]) GetBrandByPages(ctx context.Context, opt GetBrandByPagesRequest) (*GetBrandByPagesResponse, error)
GetBrandByPages Use this API to retrieve all product brands by page index in the system. Path: /category/brands/query
func (*ProductServiceOp[T]) GetCategoryAttributes ¶
func (s *ProductServiceOp[T]) GetCategoryAttributes(ctx context.Context, opt GetCategoryAttributesRequest) (*GetCategoryAttributesResponse, error)
GetCategoryAttributes Use this API to get a list of attributes for a specified product category. Path: /category/attributes/get
func (*ProductServiceOp[T]) GetCategorySuggestion ¶
func (s *ProductServiceOp[T]) GetCategorySuggestion(ctx context.Context) (*GetCategorySuggestionResponse, error)
GetCategorySuggestion Get product's category suggestion by product title Path: /product/category/suggestion/get
func (*ProductServiceOp[T]) GetCategoryTree ¶
func (s *ProductServiceOp[T]) GetCategoryTree(ctx context.Context) (*GetCategoryTreeResponse, error)
GetCategoryTree Use this API to retrieve the list of all product categories in the system. Path: /category/tree/get
func (*ProductServiceOp[T]) GetNextCascadeProp ¶
func (s *ProductServiceOp[T]) GetNextCascadeProp(ctx context.Context) (*GetNextCascadePropResponse, error)
GetNextCascadeProp Use this API to query next cascade prop. Path: /category/cascade/getNextCascadeProp
func (*ProductServiceOp[T]) GetPreQcRules ¶
func (s *ProductServiceOp[T]) GetPreQcRules(ctx context.Context) (*GetPreQcRulesResponse, error)
GetPreQcRules query pre qc rules Path: /product/seller/item/getPreQcRules
func (*ProductServiceOp[T]) GetProductContentScore ¶
func (s *ProductServiceOp[T]) GetProductContentScore(ctx context.Context) (*GetProductContentScoreResponse, error)
GetProductContentScore get product content score Path: /product/content/score/get
func (*ProductServiceOp[T]) GetProductItem ¶
func (s *ProductServiceOp[T]) GetProductItem(ctx context.Context, opt GetProductItemRequest) (*GetProductItemResponse, error)
GetProductItem Get single product by ItemId or SellerSku. Path: /product/item/get
func (*ProductServiceOp[T]) GetProducts ¶
func (s *ProductServiceOp[T]) GetProducts(ctx context.Context, opt GetProductsRequest) (*GetProductsResponse, error)
GetProducts Use this API to get detailed information of the specified products. Path: /products/get
func (*ProductServiceOp[T]) GetQCAlertProducts ¶
func (s *ProductServiceOp[T]) GetQCAlertProducts(ctx context.Context) (*GetQCAlertProductsResponse, error)
GetQCAlertProducts Getting seller's products that have been alerted by quality control. Path: /product/qc/alert/list
func (*ProductServiceOp[T]) GetResponse ¶
func (s *ProductServiceOp[T]) GetResponse(ctx context.Context, filename string, reader io.Reader) (*GetResponseResponse, error)
GetResponse Use this API to get the returned information from the system for the MigrateImages API. Path: /image/response/get
func (*ProductServiceOp[T]) GetSellerItemLimit ¶
func (s *ProductServiceOp[T]) GetSellerItemLimit(ctx context.Context) (*GetSellerItemLimitResponse, error)
GetSellerItemLimit The platform will provide the product quantity limit information by this interface. The qps will be limited by seller, 10 qps per seller. Path: /product/seller/item/limit
func (*ProductServiceOp[T]) GetSizeChartTemplate ¶
func (s *ProductServiceOp[T]) GetSizeChartTemplate(ctx context.Context, opt GetSizeChartTemplateRequest) (*GetSizeChartTemplateResponse, error)
GetSizeChartTemplate 获取尺码模板列表 Path: /size/chart/template/get
func (*ProductServiceOp[T]) GetUnfilledAttributeItem ¶
func (s *ProductServiceOp[T]) GetUnfilledAttributeItem(ctx context.Context) (*GetUnfilledAttributeItemResponse, error)
GetUnfilledAttributeItem Get products without key attributes. (For cross boarder sellers Only) Path: /product/unfilled/attribute/get
func (*ProductServiceOp[T]) MigrateImage ¶
func (s *ProductServiceOp[T]) MigrateImage(ctx context.Context, filename string, reader io.Reader) (*MigrateImageResponse, error)
MigrateImage Use this API to migrate a single image from an external site to Lazada site. Allowed image formats are JPG and PNG. The maximum size of an image file is 1MB. Path: /image/migrate
func (*ProductServiceOp[T]) MigrateImages ¶
func (s *ProductServiceOp[T]) MigrateImages(ctx context.Context, filename string, reader io.Reader) (*MigrateImagesResponse, error)
MigrateImages Use this API to migrate multiple images from an external site to Lazada site. Allowed image formats are JPG and PNG. The maximum size of an image file is 1MB. A single call can migrate 8 images at most. Path: /images/migrate
func (*ProductServiceOp[T]) ProductCheck ¶
func (s *ProductServiceOp[T]) ProductCheck(ctx context.Context) (*ProductCheckResponse, error)
ProductCheck Use this API to check CB seller quantity limit of adding product . Path: /product/pre/check
func (*ProductServiceOp[T]) RemoveProduct ¶
func (s *ProductServiceOp[T]) RemoveProduct(ctx context.Context, req RemoveProductRequest) (*RemoveProductResponse, error)
RemoveProduct Use this API to remove an existing product, some SKUs in one product, or all SKUs in one product. System supports a maximum number of 50 SellerSkus in one request. Path: /product/remove
func (*ProductServiceOp[T]) RemoveSku ¶
func (s *ProductServiceOp[T]) RemoveSku(ctx context.Context) (*RemoveSkuResponse, error)
RemoveSku Use this API to delete SKUs and sales attributes of corresponding products. Path: /product/sku/remove
func (*ProductServiceOp[T]) SetImages ¶
func (s *ProductServiceOp[T]) SetImages(ctx context.Context, filename string, reader io.Reader) (*SetImagesResponse, error)
SetImages Use this API to set the images for an existing product by associating one or more image URLs with it. Path: /images/set
func (*ProductServiceOp[T]) UpdatePriceQuantity ¶
func (s *ProductServiceOp[T]) UpdatePriceQuantity(ctx context.Context) (*UpdatePriceQuantityResponse, error)
UpdatePriceQuantity Use this API to update the price and quantity of one or more existing products. The maximum number of products that can be updated is 50, but 20 is recommended. Path: /product/price_quantity/update
func (*ProductServiceOp[T]) UpdateProduct ¶
func (s *ProductServiceOp[T]) UpdateProduct(ctx context.Context, req UpdateProductRequest) (*UpdateProductResponse, error)
UpdateProduct Use this API to update attributes or SKUs of an existing product. if need update inventory, offline, price, not recommended to use this API. The iteration 25/6/2020 Updated for DBS changes. Refer to Input Parameters Payload Path: /product/update
func (*ProductServiceOp[T]) UpdateSellableQuantity ¶
func (s *ProductServiceOp[T]) UpdateSellableQuantity(ctx context.Context) (*UpdateSellableQuantityResponse, error)
UpdateSellableQuantity Use this API to update sellable quantity of one or more existing products. The maximum number of products that can be updated is 50, but 20 is recommended. Path: /product/stock/sellable/update
func (*ProductServiceOp[T]) UploadImage ¶
func (s *ProductServiceOp[T]) UploadImage(ctx context.Context, filename string, reader io.Reader) (*UploadImageResponse, error)
UploadImage Use this API to upload a single image file to Lazada site. Allowed image formats are JPG and PNG. The maximum size of an image file is 1MB. Path: /image/upload
type Products ¶
type Products struct {
CreatedTime string `json:"created_time"` // [Required]
UpdatedTime string `json:"updated_time"` // [Required]
Images []string `json:"images"` // [Required]
Skus []Skus `json:"skus"` // [Required]
ItemId int64 `json:"item_id"` // [Required]
HiddenStatus string `json:"hiddenStatus"` // [Required]
BizSupplement *BizSupplement `json:"bizSupplement"` // [Required]
SuspendedSkus []interface{} `json:"suspendedSkus"` // [Required]
SubStatus string `json:"subStatus"` // [Required]
TrialProduct bool `json:"trialProduct"` // [Required]
RejectReason []RejectReason `json:"rejectReason"` // [Required]
PrimaryCategory int64 `json:"primary_category"` // [Required]
MarketImages []string `json:"marketImages"` // [Required]
Attributes *Attributes `json:"attributes"` // [Required]
HiddenReason string `json:"hiddenReason"` // [Required]
Status string `json:"status"` // [Required]
}
type ProductsAttributes ¶ added in v0.1.2
type ProductsAttributes struct {
Advanced *Advanced `json:"advanced"` // [Required]
InputType string `json:"input_type"` // [Required]
Options []interface{} `json:"options"` // [Required]
Name string `json:"name"` // [Required]
IsMandatory int64 `json:"is_mandatory"` // [Required]
AttributeType string `json:"attribute_type"` // [Required]
Label string `json:"label"` // [Required]
}
type ProductsSkus ¶ added in v0.1.2
type ProductsSkus struct {
SpecialPrice *SpecialPrice `json:"special_price"` // [Required]
Price float64 `json:"price"` // [Required]
SellerSku string `json:"seller_sku"` // [Required]
NoPostageFee *SpecialPrice `json:"no_postage_fee"` // [Required]
SkuId int64 `json:"sku_id"` // [Required]
}
type QueryAccountTransactionsResponse ¶
type QueryAccountTransactionsResponse struct {
BaseResponse // Common response fields
Response QueryAccountTransactionsResponseData `json:"data"` // Response data
Msg string `json:"msg,omitempty"` //
}
type QueryAccountTransactionsResponseData ¶ added in v0.1.2
type QueryAccountTransactionsResponseData struct {
PageInfo *PageInfo `json:"page_info"` // [Required]
Transactions []Transactions `json:"transactions"` // [Required]
}
type QueryAddonOrderResponse ¶
type QueryAddonOrderResponse struct {
BaseResponse // Common response fields
Response QueryAddonOrderResponseData `json:"data"` // Response data
RedirectUrl string `json:"redirectUrl,omitempty"` //
ResultCode string `json:"resultCode,omitempty"` //
ResultMessage string `json:"resultMessage,omitempty"` //
}
type QueryAddonOrderResponseData ¶ added in v0.1.2
type QueryAddonOrderResponseData struct {
TraceId string `json:"traceId"` // [Required]
Total int64 `json:"total"` // [Required]
TotalPages string `json:"totalPages"` // [Required]
PageSize string `json:"pageSize"` // [Required]
OrderList []Order `json:"orderList"` // [Required]
PageNum string `json:"pageNum"` // [Required]
}
type QueryAddressInformaitonResponse ¶
type QueryAddressInformaitonResponse struct {
BaseResponse // Common response fields
Result *QueryAddressInformaitonResponseDataResult `json:"result,omitempty"` //
}
type QueryAddressInformaitonResponseDataResult ¶ added in v0.1.2
type QueryAddressInformaitonResponseDataResult struct {
Data *QueryAddressInformaitonResponseDataResultData `json:"data"` // [Required]
Success bool `json:"success"` // [Required]
ErrorCode string `json:"errorCode"` // [Required]
ErrorMsg string `json:"errorMsg"` // [Required]
}
type QueryAddressInformaitonResponseDataResultData ¶ added in v0.1.2
type QueryBenefitResponse ¶
type QueryBenefitResponse struct {
BaseResponse // Common response fields
Response string `json:"data"` // Response data
ResultCode string `json:"resultCode,omitempty"` //
ResultMessage string `json:"resultMessage,omitempty"` //
TraceId string `json:"trace_id,omitempty"` //
}
type QueryBuyboxHuntingInfoResponse ¶
type QueryBuyboxHuntingInfoResponse struct {
BaseResponse // Common response fields
Result *QueryBuyboxHuntingInfoResponseDataResult `json:"result,omitempty"` //
}
type QueryBuyboxHuntingInfoResponseDataResult ¶ added in v0.1.2
type QueryBuyboxHuntingInfoResponseDataResult struct {
Data *QueryBuyboxHuntingInfoResponseDataResultData `json:"data"` // [Required]
RetSuccess string `json:"retSuccess"` // [Required]
}
type QueryBuyboxHuntingInfoResponseDataResultData ¶ added in v0.1.2
type QueryContentReviewRecordsResponse ¶
type QueryContentReviewRecordsResponse struct {
BaseResponse // Common response fields
Result *QueryContentReviewRecordsResponseDataResult `json:"result,omitempty"` //
}
type QueryContentReviewRecordsResponseDataResult ¶ added in v0.1.2
type QueryContentReviewRecordsResponseDataResult struct {
Success bool `json:"success"` // [Required]
ResultCode string `json:"resultCode"` // [Required]
ResultMessage string `json:"resultMessage"` // [Required]
ReviewRecords []ReviewRecords `json:"reviewRecords"` // [Required]
}
type QueryFulfillmentOrderForMCLResponse ¶
type QueryFulfillmentOrderForMCLResponse struct {
BaseResponse // Common response fields
Response QueryFulfillmentOrderForMCLResponseData `json:"data"` // Response data
ErrorMessage string `json:"error_message,omitempty"` //
Page string `json:"page,omitempty"` //
PerPage string `json:"per_page,omitempty"` //
TotalCount int64 `json:"total_count,omitempty"` //
}
type QueryFulfillmentOrderForMCLResponseData ¶ added in v0.1.2
type QueryInboundBatchResponse ¶
type QueryInboundBatchResponse struct {
BaseResponse // Common response fields
Result *QueryInboundBatchResponseDataResult `json:"result,omitempty"` //
}
type QueryInboundBatchResponseDataResult ¶ added in v0.1.2
type QueryInboundBatchResponseDataResult struct {
ErrorMessage string `json:"error_message"` // [Required]
Data *QueryInboundBatchResponseDataResultData `json:"data"` // [Required]
Success bool `json:"success"` // [Required]
ErrorCode string `json:"error_code"` // [Required]
}
type QueryInboundBatchResponseDataResultData ¶ added in v0.1.2
type QueryInboundReservationOrderResponse ¶
type QueryInboundReservationOrderResponse struct {
BaseResponse // Common response fields
Response QueryInboundReservationOrderResponseData `json:"data"` // Response data
ErrorMessage string `json:"error_message,omitempty"` //
}
type QueryInboundReservationOrderResponseData ¶ added in v0.1.2
type QueryLazadaBigbagInfoResponse ¶
type QueryLazadaBigbagInfoResponse struct {
BaseResponse // Common response fields
Result *GetLazadaBigbagPDFLableResponseDataResult `json:"result,omitempty"` //
}
type QueryListJitPurchaseOrderResponse ¶
type QueryListJitPurchaseOrderResponse struct {
BaseResponse // Common response fields
Result *QueryListJitPurchaseOrderResponseDataResult `json:"result,omitempty"` //
}
type QueryListJitPurchaseOrderResponseDataResult ¶ added in v0.1.2
type QueryListJitPurchaseOrderResponseDataResult struct {
ErrorMessage string `json:"error_message"` // [Required]
Data []QueryListJitPurchaseOrderResponseDataResultData `json:"data"` // [Required]
Success bool `json:"success"` // [Required]
TotalCount int64 `json:"total_count"` // [Required]
PageIndex int64 `json:"page_index"` // [Required]
TotalPage int64 `json:"total_page"` // [Required]
ErrorCode string `json:"error_code"` // [Required]
PageSize int64 `json:"page_size"` // [Required]
}
type QueryListJitPurchaseOrderResponseDataResultData ¶ added in v0.1.2
type QueryListJitPurchaseOrderResponseDataResultData struct {
GmtCreate string `json:"gmt_create"` // [Required]
StoreAddress string `json:"store_address"` // [Required]
GmtModified string `json:"gmt_modified"` // [Required]
FulfillmentCancelStatus string `json:"fulfillment_cancel_status"` // [Required]
TradeOrderIdList []interface{} `json:"trade_order_id_list"` // [Required]
StoreContactName string `json:"store_contact_name"` // [Required]
DeliveryMethod string `json:"delivery_method"` // [Required]
GmtArriveTime string `json:"gmt_arrive_time"` // [Required]
TotalQuantity string `json:"total_quantity"` // [Required]
StoreName string `json:"store_name"` // [Required]
StoreContactPhone string `json:"store_contact_phone"` // [Required]
SupplierName string `json:"supplier_name"` // [Required]
ExtFields string `json:"ext_fields"` // [Required]
SellerId int64 `json:"seller_id"` // [Required]
StoreCode string `json:"store_code"` // [Required]
Creator string `json:"creator"` // [Required]
BizStatus string `json:"biz_status"` // [Required]
ConsignOrderNoList string `json:"consign_order_no_list"` // [Required]
TotalSkuCount string `json:"total_sku_count"` // [Required]
GmtExceptArriveTime string `json:"gmt_except_arrive_time"` // [Required]
PickupOrderNo string `json:"pickup_order_no"` // [Required]
SiteId string `json:"site_id"` // [Required]
LogisticsNoList string `json:"logistics_no_list"` // [Required]
SupplierId string `json:"supplier_id"` // [Required]
SupplierCode string `json:"supplier_code"` // [Required]
PurchaseOrderNo string `json:"purchase_order_no"` // [Required]
}
type QueryListPurchaseItemResponse ¶
type QueryListPurchaseItemResponse struct {
BaseResponse // Common response fields
Result *QueryListPurchaseItemResponseDataResult `json:"result,omitempty"` //
}
type QueryListPurchaseItemResponseDataResult ¶ added in v0.1.2
type QueryListPurchaseItemResponseDataResult struct {
ErrorMessage string `json:"error_message"` // [Required]
Data []QueryListPurchaseItemResponseDataResultData `json:"data"` // [Required]
Success bool `json:"success"` // [Required]
TotalCount int64 `json:"total_count"` // [Required]
PageIndex int64 `json:"page_index"` // [Required]
TotalPage int64 `json:"total_page"` // [Required]
ErrorCode string `json:"error_code"` // [Required]
PageSize int64 `json:"page_size"` // [Required]
}
type QueryListPurchaseItemResponseDataResultData ¶ added in v0.1.2
type QueryListPurchaseItemResponseDataResultData struct {
ReceivedDefectiveQty string `json:"received_defective_qty"` // [Required]
SkuId int64 `json:"sku_id"` // [Required]
Barcodes []interface{} `json:"barcodes"` // [Required]
ProductTitle string `json:"product_title"` // [Required]
BuyerQty string `json:"buyer_qty"` // [Required]
ScItemCode string `json:"sc_item_code"` // [Required]
ImgUrl string `json:"img_url"` // [Required]
ScItemName string `json:"sc_item_name"` // [Required]
ProductId int64 `json:"product_id"` // [Required]
SellerSku string `json:"seller_sku"` // [Required]
ReceivedNormalQty string `json:"received_normal_qty"` // [Required]
PurchaseOrderNo string `json:"purchase_order_no"` // [Required]
ScItemId string `json:"sc_item_id"` // [Required]
}
type QueryLogisticsFeeDetailResponse ¶
type QueryLogisticsFeeDetailResponse struct {
BaseResponse // Common response fields
Response QueryLogisticsFeeDetailResponseData `json:"data"` // Response data
Remark string `json:"remark,omitempty"` //
}
type QueryLogisticsFeeDetailResponseData ¶ added in v0.1.2
type QueryLogisticsFeeDetailResponseData struct {
TenantId string `json:"tenant_id"` // [Required]
Amount interface{} `json:"amount"` // [Required]
SkuInfo *SkuInfo `json:"sku_info"` // [Required]
SellerShortCode string `json:"seller_short_code"` // [Required]
TradeOrderId string `json:"trade_order_id"` // [Required]
FeeCreationDate *FeeCreationDate `json:"fee_creation_date"` // [Required]
TradeOrderLineId string `json:"trade_order_line_id"` // [Required]
StatementId string `json:"statement_id"` // [Required]
OrderInfo *OrderInfo `json:"order_info"` // [Required]
FeeName string `json:"fee_name"` // [Required]
FeeCode string `json:"fee_code"` // [Required]
Currency string `json:"currency"` // [Required]
PackageInfo *PackageInfo `json:"package_info"` // [Required]
TaxInAmount interface{} `json:"tax_in_amount"` // [Required]
SellerId int64 `json:"seller_id"` // [Required]
StatementPeriod string `json:"statement_period"` // [Required]
}
type QueryPickupOrderResponse ¶
type QueryPickupOrderResponse struct {
BaseResponse // Common response fields
Result *QueryPickupOrderResponseDataResult `json:"result,omitempty"` //
}
type QueryPickupOrderResponseDataResult ¶ added in v0.1.2
type QueryPickupOrderResponseDataResult struct {
ErrorMessage string `json:"error_message"` // [Required]
Data *QueryPickupOrderResponseDataResultData `json:"data"` // [Required]
Success bool `json:"success"` // [Required]
ErrorCode string `json:"error_code"` // [Required]
}
type QueryPickupOrderResponseDataResultData ¶ added in v0.1.2
type QueryPickupOrderResponseDataResultData struct {
ActualPickupTime string `json:"actual_pickup_time"` // [Required]
Reason string `json:"reason"` // [Required]
EstimatedVolume string `json:"estimated_volume"` // [Required]
PurchaseOrderNoList []string `json:"purchase_order_no_list"` // [Required]
CreateTime string `json:"create_time"` // [Required]
CarDriverPhone string `json:"car_driver_phone"` // [Required]
ActualArriveTime string `json:"actual_arrive_time"` // [Required]
ShipperPhone string `json:"shipper_phone"` // [Required]
CarDriverName string `json:"car_driver_name"` // [Required]
EstimatedPickupTime string `json:"estimated_pickup_time"` // [Required]
ActualWeight string `json:"actual_weight"` // [Required]
UpdateTime string `json:"update_time"` // [Required]
ReceiveStoreCode string `json:"receive_store_code"` // [Required]
PickupOrderNo string `json:"pickup_order_no"` // [Required]
ReceiveStoreAddress string `json:"receive_store_address"` // [Required]
CarNumber string `json:"car_number"` // [Required]
EstimatedWeight string `json:"estimated_weight"` // [Required]
LogisticsNoList []string `json:"logistics_no_list"` // [Required]
ActualLogisticsNoList []string `json:"actual_logistics_no_list"` // [Required]
EstimatedBoxNumber string `json:"estimated_box_number"` // [Required]
ShipperName string `json:"shipper_name"` // [Required]
ShipperAddress string `json:"shipper_address"` // [Required]
Status string `json:"status"` // [Required]
}
type QueryReverseOrderForMCLResponse ¶
type QueryReverseOrderForMCLResponse struct {
BaseResponse // Common response fields
Response QueryReverseOrderForMCLResponseData `json:"data"` // Response data
ErrorMessage string `json:"error_message,omitempty"` //
}
type QueryReverseOrderForMCLResponseData ¶ added in v0.1.2
type QueryReverseOrderForMCLResponseData struct {
SalesOrderNumber string `json:"sales_order_number"` // [Required]
CreateTime string `json:"create_time"` // [Required]
Type string `json:"type"` // [Required]
Items []ResponseDataItems `json:"items"` // [Required]
Status string `json:"status"` // [Required]
}
type QueryTransactionDetailsResponse ¶
type QueryTransactionDetailsResponse struct {
BaseResponse // Common response fields
Response QueryTransactionDetailsResponseData `json:"data"` // Response data
}
type QueryTransactionDetailsResponseData ¶ added in v0.1.2
type QueryTransactionDetailsResponseData struct {
OrderNo string `json:"order_no"` // [Required]
TransactionDate string `json:"transaction_date"` // [Required]
Amount string `json:"amount"` // [Required]
PaidStatus string `json:"paid_status"` // [Required]
ShippingProvider string `json:"shipping_provider"` // [Required]
WHTIncludedInAmount string `json:"WHT_included_in_amount"` // [Required]
PaymentRefId string `json:"payment_ref_id"` // [Required]
LazadaSku string `json:"lazada_sku"` // [Required]
FeeType string `json:"fee_type"` // [Required]
TransactionType string `json:"transaction_type"` // [Required]
OrderItemNo string `json:"orderItem_no"` // [Required]
OrderItemStatus string `json:"orderItem_status"` // [Required]
Reference string `json:"reference"` // [Required]
FeeName string `json:"fee_name"` // [Required]
ShippingSpeed string `json:"shipping_speed"` // [Required]
WHTAmount string `json:"WHT_amount"` // [Required]
TransactionNumber string `json:"transaction_number"` // [Required]
SellerSku string `json:"seller_sku"` // [Required]
Statement string `json:"statement"` // [Required]
Details string `json:"details"` // [Required]
Comment string `json:"comment"` // [Required]
VATInAmount string `json:"VAT_in_amount"` // [Required]
ShipmentType string `json:"shipment_type"` // [Required]
}
type QueryWarehouseDetailInfoBySellerIdResponse ¶
type QueryWarehouseDetailInfoBySellerIdResponse struct {
BaseResponse // Common response fields
Result *QueryWarehouseDetailInfoBySellerIdResponseDataResult `json:"result,omitempty"` //
}
type QueryWarehouseDetailInfoBySellerIdResponseDataResult ¶ added in v0.1.2
type QueryWarehouseDetailInfoBySellerIdResponseDataResult struct {
NotSuccess string `json:"not_success"` // [Required]
Success bool `json:"success"` // [Required]
Module *QueryWarehouseDetailInfoBySellerIdResponseDataResultModule `json:"module"` // [Required]
ErrorCode string `json:"error_code"` // [Required]
Repeated string `json:"repeated"` // [Required]
ClassName string `json:"class_name"` // [Required]
Retry string `json:"retry"` // [Required]
}
type QueryWarehouseDetailInfoBySellerIdResponseDataResultModule ¶ added in v0.1.2
type QueryWarehouseDetailInfoBySellerIdResponseDataResultModule struct {
Country string `json:"country"` // [Required]
DefaultAddress string `json:"default_address"` // [Required]
Province string `json:"province"` // [Required]
City string `json:"city"` // [Required]
DetailAddress string `json:"detail_address"` // [Required]
WarehouseCode string `json:"warehouse_code"` // [Required]
District string `json:"district"` // [Required]
PostCode string `json:"post_code"` // [Required]
Name string `json:"name"` // [Required]
Status string `json:"status"` // [Required]
}
type ReadSessionResponse ¶
type ReadSessionResponse struct {
BaseResponse // Common response fields
ErrCode string `json:"err_code,omitempty"` //
ErrMessage string `json:"err_message,omitempty"` //
}
type ReadyToShipRequest ¶ added in v0.1.8
type ReadyToShipRequest struct {
OrderItemIds string `json:"order_item_ids"` // [Required]
}
type ReadyToShipResponse ¶
type ReadyToShipResponse struct {
BaseResponse // Common response fields
Response ReadyToShipResponseData `json:"data"` //
}
type ReadyToShipResponseData ¶ added in v0.1.8
type ReasonOptions ¶ added in v0.1.2
type RecipientInfo ¶ added in v0.1.2
type RecipientInfo struct {
IdentifyNo FlexString `json:"identify_no"` // [Required]
DetailAddress FlexString `json:"detail_address"` // [Required]
PassportNo FlexString `json:"passport_no"` // [Required]
}
type Reconciliation1Response ¶
type Reconciliation1Response struct {
BaseResponse // Common response fields
Res string `json:"res,omitempty"` //
}
type ReconciliationResponse ¶
type ReconciliationResponse struct {
BaseResponse // Common response fields
Res string `json:"res,omitempty"` //
}
type RecreatePackageResponse ¶
type RecreatePackageResponse struct {
BaseResponse // Common response fields
Result *ConfirmCollectForDBSResponseDataResult `json:"result,omitempty"` //
}
type RedMartService ¶
type RedMartService interface {
// RssGetOnePickupJob Get details of a pickup job
// Path: /rss/pickup-job/get
RssGetOnePickupJob(ctx context.Context) (*RssGetOnePickupJobResponse, error)
// RssGetPickupJobs Retrieve RSS pickup jobs based on time range and status filter.
// Path: /rss/pickup-jobs/get
RssGetPickupJobs(ctx context.Context) (*RssGetPickupJobsResponse, error)
// RssGetPickupLocations rss get pickupLocations by storeId
// Path: /rss/pickupLocations/get
RssGetPickupLocations(ctx context.Context) (*RssGetPickupLocationsResponse, error)
// RssGetProduct get rss product by storeId and productId
// Path: /rss/product/get
RssGetProduct(ctx context.Context) (*RssGetProductResponse, error)
// RssGetProducts rss get products paged by storeId and pickupLocationId
// Path: /rss/products/get
RssGetProducts(ctx context.Context) (*RssGetProductsResponse, error)
// RssGetStockLot rss get stockLot
// Path: /rss/stockLot/get
RssGetStockLot(ctx context.Context) (*RssGetStockLotResponse, error)
// RssGetStockLots rss get stockLots
// Path: /rss/stockLots/get
RssGetStockLots(ctx context.Context) (*RssGetStockLotsResponse, error)
// RssUpdateStockLot rss update stockLot
// Path: /rss/stockLot/update
RssUpdateStockLot(ctx context.Context) (*RssUpdateStockLotResponse, error)
}
type RedMartServiceOp ¶
type RedMartServiceOp[T any] struct { // contains filtered or unexported fields }
func (*RedMartServiceOp[T]) RssGetOnePickupJob ¶
func (s *RedMartServiceOp[T]) RssGetOnePickupJob(ctx context.Context) (*RssGetOnePickupJobResponse, error)
RssGetOnePickupJob Get details of a pickup job Path: /rss/pickup-job/get
func (*RedMartServiceOp[T]) RssGetPickupJobs ¶
func (s *RedMartServiceOp[T]) RssGetPickupJobs(ctx context.Context) (*RssGetPickupJobsResponse, error)
RssGetPickupJobs Retrieve RSS pickup jobs based on time range and status filter. Path: /rss/pickup-jobs/get
func (*RedMartServiceOp[T]) RssGetPickupLocations ¶
func (s *RedMartServiceOp[T]) RssGetPickupLocations(ctx context.Context) (*RssGetPickupLocationsResponse, error)
RssGetPickupLocations rss get pickupLocations by storeId Path: /rss/pickupLocations/get
func (*RedMartServiceOp[T]) RssGetProduct ¶
func (s *RedMartServiceOp[T]) RssGetProduct(ctx context.Context) (*RssGetProductResponse, error)
RssGetProduct get rss product by storeId and productId Path: /rss/product/get
func (*RedMartServiceOp[T]) RssGetProducts ¶
func (s *RedMartServiceOp[T]) RssGetProducts(ctx context.Context) (*RssGetProductsResponse, error)
RssGetProducts rss get products paged by storeId and pickupLocationId Path: /rss/products/get
func (*RedMartServiceOp[T]) RssGetStockLot ¶
func (s *RedMartServiceOp[T]) RssGetStockLot(ctx context.Context) (*RssGetStockLotResponse, error)
RssGetStockLot rss get stockLot Path: /rss/stockLot/get
func (*RedMartServiceOp[T]) RssGetStockLots ¶
func (s *RedMartServiceOp[T]) RssGetStockLots(ctx context.Context) (*RssGetStockLotsResponse, error)
RssGetStockLots rss get stockLots Path: /rss/stockLots/get
func (*RedMartServiceOp[T]) RssUpdateStockLot ¶
func (s *RedMartServiceOp[T]) RssUpdateStockLot(ctx context.Context) (*RssUpdateStockLotResponse, error)
RssUpdateStockLot rss update stockLot Path: /rss/stockLot/update
type RedeemMpVoucherResponse ¶
type RedeemMpVoucherResponse struct {
BaseResponse // Common response fields
BrokerName string `json:"brokerName,omitempty"` //
ResultCode string `json:"resultCode,omitempty"` //
ResultMessage string `json:"resultMessage,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
VoucherTemplateId string `json:"voucherTemplateId,omitempty"` //
}
type RedeemOrderItemsResponse ¶
type RedeemOrderItemsResponse struct {
BaseResponse // Common response fields
Response RedeemOrderItemsResponseData `json:"data"` // Response data
}
type RedeemOrderItemsResponseData ¶ added in v0.1.2
type RefOrderCode ¶ added in v0.1.2
type RefreshAccessTokenResponse ¶
type RefreshAccessTokenResponse struct {
BaseResponse
AccessToken string `json:"access_token"`
RefreshToken string `json:"refresh_token"`
ExpireIn FlexInt `json:"expires_in"`
}
type RejectReason ¶ added in v0.1.2
type RejectReasons ¶ added in v0.1.2
type RemoveFulfillmentSkuRelationResponse ¶
type RemoveFulfillmentSkuRelationResponse struct {
BaseResponse // Common response fields
Result *BuildFulfillmentSkuRelationResponseDataResult `json:"result,omitempty"` //
}
type RemoveProductRequest ¶ added in v0.1.8
type RemoveProductRequest struct {
SellerSkus []string `json:"seller_skus"` // [Required]
}
type RemoveProductResponse ¶
type RemoveProductResponse struct {
BaseResponse // Common response fields
}
type RemoveSkuResponse ¶
type RemoveSkuResponse struct {
BaseResponse // Common response fields
}
type RemoveVideoResponse ¶
type RemoveVideoResponse struct {
BaseResponse // Common response fields
ResultCode string `json:"result_code,omitempty"` //
ResultMessage string `json:"result_message,omitempty"` //
}
type RespBody ¶ added in v0.1.2
type RespBody struct {
AttributeMap interface{} `json:"attribute_map"` // [Required]
}
type ResponseDataAddressBilling ¶ added in v0.1.2
type ResponseDataAddressBilling struct {
Country FlexString `json:"country"` // [Required]
Address3 FlexString `json:"address3"` // [Required]
Address2 FlexString `json:"address2"` // [Required]
City FlexString `json:"city"` // [Required]
Address1 FlexString `json:"address1"` // [Required]
Phone2 FlexString `json:"phone2"` // [Required]
LastName FlexString `json:"last_name"` // [Required]
Phone FlexString `json:"phone"` // [Required]
PostCode FlexString `json:"post_code"` // [Required]
Address5 FlexString `json:"address5"` // [Required]
Address4 FlexString `json:"address4"` // [Required]
AddressDistrict FlexString `json:"addressDistrict"` // [Required]
FirstName FlexString `json:"first_name"` // [Required]
}
type ResponseDataApiResult ¶ added in v0.1.2
type ResponseDataAttributes ¶ added in v0.1.2
type ResponseDataAttributes struct {
ShortDescription string `json:"short_description"` // [Required]
Name string `json:"name"` // [Required]
Description string `json:"description"` // [Required]
NameEngravement string `json:"name_engravement"` // [Required]
WarrantyType string `json:"warranty_type"` // [Required]
GiftWrapping string `json:"gift_wrapping"` // [Required]
PreorderDays int64 `json:"preorder_days"` // [Required]
Brand string `json:"brand"` // [Required]
Preorder string `json:"preorder"` // [Required]
}
type ResponseDataBizSupplement ¶ added in v0.1.2
type ResponseDataBizSupplement struct {
GlobalPlusProductStatus int64 `json:"globalPlusProductStatus"` // [Required]
}
type ResponseDataConvertedAddress ¶ added in v0.1.2
type ResponseDataData ¶ added in v0.1.2
type ResponseDataData struct {
Stackable string `json:"stackable"` // [Required]
Apply string `json:"apply"` // [Required]
GiftSkus []DataGiftSkus `json:"gift_skus"` // [Required]
EndTime string `json:"end_time"` // [Required]
DiscountValue []interface{} `json:"discount_value"` // [Required]
SampleSkus []DataGiftSkus `json:"sample_skus"` // [Required]
DiscountType string `json:"discount_type"` // [Required]
Type string `json:"type"` // [Required]
StartTime string `json:"start_time"` // [Required]
OrderUsedNumbers string `json:"order_used_numbers"` // [Required]
Name string `json:"name"` // [Required]
PlatformChannel string `json:"platform_channel"` // [Required]
Id int64 `json:"id"` // [Required]
CriteriaType string `json:"criteria_type"` // [Required]
CriteriaValue []interface{} `json:"criteria_value"` // [Required]
OrderNumbers string `json:"order_numbers"` // [Required]
Status string `json:"status"` // [Required]
}
type ResponseDataErrorCode ¶ added in v0.1.2
type ResponseDataErrorCode struct {
DisplayMessage string `json:"displayMessage"` // [Required]
}
type ResponseDataErrors ¶ added in v0.1.2
type ResponseDataImage ¶ added in v0.1.2
type ResponseDataIndicators ¶ added in v0.1.2
type ResponseDataIndicators struct {
ActionUrl string `json:"action_url"` // [Required]
Score string `json:"score"` // [Required]
ScoreFormat string `json:"score_format"` // [Required]
FormattedScore string `json:"formatted_score"` // [Required]
Name string `json:"name"` // [Required]
Tip string `json:"tip"` // [Required]
Type string `json:"type"` // [Required]
FormattedTarget string `json:"formatted_target"` // [Required]
Target string `json:"target"` // [Required]
TargetFormat string `json:"target_format"` // [Required]
TargetRespected string `json:"target_respected"` // [Required]
}
type ResponseDataItems ¶ added in v0.1.2
type ResponseDataModel ¶ added in v0.1.2
type ResponseDataModel struct {
Uid string `json:"uid"` // [Required]
}
type ResponseDataModule ¶ added in v0.1.2
type ResponseDataOptions ¶ added in v0.1.2
type ResponseDataOrders ¶ added in v0.1.2
type ResponseDataOrders struct {
VoucherPlatform FlexString `json:"voucher_platform"` // [Required]
Voucher FlexString `json:"voucher"` // [Required]
WarehouseCode FlexString `json:"warehouse_code"` // [Required]
OrderNumber FlexString `json:"order_number"` // [Required]
VoucherSeller FlexString `json:"voucher_seller"` // [Required]
CreatedAt FlexString `json:"created_at"` // [Required]
VoucherCode FlexString `json:"voucher_code"` // [Required]
GiftOption FlexString `json:"gift_option"` // [Required]
IsCancelPending FlexString `json:"is_cancel_pending"` // [Required]
ShippingFeeDiscountPlatform FlexString `json:"shipping_fee_discount_platform"` // [Required]
CustomerLastName FlexString `json:"customer_last_name"` // [Required]
PromisedShippingTimes FlexString `json:"promised_shipping_times"` // [Required]
UpdatedAt FlexString `json:"updated_at"` // [Required]
Price FlexFloat `json:"price"` // [Required]
NationalRegistrationNumber FlexString `json:"national_registration_number"` // [Required]
ShippingFeeOriginal FlexString `json:"shipping_fee_original"` // [Required]
PaymentMethod FlexString `json:"payment_method"` // [Required]
AddressUpdatedAt FlexString `json:"address_updated_at"` // [Required]
RecipientInfo *RecipientInfo `json:"recipient_info"` // [Required]
BuyerNote FlexString `json:"buyer_note"` // [Required]
CustomerFirstName FlexString `json:"customer_first_name"` // [Required]
ShippingFeeDiscountSeller FlexString `json:"shipping_fee_discount_seller"` // [Required]
ShippingFee FlexString `json:"shipping_fee"` // [Required]
BranchNumber FlexString `json:"branch_number"` // [Required]
TaxCode FlexString `json:"tax_code"` // [Required]
ItemsCount FlexString `json:"items_count"` // [Required]
DeliveryInfo FlexString `json:"delivery_info"` // [Required]
Statuses []interface{} `json:"statuses"` // [Required]
AddressBilling *OrdersAddressBilling `json:"address_billing"` // [Required]
ExtraAttributes FlexString `json:"extra_attributes"` // [Required]
OrderId FlexInt `json:"order_id"` // [Required]
NeedCancelConfirm FlexString `json:"need_cancel_confirm"` // [Required]
Remarks FlexString `json:"remarks"` // [Required]
GiftMessage FlexString `json:"gift_message"` // [Required]
AddressShipping *OrdersAddressBilling `json:"address_shipping"` // [Required]
}
type ResponseDataPageInfo ¶ added in v0.1.2
type ResponseDataProducts ¶ added in v0.1.2
type ResponseDataProducts struct {
Market string `json:"market"` // [Required]
SemiStatus string `json:"semi_status"` // [Required]
Abs string `json:"abs"` // [Required]
Skus []ProductsSkus `json:"skus"` // [Required]
ItemId int64 `json:"item_id"` // [Required]
}
type ResponseDataProductsAttributes ¶ added in v0.1.2
type ResponseDataProductsAttributes struct {
Advanced *Advanced `json:"advanced"` // [Required]
Name string `json:"name"` // [Required]
InputType string `json:"input_type"` // [Required]
Options []AttributesOptions `json:"options"` // [Required]
IsMandatory int64 `json:"is_mandatory"` // [Required]
AttributeType string `json:"attribute_type"` // [Required]
Label string `json:"label"` // [Required]
}
type ResponseDataProductsSkus ¶ added in v0.1.2
type ResponseDataProductsSkus struct {
PackageWidth string `json:"package_width"` // [Required]
PackageHeight string `json:"package_height"` // [Required]
ItemId int64 `json:"item_id"` // [Required]
PackageLength string `json:"package_length"` // [Required]
SellerSku string `json:"seller_sku"` // [Required]
PackageWeight string `json:"package_weight"` // [Required]
SkuId int64 `json:"sku_id"` // [Required]
CountryInfo []CountryInfo `json:"country_info"` // [Required]
}
type ResponseDataRespBody ¶ added in v0.1.2
type ResponseDataRespBody struct {
Certificate *Certificate `json:"certificate"` // [Required]
}
type ResponseDataResult ¶ added in v0.1.2
type ResponseDataResult struct {
ErrorMessage string `json:"error_message"` // [Required]
Data *ResultData `json:"data"` // [Required]
Success bool `json:"success"` // [Required]
ErrorCode string `json:"error_code"` // [Required]
}
type ResponseDataResultData ¶ added in v0.1.2
type ResponseDataResultData struct {
File string `json:"file"` // [Required]
}
type ResponseDataResultErrorCode ¶ added in v0.1.2
type ResponseDataResultErrorCode struct {
DisplayMessage string `json:"displayMessage"` // [Required]
Key FlexString `json:"key"` // [Required]
}
type ResponseDataResultModule ¶ added in v0.1.2
type ResponseDataResultModule struct {
BuyerId FlexString `json:"buyer_id"` // [Required]
SellerId int64 `json:"seller_id"` // [Required]
PartneruserId FlexString `json:"partneruser_id"` // [Required]
}
type ResponseDataResultResult ¶ added in v0.1.2
type ResponseDataResultResult struct {
ProductImageUrl string `json:"productImageUrl"` // [Required]
Ctr string `json:"ctr"` // [Required]
CampaignId string `json:"campaignId"` // [Required]
StoreRevenue string `json:"storeRevenue"` // [Required]
StoreCvr string `json:"storeCvr"` // [Required]
StoreA2c string `json:"storeA2c"` // [Required]
StoreOrders string `json:"storeOrders"` // [Required]
ProductUnitSold string `json:"productUnitSold"` // [Required]
Impressions string `json:"impressions"` // [Required]
ProductCvr string `json:"productCvr"` // [Required]
ProductOrders string `json:"productOrders"` // [Required]
AudienceFakeId string `json:"audienceFakeId"` // [Required]
StoreRoi string `json:"storeRoi"` // [Required]
AdgroupId string `json:"adgroupId"` // [Required]
AudienceGroup string `json:"audienceGroup"` // [Required]
AdgroupName string `json:"adgroupName"` // [Required]
Cpc string `json:"cpc"` // [Required]
Spend string `json:"spend"` // [Required]
Clicks string `json:"clicks"` // [Required]
ProductRevenue string `json:"productRevenue"` // [Required]
StoreUnitSold string `json:"storeUnitSold"` // [Required]
CampaignName string `json:"campaignName"` // [Required]
ProductA2c string `json:"productA2c"` // [Required]
}
type ResponseDataSku ¶ added in v0.1.2
type ResponseDataSkus ¶ added in v0.1.2
type ResponseDataSkus struct {
SellerSku string `json:"seller_sku"` // [Required]
SkuId int64 `json:"sku_id"` // [Required]
CountryPrice []CountryPrice `json:"country_price"` // [Required]
}
type ResponseDataStoreStocks ¶ added in v0.1.2
type ResponseDataStoreStocks struct {
StoreCode string `json:"store_code"` // [Required]
Stocks *ResponseDataStoreStocksStocks `json:"stocks"` // [Required]
}
type ResponseDataStoreStocksStocks ¶ added in v0.1.2
type ResponseDataStoreStocksStocks struct {
DamagedUnsellable *Pending `json:"damagedUnsellable"` // [Required]
Transfer *Pending `json:"transfer"` // [Required]
Pending *Pending `json:"pending"` // [Required]
Unsellable *Pending `json:"unsellable"` // [Required]
ExpiredUnsellable *Pending `json:"expiredUnsellable"` // [Required]
Sellable *Pending `json:"sellable"` // [Required]
}
type ResponseDataVariation ¶ added in v0.1.2
type ResponseDataVariation struct {
Variation1 *Variation1 `json:"Variation1"` // [Required]
Variation2 *Variation1 `json:"Variation2"` // [Required]
Variation3 *Variation1 `json:"Variation3"` // [Required]
Variation4 *Variation1 `json:"Variation4"` // [Required]
}
type ResponseError ¶
type ResponseError struct {
Status int
Code string
Type string
Message string
RequestID string
Detail string
}
func (ResponseError) Error ¶
func (e ResponseError) Error() string
type ResultData ¶ added in v0.1.2
type ResultData struct {
Status string `json:"status"` // [Required]
}
type ResultDataItems ¶ added in v0.1.2
type ResultDataItems struct {
ShipmentsInfo []ShipmentsInfo `json:"shipmentsInfo"` // [Required]
QtyFulfilled int64 `json:"qtyFulfilled"` // [Required]
Size string `json:"size"` // [Required]
Rpc int64 `json:"rpc"` // [Required]
Qty int64 `json:"qty"` // [Required]
ImageUrl string `json:"imageUrl"` // [Required]
Name string `json:"name"` // [Required]
Vpc string `json:"vpc"` // [Required]
MinimumExpiryDate int64 `json:"minimumExpiryDate"` // [Required]
Sku string `json:"sku"` // [Required]
}
type ResultErrorCode ¶ added in v0.1.2
type ResultErrorCode struct {
DisplayMessage FlexString `json:"display_message"` // [Required]
Key FlexString `json:"key"` // [Required]
}
type ResultModule ¶ added in v0.1.2
type ResultModule struct {
WarehouseDetailInfo string `json:"warehouse_detail_info"` // [Required]
OfcOrderId string `json:"ofc_order_id"` // [Required]
PackageDetailInfoList []PackageDetailInfo `json:"package_detail_info_list"` // [Required]
}
type ResultPage ¶ added in v0.1.2
type ResultPage struct {
DecoratePageUrl string `json:"decorate_page_url"` // [Required]
WirelessPagePreviewUrl string `json:"wireless_page_preview_url"` // [Required]
WirelessEndTime string `json:"wireless_end_time"` // [Required]
TimedPublishTime string `json:"timed_publish_time"` // [Required]
RelatePageId string `json:"relate_page_id"` // [Required]
ClientType string `json:"client_type"` // [Required]
PcEndTime string `json:"pc_end_time"` // [Required]
PcPagePreviewUrl string `json:"pc_page_preview_url"` // [Required]
PageId string `json:"page_id"` // [Required]
Path string `json:"path"` // [Required]
WirelessPageViewUrl string `json:"wireless_page_view_url"` // [Required]
PageViewUrl string `json:"page_view_url"` // [Required]
LastEditTime string `json:"last_edit_time"` // [Required]
PublishTime string `json:"publish_time"` // [Required]
QrUrl string `json:"qr_url"` // [Required]
PageName string `json:"page_name"` // [Required]
StatusKey string `json:"status_key"` // [Required]
}
type ResultPageInfo ¶ added in v0.1.2
type ResultResult ¶ added in v0.1.2
type ResultResult struct {
DateRange string `json:"dateRange"` // [Required]
ProductUnitSold string `json:"productUnitSold"` // [Required]
ProductCvr string `json:"productCvr"` // [Required]
ProductOrders string `json:"productOrders"` // [Required]
AdgroupId string `json:"adgroupId"` // [Required]
AdgroupName string `json:"adgroupName"` // [Required]
Cpc string `json:"cpc"` // [Required]
Spend string `json:"spend"` // [Required]
StoreUnitSold string `json:"storeUnitSold"` // [Required]
ProductA2c string `json:"productA2c"` // [Required]
ProductImageUrl string `json:"productImageUrl"` // [Required]
Ctr string `json:"ctr"` // [Required]
CampaignId string `json:"campaignId"` // [Required]
StoreRevenue string `json:"storeRevenue"` // [Required]
StoreCvr string `json:"storeCvr"` // [Required]
StoreA2c string `json:"storeA2c"` // [Required]
StoreOrders string `json:"storeOrders"` // [Required]
Impressions string `json:"impressions"` // [Required]
BidPrice string `json:"bidPrice"` // [Required]
ItemId string `json:"itemId"` // [Required]
StoreRoi string `json:"storeRoi"` // [Required]
MaxBid string `json:"maxBid"` // [Required]
Clicks string `json:"clicks"` // [Required]
ProductRevenue string `json:"productRevenue"` // [Required]
CampaignName string `json:"campaignName"` // [Required]
}
type ReturnAndRefundService ¶
type ReturnAndRefundService interface {
// GetReverseOrderDetail Get the detailed information for a specific reverse order
// Path: /order/reverse/return/detail/list
GetReverseOrderDetail(ctx context.Context) (*GetReverseOrderDetailResponse, error)
// GetReverseOrderHistoryList Get the communication history of the reverse order
// Path: /order/reverse/return/history/list
GetReverseOrderHistoryList(ctx context.Context) (*GetReverseOrderHistoryListResponse, error)
// GetReverseOrderReasonList Get the list of reject reason. Need to be used in all refuse refund actions
// Path: /order/reverse/reason/list
GetReverseOrderReasonList(ctx context.Context) (*GetReverseOrderReasonListResponse, error)
// GetReverseOrdersForSeller Use this API to get the list of items for a range of reverse orders.
// Path: /reverse/getreverseordersforseller
GetReverseOrdersForSeller(ctx context.Context, opt GetReverseOrdersForSellerRequest) (*GetReverseOrdersForSellerResponse, error)
// InitReverseOrderCancel Seller initiates a cancelation
// Path: /order/reverse/cancel/create
InitReverseOrderCancel(ctx context.Context, req InitReverseOrderCancelRequest) (*InitReverseOrderCancelResponse, error)
// InitReverseOrderCancelDecide Seller initiates a cancelation
// Path: /order/reverse/cancel/seller/decide
InitReverseOrderCancelDecide(ctx context.Context) (*InitReverseOrderCancelDecideResponse, error)
// ReverseOrderOnlyRefundDecide Seller can use this API to operate only refund requests
// Path: /order/reverse/onlyrefund/seller/decide
ReverseOrderOnlyRefundDecide(ctx context.Context, req ReverseOrderOnlyRefundDecideRequest) (*ReverseOrderOnlyRefundDecideResponse, error)
// ReverseOrderReturnUpdate Seller can use this API to action on return and refund related.
// Path: /order/reverse/return/update
ReverseOrderReturnUpdate(ctx context.Context, req ReverseOrderReturnUpdateRequest) (*ReverseOrderReturnUpdateResponse, error)
}
type ReturnAndRefundServiceOp ¶
type ReturnAndRefundServiceOp[T any] struct { // contains filtered or unexported fields }
func (*ReturnAndRefundServiceOp[T]) GetReverseOrderDetail ¶
func (s *ReturnAndRefundServiceOp[T]) GetReverseOrderDetail(ctx context.Context) (*GetReverseOrderDetailResponse, error)
GetReverseOrderDetail Get the detailed information for a specific reverse order Path: /order/reverse/return/detail/list
func (*ReturnAndRefundServiceOp[T]) GetReverseOrderHistoryList ¶
func (s *ReturnAndRefundServiceOp[T]) GetReverseOrderHistoryList(ctx context.Context) (*GetReverseOrderHistoryListResponse, error)
GetReverseOrderHistoryList Get the communication history of the reverse order Path: /order/reverse/return/history/list
func (*ReturnAndRefundServiceOp[T]) GetReverseOrderReasonList ¶
func (s *ReturnAndRefundServiceOp[T]) GetReverseOrderReasonList(ctx context.Context) (*GetReverseOrderReasonListResponse, error)
GetReverseOrderReasonList Get the list of reject reason. Need to be used in all refuse refund actions Path: /order/reverse/reason/list
func (*ReturnAndRefundServiceOp[T]) GetReverseOrdersForSeller ¶
func (s *ReturnAndRefundServiceOp[T]) GetReverseOrdersForSeller(ctx context.Context, opt GetReverseOrdersForSellerRequest) (*GetReverseOrdersForSellerResponse, error)
GetReverseOrdersForSeller Use this API to get the list of items for a range of reverse orders. Path: /reverse/getreverseordersforseller
func (*ReturnAndRefundServiceOp[T]) InitReverseOrderCancel ¶
func (s *ReturnAndRefundServiceOp[T]) InitReverseOrderCancel(ctx context.Context, req InitReverseOrderCancelRequest) (*InitReverseOrderCancelResponse, error)
InitReverseOrderCancel Seller initiates a cancelation Path: /order/reverse/cancel/create
func (*ReturnAndRefundServiceOp[T]) InitReverseOrderCancelDecide ¶
func (s *ReturnAndRefundServiceOp[T]) InitReverseOrderCancelDecide(ctx context.Context) (*InitReverseOrderCancelDecideResponse, error)
InitReverseOrderCancelDecide Seller initiates a cancelation Path: /order/reverse/cancel/seller/decide
func (*ReturnAndRefundServiceOp[T]) ReverseOrderOnlyRefundDecide ¶
func (s *ReturnAndRefundServiceOp[T]) ReverseOrderOnlyRefundDecide(ctx context.Context, req ReverseOrderOnlyRefundDecideRequest) (*ReverseOrderOnlyRefundDecideResponse, error)
ReverseOrderOnlyRefundDecide Seller can use this API to operate only refund requests Path: /order/reverse/onlyrefund/seller/decide
func (*ReturnAndRefundServiceOp[T]) ReverseOrderReturnUpdate ¶
func (s *ReturnAndRefundServiceOp[T]) ReverseOrderReturnUpdate(ctx context.Context, req ReverseOrderReturnUpdateRequest) (*ReverseOrderReturnUpdateResponse, error)
ReverseOrderReturnUpdate Seller can use this API to action on return and refund related. Path: /order/reverse/return/update
type ReturnCancellationResponse ¶
type ReturnCancellationResponse struct {
BaseResponse // Common response fields
ErrorMessage string `json:"error_message,omitempty"` //
}
type ReturnOrderCreationResponse ¶
type ReturnOrderCreationResponse struct {
BaseResponse // Common response fields
Response ReturnOrderCreationResponseData `json:"data"` // Response data
ErrorMessage string `json:"error_message,omitempty"` //
}
type ReturnOrderCreationResponseData ¶ added in v0.1.2
type ReturnOrderCreationResponseData struct {
ReturnId string `json:"return_id"` // [Required]
}
type ReverseOrderLine ¶ added in v0.1.2
type ReverseOrderLine struct {
PaidPrice FlexString `json:"paid_price"` // [Required]
IsCancel string `json:"is_cancel"` // [Required]
ReasonId string `json:"reason_id"` // [Required]
ReasonSource string `json:"reason_source"` // [Required]
ReasonDesc string `json:"reason_desc"` // [Required]
ApplyReason string `json:"apply_reason"` // [Required]
ReasonType string `json:"reason_type"` // [Required]
SellerSku string `json:"seller_sku"` // [Required]
RefundAmount string `json:"refund_amount"` // [Required]
OrderLineId string `json:"order_line_id"` // [Required]
ReasonName string `json:"reason_name"` // [Required]
OrderId int64 `json:"order_id"` // [Required]
ReverseOrderLineId string `json:"reverse_order_line_id"` // [Required]
}
type ReverseOrderLineDTO ¶ added in v0.1.2
type ReverseOrderLineDTO struct {
ReturnOrderLineGmtCreate string `json:"return_order_line_gmt_create"` // [Required]
PlatformSkuId string `json:"platform_sku_id"` // [Required]
IsNeedRefund string `json:"is_need_refund"` // [Required]
TradeOrderGmtCreate string `json:"trade_order_gmt_create"` // [Required]
ReasonText string `json:"reason_text"` // [Required]
ItemUnitPrice string `json:"item_unit_price"` // [Required]
Sla string `json:"sla"` // [Required]
TradeOrderLineId string `json:"trade_order_line_id"` // [Required]
ReturnOrderLineGmtModified string `json:"return_order_line_gmt_modified"` // [Required]
OfcStatus string `json:"ofc_status"` // [Required]
SellerSkuId string `json:"seller_sku_id"` // [Required]
ProductDTO *ProductDTO `json:"productDTO"` // [Required]
RefundPaymentMethod string `json:"refund_payment_method"` // [Required]
Buyer *Buyer `json:"buyer"` // [Required]
ReasonCode string `json:"reason_code"` // [Required]
WhqcDecision string `json:"whqc_decision"` // [Required]
ReverseStatus string `json:"reverse_status"` // [Required]
RefundAmount string `json:"refund_amount"` // [Required]
TrackingNumber string `json:"tracking_number"` // [Required]
IsDispute string `json:"is_dispute"` // [Required]
ReverseOrderLineId string `json:"reverse_order_line_id"` // [Required]
}
type ReverseOrderLines ¶ added in v0.1.2
type ReverseOrderLines struct {
Product *ReverseOrderLinesProduct `json:"product"` // [Required]
ReturnOrderLineGmtCreate FlexString `json:"return_order_line_gmt_create"` // [Required]
PlatformSkuId string `json:"platform_sku_id"` // [Required]
TradeOrderGmtCreate FlexString `json:"trade_order_gmt_create"` // [Required]
IsNeedRefund FlexString `json:"is_need_refund"` // [Required]
ReasonText string `json:"reason_text"` // [Required]
ItemUnitPrice FlexString `json:"item_unit_price"` // [Required]
Sla FlexString `json:"sla"` // [Required]
ReturnOrderLineGmtModified FlexString `json:"return_order_line_gmt_modified"` // [Required]
TradeOrderLineId FlexString `json:"trade_order_line_id"` // [Required]
OfcStatus string `json:"ofc_status"` // [Required]
SellerSkuId string `json:"seller_sku_id"` // [Required]
RefundPaymentMethod string `json:"refund_payment_method"` // [Required]
Buyer *ReverseOrderLinesBuyer `json:"buyer"` // [Required]
ReasonCode FlexString `json:"reason_code"` // [Required]
WhqcDecision string `json:"whqc_decision"` // [Required]
ReverseStatus string `json:"reverse_status"` // [Required]
RefundAmount FlexString `json:"refund_amount"` // [Required]
TrackingNumber string `json:"tracking_number"` // [Required]
ReceiverAddress string `json:"receiver_address"` // [Required]
IsDispute FlexString `json:"is_dispute"` // [Required]
ReverseOrderLineId FlexString `json:"reverse_order_line_id"` // [Required]
}
type ReverseOrderLinesBuyer ¶ added in v0.1.2
type ReverseOrderLinesBuyer struct {
BuyerId FlexString `json:"buyer_id"` // [Required]
}
type ReverseOrderLinesProduct ¶ added in v0.1.2
type ReverseOrderOnlyRefundDecideRequest ¶ added in v0.1.8
type ReverseOrderOnlyRefundDecideResponse ¶
type ReverseOrderOnlyRefundDecideResponse struct {
BaseResponse // Common response fields
}
type ReverseOrderReturnUpdateRequest ¶ added in v0.1.8
type ReverseOrderReturnUpdateResponse ¶
type ReverseOrderReturnUpdateResponse struct {
BaseResponse // Common response fields
Response ReverseOrderReturnUpdateResponseData `json:"data"` // Response data
}
type ReverseOrderReturnUpdateResponseData ¶ added in v0.1.2
type ReverseOrderReturnUpdateResponseData struct {
ReasonInfo []ReasonOptions `json:"reason_info"` // [Required]
ReverseOrderId string `json:"reverse_order_id"` // [Required]
TotalRefund string `json:"total_refund"` // [Required]
ReverseOrderLine []ReverseOrderLine `json:"reverse_order_line"` // [Required]
TipContent string `json:"tip_content"` // [Required]
TipType string `json:"tip_type"` // [Required]
}
type Review ¶ added in v0.1.2
type Review struct {
ReviewImages []interface{} `json:"review_images"` // [Required]
CanReply string `json:"can_reply"` // [Required]
CreateTime string `json:"create_time"` // [Required]
SubmitTime string `json:"submit_time"` // [Required]
ReviewContent string `json:"review_content"` // [Required]
Ratings *Ratings `json:"ratings"` // [Required]
ProductId int64 `json:"product_id"` // [Required]
ReviewVideos []ReviewVideos `json:"review_videos"` // [Required]
Id int64 `json:"id"` // [Required]
SellerReply string `json:"seller_reply"` // [Required]
OrderId int64 `json:"order_id"` // [Required]
ReviewType string `json:"review_type"` // [Required]
}
type ReviewRecords ¶ added in v0.1.2
type ReviewRecords struct {
ReviewedType string `json:"reviewedType"` // [Required]
Reason string `json:"reason"` // [Required]
ReviewedTime string `json:"reviewedTime"` // [Required]
ContentId string `json:"contentId"` // [Required]
CurrentContentBaseState string `json:"currentContentBaseState"` // [Required]
}
type ReviewVideos ¶ added in v0.1.2
type RssGetOnePickupJobResponse ¶
type RssGetOnePickupJobResponse struct {
BaseResponse // Common response fields
Result *RssGetOnePickupJobResponseDataResult `json:"result,omitempty"` //
}
type RssGetOnePickupJobResponseDataResult ¶ added in v0.1.2
type RssGetOnePickupJobResponseDataResult struct {
Data *RssGetOnePickupJobResponseDataResultData `json:"data"` // [Required]
Success bool `json:"success"` // [Required]
ErrorMessage string `json:"errorMessage"` // [Required]
}
type RssGetOnePickupJobResponseDataResultData ¶ added in v0.1.2
type RssGetOnePickupJobResponseDataResultData struct {
PreferredPickupTime string `json:"preferredPickupTime"` // [Required]
AmendabilityCutOffDate int64 `json:"amendabilityCutOffDate"` // [Required]
PickedAt int64 `json:"pickedAt"` // [Required]
QtyFulfilledCount int64 `json:"qtyFulfilledCount"` // [Required]
Id int64 `json:"id"` // [Required]
Category string `json:"category"` // [Required]
Items []ResultDataItems `json:"items"` // [Required]
ScheduledAt int64 `json:"scheduledAt"` // [Required]
Status string `json:"status"` // [Required]
QtyCount int64 `json:"qtyCount"` // [Required]
}
type RssGetPickupJobsResponse ¶
type RssGetPickupJobsResponse struct {
BaseResponse // Common response fields
Result *RssGetPickupJobsResponseDataResult `json:"result,omitempty"` //
}
type RssGetPickupJobsResponseDataResult ¶ added in v0.1.2
type RssGetPickupJobsResponseDataResult struct {
Data []RssGetOnePickupJobResponseDataResultData `json:"data"` // [Required]
Success bool `json:"success"` // [Required]
ErrorMessage string `json:"errorMessage"` // [Required]
}
type RssGetPickupLocationsResponse ¶
type RssGetPickupLocationsResponse struct {
BaseResponse // Common response fields
Result *RssGetPickupLocationsResponseDataResult `json:"result,omitempty"` //
}
type RssGetPickupLocationsResponseDataResult ¶ added in v0.1.2
type RssGetPickupLocationsResponseDataResult struct {
Total int64 `json:"total"` // [Required]
Data []RssGetPickupLocationsResponseDataResultData `json:"data"` // [Required]
Success bool `json:"success"` // [Required]
ErrorMessage string `json:"errorMessage"` // [Required]
PageSize string `json:"pageSize"` // [Required]
Page string `json:"page"` // [Required]
}
type RssGetPickupLocationsResponseDataResultData ¶ added in v0.1.2
type RssGetPickupLocationsResponseDataResultData struct {
Country string `json:"country"` // [Required]
City string `json:"city"` // [Required]
PostalCode string `json:"postalCode"` // [Required]
Name string `json:"name"` // [Required]
AddressLine1 string `json:"addressLine1"` // [Required]
AddressLine2 string `json:"addressLine2"` // [Required]
Id int64 `json:"id"` // [Required]
}
type RssGetProductResponse ¶
type RssGetProductResponse struct {
BaseResponse // Common response fields
Result *RssGetProductResponseDataResult `json:"result,omitempty"` //
}
type RssGetProductResponseDataResult ¶ added in v0.1.2
type RssGetProductResponseDataResult struct {
Data *RssGetProductResponseDataResultData `json:"data"` // [Required]
Success bool `json:"success"` // [Required]
ErrorMessage string `json:"errorMessage"` // [Required]
}
type RssGetProductResponseDataResultData ¶ added in v0.1.2
type RssGetProductResponseDataResultData struct {
ProductCode string `json:"productCode"` // [Required]
Rpc int64 `json:"rpc"` // [Required]
Title string `json:"title"` // [Required]
Barcodes []string `json:"barcodes"` // [Required]
PickupLocations []PickupLocations `json:"pickupLocations"` // [Required]
Status string `json:"status"` // [Required]
}
type RssGetProductsResponse ¶
type RssGetProductsResponse struct {
BaseResponse // Common response fields
Result *RssGetProductsResponseDataResult `json:"result,omitempty"` //
}
type RssGetProductsResponseDataResult ¶ added in v0.1.2
type RssGetProductsResponseDataResult struct {
Total int64 `json:"total"` // [Required]
Data []RssGetProductResponseDataResultData `json:"data"` // [Required]
Success bool `json:"success"` // [Required]
ErrorMessage string `json:"errorMessage"` // [Required]
PageSize string `json:"pageSize"` // [Required]
Page string `json:"page"` // [Required]
}
type RssGetStockLotResponse ¶
type RssGetStockLotResponse struct {
BaseResponse // Common response fields
Result *RssGetStockLotResponseDataResult `json:"result,omitempty"` //
}
type RssGetStockLotResponseDataResult ¶ added in v0.1.2
type RssGetStockLotResponseDataResult struct {
Data *RssGetStockLotResponseDataResultData `json:"data"` // [Required]
Success bool `json:"success"` // [Required]
ErrorMessage string `json:"errorMessage"` // [Required]
}
type RssGetStockLotResponseDataResultData ¶ added in v0.1.2
type RssGetStockLotResponseDataResultData struct {
QuantityAvailableForSale int64 `json:"quantityAvailableForSale"` // [Required]
QuantityScheduledForPickup int64 `json:"quantityScheduledForPickup"` // [Required]
Id int64 `json:"id"` // [Required]
QuantityAtPickupLocation int64 `json:"quantityAtPickupLocation"` // [Required]
}
type RssGetStockLotsResponse ¶
type RssGetStockLotsResponse struct {
BaseResponse // Common response fields
Result *RssGetStockLotsResponseDataResult `json:"result,omitempty"` //
}
type RssGetStockLotsResponseDataResult ¶ added in v0.1.2
type RssGetStockLotsResponseDataResult struct {
Data []RssGetStockLotResponseDataResultData `json:"data"` // [Required]
Success bool `json:"success"` // [Required]
ErrorMessage string `json:"errorMessage"` // [Required]
}
type RssUpdateStockLotResponse ¶
type RssUpdateStockLotResponse struct {
BaseResponse // Common response fields
Result *RssGetStockLotResponseDataResult `json:"result,omitempty"` //
}
type Rules ¶ added in v0.1.2
type Rules struct {
FixedOffset string `json:"fixed_offset"` // [Required]
}
type SampleRule ¶ added in v0.1.2
type SaveSellerWarehouseInfoResponse ¶
type SaveSellerWarehouseInfoResponse struct {
BaseResponse // Common response fields
Result *SaveSellerWarehouseInfoResponseDataResult `json:"result,omitempty"` //
}
type SaveSellerWarehouseInfoResponseDataResult ¶ added in v0.1.2
type ScanParcelResponse ¶
type ScanParcelResponse struct {
BaseResponse // Common response fields
TrackingNumber string `json:"trackingNumber,omitempty"` //
}
type SearchAdgroupListResponse ¶
type SearchAdgroupListResponse struct {
BaseResponse // Common response fields
AnalyseTraceId string `json:"analyseTraceId,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
Result []SearchAdgroupListResponseDataResult `json:"result,omitempty"` //
TotalCount string `json:"totalCount,omitempty"` //
}
type SearchAdgroupListResponseDataResult ¶ added in v0.1.2
type SearchAdgroupListResponseDataResult struct {
UnitsSold string `json:"unitsSold"` // [Required]
ProductOrders string `json:"productOrders"` // [Required]
CampaignSwitchStatus string `json:"campaignSwitchStatus"` // [Required]
AdAccountBalanceStatus string `json:"adAccountBalanceStatus"` // [Required]
Revenue string `json:"revenue"` // [Required]
AdgroupId string `json:"adgroupId"` // [Required]
AdgroupName string `json:"adgroupName"` // [Required]
ImageUrl string `json:"imageUrl"` // [Required]
Spend string `json:"spend"` // [Required]
Cpc string `json:"cpc"` // [Required]
CampaignScheduleStatus string `json:"campaignScheduleStatus"` // [Required]
AdSwitchStatus string `json:"adSwitchStatus"` // [Required]
AutoCreative string `json:"autoCreative"` // [Required]
Ctr string `json:"ctr"` // [Required]
CampaignDailyBudgetStatus string `json:"campaignDailyBudgetStatus"` // [Required]
ProductEligibleStatus string `json:"productEligibleStatus"` // [Required]
SellerEligibleStatus string `json:"sellerEligibleStatus"` // [Required]
StoreRevenue string `json:"storeRevenue"` // [Required]
StoreOrders string `json:"storeOrders"` // [Required]
Impressions string `json:"impressions"` // [Required]
StoreUnitsSold string `json:"storeUnitsSold"` // [Required]
BidPrice string `json:"bidPrice"` // [Required]
AudienceViewDTOList []AudienceViewDTO `json:"audienceViewDTOList"` // [Required]
ItemId string `json:"itemId"` // [Required]
StoreRoi string `json:"storeRoi"` // [Required]
ProductStockStatus string `json:"productStockStatus"` // [Required]
AdApproveStatus string `json:"adApproveStatus"` // [Required]
Clicks string `json:"clicks"` // [Required]
Status string `json:"status"` // [Required]
}
type SearchCampaignListResponse ¶
type SearchCampaignListResponse struct {
BaseResponse // Common response fields
AnalyseTraceId string `json:"analyseTraceId,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
Result []SearchCampaignListResponseDataResult `json:"result,omitempty"` //
TotalCount string `json:"totalCount,omitempty"` //
}
type SearchCampaignListResponseDataResult ¶ added in v0.1.2
type SearchCampaignListResponseDataResult struct {
Ctr string `json:"ctr"` // [Required]
CampaignDailyBudgetStatus string `json:"campaignDailyBudgetStatus"` // [Required]
EndDate string `json:"endDate"` // [Required]
StoreRevenue string `json:"storeRevenue"` // [Required]
CampaignId string `json:"campaignId"` // [Required]
StoreOrders string `json:"storeOrders"` // [Required]
Impressions string `json:"impressions"` // [Required]
StoreUnitsSold string `json:"storeUnitsSold"` // [Required]
CampaignSwitchStatus string `json:"campaignSwitchStatus"` // [Required]
AdAccountBalanceStatus string `json:"adAccountBalanceStatus"` // [Required]
StoreRoi string `json:"storeRoi"` // [Required]
DailyBudget string `json:"dailyBudget"` // [Required]
Cpc string `json:"cpc"` // [Required]
Spend string `json:"spend"` // [Required]
CampaignScheduleStatus string `json:"campaignScheduleStatus"` // [Required]
Clicks string `json:"clicks"` // [Required]
CampaignName string `json:"campaignName"` // [Required]
HaveActiveAdStatus string `json:"haveActiveAdStatus"` // [Required]
StartDate string `json:"startDate"` // [Required]
Status string `json:"status"` // [Required]
}
type SearchCustomerReturnParcelResponse ¶
type SearchCustomerReturnParcelResponse struct {
BaseResponse // Common response fields
Response SearchCustomerReturnParcelResponseData `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type SearchCustomerReturnParcelResponseData ¶ added in v0.1.2
type SearchKeywordResponse ¶
type SearchKeywordResponse struct {
BaseResponse // Common response fields
AnalyseTraceId string `json:"analyseTraceId,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
Result []ListKeywordByAdgroupResponseDataResult `json:"result,omitempty"` //
TotalCount string `json:"totalCount,omitempty"` //
}
type SearchProductWithPageResponse ¶
type SearchProductWithPageResponse struct {
BaseResponse // Common response fields
AnalyseTraceId string `json:"analyseTraceId,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
Result []SearchProductWithPageResponseDataResult `json:"result,omitempty"` //
TotalCount string `json:"totalCount,omitempty"` //
}
type SearchProductWithPageResponseDataResult ¶ added in v0.1.2
type SearchProductWithPageResponseDataResult struct {
AvgSalesVolume string `json:"avgSalesVolume"` // [Required]
IsDigitalUtilities string `json:"isDigitalUtilities"` // [Required]
Inventory string `json:"inventory"` // [Required]
ProductName string `json:"productName"` // [Required]
BidPrice string `json:"bidPrice"` // [Required]
Ipv string `json:"ipv"` // [Required]
Tags []string `json:"tags"` // [Required]
ItemId string `json:"itemId"` // [Required]
CompetitionIndex string `json:"competitionIndex"` // [Required]
ImageUrl string `json:"imageUrl"` // [Required]
IsBan string `json:"isBan"` // [Required]
PdpLink string `json:"pdpLink"` // [Required]
ContentScore string `json:"contentScore"` // [Required]
RetailPrice string `json:"retailPrice"` // [Required]
CategoryId string `json:"categoryId"` // [Required]
Cvr string `json:"cvr"` // [Required]
}
type SellerCenterMsgListResponse ¶
type SellerCenterMsgListResponse struct {
BaseResponse // Common response fields
Result *SellerCenterMsgListResponseDataResult `json:"result,omitempty"` //
}
type SellerCenterMsgListResponseDataResult ¶ added in v0.1.2
type SellerCenterMsgListResponseDataResult struct {
Data *SellerCenterMsgListResponseDataResultData `json:"data"` // [Required]
Success bool `json:"success"` // [Required]
ErrorCode string `json:"errorCode"` // [Required]
Type string `json:"type"` // [Required]
Error string `json:"error"` // [Required]
}
type SellerCenterMsgListResponseDataResultData ¶ added in v0.1.2
type SellerCenterMsgListResponseDataResultData struct {
PageInfo *DataPageInfo `json:"pageInfo"` // [Required]
DataSource []DataSource `json:"dataSource"` // [Required]
}
type SellerFieldVerifyResponse ¶
type SellerFieldVerifyResponse struct {
BaseResponse // Common response fields
Response SellerFieldVerifyResponseData `json:"data"` // Response data
}
type SellerFieldVerifyResponseData ¶ added in v0.1.2
type SellerPolicyFetchResponse ¶
type SellerPolicyFetchResponse struct {
BaseResponse // Common response fields
Response string `json:"data"` // Response data
}
type SellerService ¶
type SellerService interface {
// BatchQueryFollowStatus Query whether these customers follow this seller.
// Path: /shop/follow/status/batch/query
BatchQueryFollowStatus(ctx context.Context) (*BatchQueryFollowStatusResponse, error)
// GetCountryInfo getCountryInfo
// Path: /seller/cb/country/get
GetCountryInfo(ctx context.Context) (*GetCountryInfoResponse, error)
// GetPickUpStoreList return the list of pick up store infomation for requested Seller
// Path: /rc/store/list/get
GetPickUpStoreList(ctx context.Context) (*GetPickUpStoreListResponse, error)
// GetSeller Get seller information by current seller ID.
// Path: /seller/get
GetSeller(ctx context.Context) (*GetSellerResponse, error)
// GetSellerMetricsById Provide seller metrics data of the specific seller, like positive seller rating, ship on time rate and etc.
// Path: /seller/metrics/get
GetSellerMetricsById(ctx context.Context) (*GetSellerMetricsByIdResponse, error)
// GetSellerPerformance Provide the performance metrics of the current seller, such as positive seller rating, ship on time, etc.
// Path: /seller/performance/get
GetSellerPerformance(ctx context.Context) (*GetSellerPerformanceResponse, error)
// GetSellerRegisterInfo getSellerRegisterInfo
// Path: /seller/cb/register/info
GetSellerRegisterInfo(ctx context.Context) (*GetSellerRegisterInfoResponse, error)
// GetSubAddress get location info
// Path: /seller/cb/country/location/get
GetSubAddress(ctx context.Context) (*GetSubAddressResponse, error)
// GetWarehouseBySellerId get warehouse by seller id
// Path: /rc/warehouse/get
GetWarehouseBySellerId(ctx context.Context) (*GetWarehouseBySellerIdResponse, error)
// PaymentBinding paymentBinding
// Path: /seller/cb/payment/config
PaymentBinding(ctx context.Context) (*PaymentBindingResponse, error)
// QueryBuyboxHuntingInfo SPU竞价接口
// Path: /hunting/buybox/get
QueryBuyboxHuntingInfo(ctx context.Context) (*QueryBuyboxHuntingInfoResponse, error)
// QueryWarehouseDetailInfoBySellerId query warehouse detail info by seller id
// Path: /rc/warehouse/detail/get
QueryWarehouseDetailInfoBySellerId(ctx context.Context) (*QueryWarehouseDetailInfoBySellerIdResponse, error)
// SaveSellerWarehouseInfo Api to create or edit the seller warehouse info except the "default"
// dropshipping warehouse and the return warehouse.
// Path: /rc/sellerWarehouse/saveWarehouseInfo
SaveSellerWarehouseInfo(ctx context.Context) (*SaveSellerWarehouseInfoResponse, error)
// SellerCenterMsgList seller center msg box
// Path: /sellercenter/msg/list
SellerCenterMsgList(ctx context.Context) (*SellerCenterMsgListResponse, error)
// SellerFieldVerify verify seller info field
// Path: /seller/cb/register/fieldcheck
SellerFieldVerify(ctx context.Context) (*SellerFieldVerifyResponse, error)
// SellerPolicyFetch Fetch seller policy information
// Path: /seller/policy/fetch
SellerPolicyFetch(ctx context.Context) (*SellerPolicyFetchResponse, error)
// SynchronizeSellerItemArConfig synchronize seller item ar config
// Path: /seller/ar/config/syn
SynchronizeSellerItemArConfig(ctx context.Context) (*SynchronizeSellerItemArConfigResponse, error)
}
type SellerServiceOp ¶
type SellerServiceOp[T any] struct { // contains filtered or unexported fields }
func (*SellerServiceOp[T]) BatchQueryFollowStatus ¶
func (s *SellerServiceOp[T]) BatchQueryFollowStatus(ctx context.Context) (*BatchQueryFollowStatusResponse, error)
BatchQueryFollowStatus Query whether these customers follow this seller. Path: /shop/follow/status/batch/query
func (*SellerServiceOp[T]) GetCountryInfo ¶
func (s *SellerServiceOp[T]) GetCountryInfo(ctx context.Context) (*GetCountryInfoResponse, error)
GetCountryInfo getCountryInfo Path: /seller/cb/country/get
func (*SellerServiceOp[T]) GetPickUpStoreList ¶
func (s *SellerServiceOp[T]) GetPickUpStoreList(ctx context.Context) (*GetPickUpStoreListResponse, error)
GetPickUpStoreList return the list of pick up store infomation for requested Seller Path: /rc/store/list/get
func (*SellerServiceOp[T]) GetSeller ¶
func (s *SellerServiceOp[T]) GetSeller(ctx context.Context) (*GetSellerResponse, error)
GetSeller Get seller information by current seller ID. Path: /seller/get
func (*SellerServiceOp[T]) GetSellerMetricsById ¶
func (s *SellerServiceOp[T]) GetSellerMetricsById(ctx context.Context) (*GetSellerMetricsByIdResponse, error)
GetSellerMetricsById Provide seller metrics data of the specific seller, like positive seller rating, ship on time rate and etc. Path: /seller/metrics/get
func (*SellerServiceOp[T]) GetSellerPerformance ¶
func (s *SellerServiceOp[T]) GetSellerPerformance(ctx context.Context) (*GetSellerPerformanceResponse, error)
GetSellerPerformance Provide the performance metrics of the current seller, such as positive seller rating, ship on time, etc. Path: /seller/performance/get
func (*SellerServiceOp[T]) GetSellerRegisterInfo ¶
func (s *SellerServiceOp[T]) GetSellerRegisterInfo(ctx context.Context) (*GetSellerRegisterInfoResponse, error)
GetSellerRegisterInfo getSellerRegisterInfo Path: /seller/cb/register/info
func (*SellerServiceOp[T]) GetSubAddress ¶
func (s *SellerServiceOp[T]) GetSubAddress(ctx context.Context) (*GetSubAddressResponse, error)
GetSubAddress get location info Path: /seller/cb/country/location/get
func (*SellerServiceOp[T]) GetWarehouseBySellerId ¶
func (s *SellerServiceOp[T]) GetWarehouseBySellerId(ctx context.Context) (*GetWarehouseBySellerIdResponse, error)
GetWarehouseBySellerId get warehouse by seller id Path: /rc/warehouse/get
func (*SellerServiceOp[T]) PaymentBinding ¶
func (s *SellerServiceOp[T]) PaymentBinding(ctx context.Context) (*PaymentBindingResponse, error)
PaymentBinding paymentBinding Path: /seller/cb/payment/config
func (*SellerServiceOp[T]) QueryBuyboxHuntingInfo ¶
func (s *SellerServiceOp[T]) QueryBuyboxHuntingInfo(ctx context.Context) (*QueryBuyboxHuntingInfoResponse, error)
QueryBuyboxHuntingInfo SPU竞价接口 Path: /hunting/buybox/get
func (*SellerServiceOp[T]) QueryWarehouseDetailInfoBySellerId ¶
func (s *SellerServiceOp[T]) QueryWarehouseDetailInfoBySellerId(ctx context.Context) (*QueryWarehouseDetailInfoBySellerIdResponse, error)
QueryWarehouseDetailInfoBySellerId query warehouse detail info by seller id Path: /rc/warehouse/detail/get
func (*SellerServiceOp[T]) SaveSellerWarehouseInfo ¶
func (s *SellerServiceOp[T]) SaveSellerWarehouseInfo(ctx context.Context) (*SaveSellerWarehouseInfoResponse, error)
SaveSellerWarehouseInfo Api to create or edit the seller warehouse info except the "default" dropshipping warehouse and the return warehouse. Path: /rc/sellerWarehouse/saveWarehouseInfo
func (*SellerServiceOp[T]) SellerCenterMsgList ¶
func (s *SellerServiceOp[T]) SellerCenterMsgList(ctx context.Context) (*SellerCenterMsgListResponse, error)
SellerCenterMsgList seller center msg box Path: /sellercenter/msg/list
func (*SellerServiceOp[T]) SellerFieldVerify ¶
func (s *SellerServiceOp[T]) SellerFieldVerify(ctx context.Context) (*SellerFieldVerifyResponse, error)
SellerFieldVerify verify seller info field Path: /seller/cb/register/fieldcheck
func (*SellerServiceOp[T]) SellerPolicyFetch ¶
func (s *SellerServiceOp[T]) SellerPolicyFetch(ctx context.Context) (*SellerPolicyFetchResponse, error)
SellerPolicyFetch Fetch seller policy information Path: /seller/policy/fetch
func (*SellerServiceOp[T]) SynchronizeSellerItemArConfig ¶
func (s *SellerServiceOp[T]) SynchronizeSellerItemArConfig(ctx context.Context) (*SynchronizeSellerItemArConfigResponse, error)
SynchronizeSellerItemArConfig synchronize seller item ar config Path: /seller/ar/config/syn
type SellerVoucheDeleteSelectedProductSKUResponse ¶
type SellerVoucheDeleteSelectedProductSKUResponse struct {
BaseResponse // Common response fields
}
type SellerVoucherActivateResponse ¶
type SellerVoucherActivateResponse struct {
BaseResponse // Common response fields
}
type SellerVoucherAddSelectedProductSKUResponse ¶
type SellerVoucherAddSelectedProductSKUResponse struct {
BaseResponse // Common response fields
Response SellerVoucherAddSelectedProductSKUResponseData `json:"data"` // Response data
}
type SellerVoucherAddSelectedProductSKUResponseData ¶ added in v0.1.2
type SellerVoucherAddSelectedProductSKUResponseData struct {
SkuId string `json:"sku id"` // [Required]
}
type SellerVoucherCreateResponse ¶
type SellerVoucherCreateResponse struct {
BaseResponse // Common response fields
Response string `json:"data"` // Response data
}
type SellerVoucherDeactivateResponse ¶
type SellerVoucherDeactivateResponse struct {
BaseResponse // Common response fields
}
type SellerVoucherDetailQueryResponse ¶
type SellerVoucherDetailQueryResponse struct {
BaseResponse // Common response fields
Response SellerVoucherDetailQueryResponseData `json:"data"` // Response data
}
type SellerVoucherDetailQueryResponseData ¶ added in v0.1.2
type SellerVoucherDetailQueryResponseData struct {
PeriodEndTime string `json:"period_end_time"` // [Required]
MaxDiscountOfferingMoneyValue string `json:"max_discount_offering_money_value"` // [Required]
CriteriaOverMoney string `json:"criteria_over_money"` // [Required]
Apply string `json:"apply"` // [Required]
VoucherName string `json:"voucher_name"` // [Required]
VoucherCode string `json:"voucher_code"` // [Required]
OfferingMoneyValueOff string `json:"offering_money_value_off"` // [Required]
OrderUsedBudget string `json:"order_used_budget"` // [Required]
OfferingPercentageDiscountOff string `json:"offering_percentage_discount_off"` // [Required]
PeriodStartTime string `json:"period_start_time"` // [Required]
DisplayArea string `json:"display_area"` // [Required]
VoucherType string `json:"voucher_type"` // [Required]
Limit int64 `json:"limit"` // [Required]
CollectStart string `json:"collect_start"` // [Required]
VoucherDiscountType string `json:"voucher_discount_type"` // [Required]
Currency string `json:"currency"` // [Required]
Id int64 `json:"id"` // [Required]
Issued string `json:"issued"` // [Required]
Status string `json:"status"` // [Required]
}
type SellerVoucherListResponse ¶
type SellerVoucherListResponse struct {
BaseResponse // Common response fields
Response SellerVoucherListResponseData `json:"data"` // Response data
}
type SellerVoucherListResponseData ¶ added in v0.1.2
type SellerVoucherListResponseData struct {
DataList []SellerVoucherListResponseDataData `json:"data_list"` // [Required]
Total int64 `json:"total"` // [Required]
Current string `json:"current"` // [Required]
PageSize int64 `json:"page_size"` // [Required]
}
type SellerVoucherListResponseDataData ¶ added in v0.1.2
type SellerVoucherListResponseDataData struct {
PeriodEndTime string `json:"period_end_time"` // [Required]
MaxDiscountOfferingMoneyValue string `json:"max_discount_offering_money_value"` // [Required]
CriteriaOverMoney string `json:"criteria_over_money"` // [Required]
Apply string `json:"apply"` // [Required]
VoucherName string `json:"voucher_name"` // [Required]
VoucherCode string `json:"voucher_code"` // [Required]
OfferingMoneyValueOff string `json:"offering_money_value_off"` // [Required]
OrderUsedBudget string `json:"order_used_budget"` // [Required]
OfferingPercentageDiscountOff string `json:"offering_percentage_discount_off"` // [Required]
PeriodStartTime string `json:"period_start_time"` // [Required]
DisplayArea string `json:"display_area"` // [Required]
VoucherType string `json:"voucher_type"` // [Required]
Limit int64 `json:"limit"` // [Required]
CollectStart string `json:"collect_start"` // [Required]
VoucherDiscountType string `json:"voucher_discount_type"` // [Required]
Currency string `json:"currency"` // [Required]
Id int64 `json:"id"` // [Required]
Issued string `json:"issued"` // [Required]
Status string `json:"status"` // [Required]
}
type SellerVoucherSelectedProductListResponse ¶
type SellerVoucherSelectedProductListResponse struct {
BaseResponse // Common response fields
Response SellerVoucherSelectedProductListResponseData `json:"data"` // Response data
}
type SellerVoucherSelectedProductListResponseData ¶ added in v0.1.2
type SellerVoucherSelectedProductListResponseData struct {
DataList []FreeShippingSelectedProductListResponseDataData `json:"data_list"` // [Required]
Total int64 `json:"total"` // [Required]
Current string `json:"current"` // [Required]
PageSize int64 `json:"page_size"` // [Required]
}
type SellerVoucherService ¶
type SellerVoucherService interface {
// SellerVoucheDeleteSelectedProductSKU delete seller voucher promotion product sku
// Path: /promotion/voucher/product/sku/remove
SellerVoucheDeleteSelectedProductSKU(ctx context.Context) (*SellerVoucheDeleteSelectedProductSKUResponse, error)
// SellerVoucherActivate activate seller voucher promotion
// Path: /promotion/voucher/activate
SellerVoucherActivate(ctx context.Context) (*SellerVoucherActivateResponse, error)
// SellerVoucherAddSelectedProductSKU add seller voucher promotion product sku
// Path: /promotion/voucher/product/sku/add
SellerVoucherAddSelectedProductSKU(ctx context.Context) (*SellerVoucherAddSelectedProductSKUResponse, error)
// SellerVoucherCreate create a new seller voucher promotion
// Path: /promotion/voucher/create
SellerVoucherCreate(ctx context.Context) (*SellerVoucherCreateResponse, error)
// SellerVoucherDeactivate deactivate seller voucher promotion
// Path: /promotion/voucher/deactivate
SellerVoucherDeactivate(ctx context.Context) (*SellerVoucherDeactivateResponse, error)
// SellerVoucherDetailQuery get a seller voucher promotion detail
// Path: /promotion/voucher/get
SellerVoucherDetailQuery(ctx context.Context) (*SellerVoucherDetailQueryResponse, error)
// SellerVoucherList query seller voucher promotion list
// Path: /promotion/vouchers/get
SellerVoucherList(ctx context.Context) (*SellerVoucherListResponse, error)
// SellerVoucherSelectedProductList query seller voucher selected products list
// Path: /promotion/voucher/products/get
SellerVoucherSelectedProductList(ctx context.Context) (*SellerVoucherSelectedProductListResponse, error)
// SellerVoucherUpdate update a existing seller voucher promotion
// Path: /promotion/voucher/update
SellerVoucherUpdate(ctx context.Context) (*SellerVoucherUpdateResponse, error)
}
type SellerVoucherServiceOp ¶
type SellerVoucherServiceOp[T any] struct { // contains filtered or unexported fields }
func (*SellerVoucherServiceOp[T]) SellerVoucheDeleteSelectedProductSKU ¶
func (s *SellerVoucherServiceOp[T]) SellerVoucheDeleteSelectedProductSKU(ctx context.Context) (*SellerVoucheDeleteSelectedProductSKUResponse, error)
SellerVoucheDeleteSelectedProductSKU delete seller voucher promotion product sku Path: /promotion/voucher/product/sku/remove
func (*SellerVoucherServiceOp[T]) SellerVoucherActivate ¶
func (s *SellerVoucherServiceOp[T]) SellerVoucherActivate(ctx context.Context) (*SellerVoucherActivateResponse, error)
SellerVoucherActivate activate seller voucher promotion Path: /promotion/voucher/activate
func (*SellerVoucherServiceOp[T]) SellerVoucherAddSelectedProductSKU ¶
func (s *SellerVoucherServiceOp[T]) SellerVoucherAddSelectedProductSKU(ctx context.Context) (*SellerVoucherAddSelectedProductSKUResponse, error)
SellerVoucherAddSelectedProductSKU add seller voucher promotion product sku Path: /promotion/voucher/product/sku/add
func (*SellerVoucherServiceOp[T]) SellerVoucherCreate ¶
func (s *SellerVoucherServiceOp[T]) SellerVoucherCreate(ctx context.Context) (*SellerVoucherCreateResponse, error)
SellerVoucherCreate create a new seller voucher promotion Path: /promotion/voucher/create
func (*SellerVoucherServiceOp[T]) SellerVoucherDeactivate ¶
func (s *SellerVoucherServiceOp[T]) SellerVoucherDeactivate(ctx context.Context) (*SellerVoucherDeactivateResponse, error)
SellerVoucherDeactivate deactivate seller voucher promotion Path: /promotion/voucher/deactivate
func (*SellerVoucherServiceOp[T]) SellerVoucherDetailQuery ¶
func (s *SellerVoucherServiceOp[T]) SellerVoucherDetailQuery(ctx context.Context) (*SellerVoucherDetailQueryResponse, error)
SellerVoucherDetailQuery get a seller voucher promotion detail Path: /promotion/voucher/get
func (*SellerVoucherServiceOp[T]) SellerVoucherList ¶
func (s *SellerVoucherServiceOp[T]) SellerVoucherList(ctx context.Context) (*SellerVoucherListResponse, error)
SellerVoucherList query seller voucher promotion list Path: /promotion/vouchers/get
func (*SellerVoucherServiceOp[T]) SellerVoucherSelectedProductList ¶
func (s *SellerVoucherServiceOp[T]) SellerVoucherSelectedProductList(ctx context.Context) (*SellerVoucherSelectedProductListResponse, error)
SellerVoucherSelectedProductList query seller voucher selected products list Path: /promotion/voucher/products/get
func (*SellerVoucherServiceOp[T]) SellerVoucherUpdate ¶
func (s *SellerVoucherServiceOp[T]) SellerVoucherUpdate(ctx context.Context) (*SellerVoucherUpdateResponse, error)
SellerVoucherUpdate update a existing seller voucher promotion Path: /promotion/voucher/update
type SellerVoucherUpdateResponse ¶
type SellerVoucherUpdateResponse struct {
BaseResponse // Common response fields
Response string `json:"data"` // Response data
}
type SemiProductUpdateResponse ¶
type SemiProductUpdateResponse struct {
BaseResponse // Common response fields
Response SemiProductUpdateResponseData `json:"data"` // Response data
}
type SemiProductUpdateResponseData ¶ added in v0.1.2
type SemiProductUpdateResponseData struct {
ProductId int64 `json:"product_id"` // [Required]
}
type SemiProductUpgradeResponse ¶
type SemiProductUpgradeResponse struct {
BaseResponse // Common response fields
Response SemiProductUpgradeResponseData `json:"data"` // Response data
}
type SemiProductUpgradeResponseData ¶ added in v0.1.2
type SemiProductUpgradeResponseData struct {
ProductId int64 `json:"product_id"` // [Required]
}
type SendMessageResponse ¶
type SendMessageResponse struct {
BaseResponse // Common response fields
Response SendMessageResponseData `json:"data"` // Response data
ErrCode string `json:"err_code,omitempty"` //
ErrMessage string `json:"err_message,omitempty"` //
}
type SendMessageResponseData ¶ added in v0.1.2
type ServiceMarketAppKeyOrderQueryResponse ¶
type ServiceMarketAppKeyOrderQueryResponse struct {
BaseResponse // Common response fields
Result *ServiceMarketAppKeyOrderQueryResponseDataResult `json:"result,omitempty"` //
}
type ServiceMarketAppKeyOrderQueryResponseDataResult ¶ added in v0.1.2
type ServiceMarketAppKeyOrderQueryResponseDataResult struct {
Data *ServiceMarketAppKeyOrderQueryResponseDataResultData `json:"data"` // [Required]
Success bool `json:"success"` // [Required]
ResultCode string `json:"resultCode"` // [Required]
Remark string `json:"remark"` // [Required]
}
type ServiceMarketAppKeyOrderQueryResponseDataResultData ¶ added in v0.1.2
type ServiceMarketAppKeyOrderQueryResponseDataResultData struct {
TotalItem string `json:"totalItem"` // [Required]
ArticleBizOrders []ArticleBizOrders `json:"articleBizOrders"` // [Required]
}
type ServiceMarketAppKeySubQueryResponse ¶
type ServiceMarketAppKeySubQueryResponse struct {
BaseResponse // Common response fields
Result *ServiceMarketAppKeySubQueryResponseDataResult `json:"result,omitempty"` //
}
type ServiceMarketAppKeySubQueryResponseDataResult ¶ added in v0.1.2
type ServiceMarketAppKeySubQueryResponseDataResult struct {
Data []ServiceMarketAppKeySubQueryResponseDataResultData `json:"data"` // [Required]
Success bool `json:"success"` // [Required]
}
type ServiceMarketAppKeySubQueryResponseDataResultData ¶ added in v0.1.2
type ServiceMarketAppKeySubQueryResponseDataResultData struct {
Nick string `json:"nick"` // [Required]
ItemCode string `json:"item_code"` // [Required]
ExpireNotice string `json:"expire_notice"` // [Required]
EndTime string `json:"end_time"` // [Required]
ArticleName string `json:"article_name"` // [Required]
ItemName string `json:"item_name"` // [Required]
Autosub string `json:"autosub"` // [Required]
ArticleCode string `json:"article_code"` // [Required]
Status string `json:"status"` // [Required]
}
type ServiceMarketService ¶
type ServiceMarketService interface {
// ServiceMarketAppKeyOrderQuery Query user order list for specific App on Service Market
// Path: /service/market/order/query
ServiceMarketAppKeyOrderQuery(ctx context.Context) (*ServiceMarketAppKeyOrderQueryResponse, error)
// ServiceMarketAppKeySubQuery Query user subscription info for specific App on Service Market
// Path: /service/market/subs/query
ServiceMarketAppKeySubQuery(ctx context.Context) (*ServiceMarketAppKeySubQueryResponse, error)
}
type ServiceMarketServiceOp ¶
type ServiceMarketServiceOp[T any] struct { // contains filtered or unexported fields }
func (*ServiceMarketServiceOp[T]) ServiceMarketAppKeyOrderQuery ¶
func (s *ServiceMarketServiceOp[T]) ServiceMarketAppKeyOrderQuery(ctx context.Context) (*ServiceMarketAppKeyOrderQueryResponse, error)
ServiceMarketAppKeyOrderQuery Query user order list for specific App on Service Market Path: /service/market/order/query
func (*ServiceMarketServiceOp[T]) ServiceMarketAppKeySubQuery ¶
func (s *ServiceMarketServiceOp[T]) ServiceMarketAppKeySubQuery(ctx context.Context) (*ServiceMarketAppKeySubQueryResponse, error)
ServiceMarketAppKeySubQuery Query user subscription info for specific App on Service Market Path: /service/market/subs/query
type Session ¶ added in v0.1.2
type Session struct {
Summary string `json:"summary"` // [Required]
UnreadCount string `json:"unread_count"` // [Required]
LastMessageId string `json:"last_message_id"` // [Required]
HeadUrl string `json:"head_url"` // [Required]
SelfPosition string `json:"self_position"` // [Required]
SiteId string `json:"site_id"` // [Required]
LastMessageTime string `json:"last_message_time"` // [Required]
SessionId string `json:"session_id"` // [Required]
BuyerId string `json:"buyer_id"` // [Required]
Title string `json:"title"` // [Required]
ToPosition string `json:"to_position"` // [Required]
Tags []string `json:"tags"` // [Required]
}
type SetImagesResponse ¶
type SetImagesResponse struct {
BaseResponse // Common response fields
}
type SetInvoiceNumberResponse ¶
type SetInvoiceNumberResponse struct {
BaseResponse // Common response fields
Response SetInvoiceNumberResponseData `json:"data"` // Response data
}
type SetInvoiceNumberResponseData ¶ added in v0.1.2
type SetInvoiceNumberResponseData struct {
OrderItemId int64 `json:"order_item_id"` // [Required]
InvoiceNumber FlexString `json:"invoice_number"` // [Required]
}
type SetStockRuleResponse ¶
type SetStockRuleResponse struct {
BaseResponse // Common response fields
ErrorMessage string `json:"error_message,omitempty"` //
}
type ShipmentProviders ¶ added in v0.1.2
type ShipmentsInfo ¶ added in v0.1.2
type SignResponse ¶
type SignResponse struct {
BaseResponse // Common response fields
AnalyseTraceId string `json:"analyseTraceId,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
Result interface{} `json:"result,omitempty"` //
}
type SizeChartTemplate ¶ added in v0.1.8
type Skus ¶
type Skus struct {
Status string `json:"Status"` // [Required]
Quantity int64 `json:"quantity"` // [Required]
ProductWeight string `json:"product_weight"` // [Required]
Images []string `json:"Images"` // [Required]
SellerSku string `json:"SellerSku"` // [Required]
ShopSku string `json:"ShopSku"` // [Required]
CurrencyUnit string `json:"currency_unit"` // [Required]
MultiWarehouseInventories []MultiWarehouseInventories `json:"multiWarehouseInventories"` // [Required]
SkuSupplyPrice int64 `json:"sku_supply_price"` // [Required]
PackageWidth string `json:"package_width"` // [Required]
SpecialToTime string `json:"special_to_time"` // [Required]
SpecialFromTime string `json:"special_from_time"` // [Required]
PackageHeight string `json:"package_height"` // [Required]
PackageLength string `json:"package_length"` // [Required]
PackageWeight string `json:"package_weight"` // [Required]
Available int64 `json:"Available"` // [Required]
SkuId int64 `json:"SkuId"` // [Required]
SpecialToDate string `json:"special_to_date"` // [Required]
}
type SnSample ¶ added in v0.1.2
type SnSample struct {
SampleSeq string `json:"sample_seq"` // [Required]
SampleDesc string `json:"sample_desc"` // [Required]
SampleRuleList []SampleRule `json:"sample_rule_list"` // [Required]
}
type SpecialPrice ¶ added in v0.1.2
type SponsoredSolutionsService ¶
type SponsoredSolutionsService interface {
// AddAdgroupBatch Do add adgroup for one campaign.
// Path: /sponsor/solutions/adgroup/addAdgroupBatch
AddAdgroupBatch(ctx context.Context) (*AddAdgroupBatchResponse, error)
// AddSolution Add sponsor solution
// Path: /sponsor/solutions/addSolution
AddSolution(ctx context.Context) (*AddSolutionResponse, error)
// Clickserver aidc click server interface
// Path: /gproject/ads/aidc/click
Clickserver(ctx context.Context) (*ClickserverResponse, error)
// DeleteAdgroupBatch Delete adgroup batch.
// Path: /sponsor/solutions/adgroup/deleteAdgroupBatch
DeleteAdgroupBatch(ctx context.Context) (*DeleteAdgroupBatchResponse, error)
// DeleteCampaign Delete campaign.
// Path: /sponsor/solutions/campaign/deleteCampaign
DeleteCampaign(ctx context.Context) (*DeleteCampaignResponse, error)
// GetAccountSignInfo Get seller account sign status.
// Path: /sponsor/solutions/account/getAccountSignInfo
GetAccountSignInfo(ctx context.Context) (*GetAccountSignInfoResponse, error)
// GetAutoTopUpOptionOneConfig Get auto top up option one config.
// Path: /sponsor/solutions/wallet/getAutoTopUpOptionOneConfig
GetAutoTopUpOptionOneConfig(ctx context.Context) (*GetAutoTopUpOptionOneConfigResponse, error)
// GetCampaign Get campaign list with bizCode by seller.
// Path: /sponsor/solutions/campaign/getCampaign
GetCampaign(ctx context.Context) (*GetCampaignResponse, error)
// GetCampaignCount Get campaign count with bizCode for each solution type.
// Path: /sponsor/solutions/campaign/getCampaignCount
GetCampaignCount(ctx context.Context) (*GetCampaignCountResponse, error)
// GetDiscoveryReportAdgroup Get sponsored discovery report adgroup level
// Path: /sponsor/solutions/report/getDiscoveryReportAdgroup
GetDiscoveryReportAdgroup(ctx context.Context) (*GetDiscoveryReportAdgroupResponse, error)
// GetDiscoveryReportAudience Get sponsored discovery report audience level
// Path: /sponsor/solutions/report/getDiscoveryReportAudience
GetDiscoveryReportAudience(ctx context.Context) (*GetDiscoveryReportAudienceResponse, error)
// GetDiscoveryReportCampaign Get sponsored discovery report campaign level
// Path: /sponsor/solutions/report/getDiscoveryReportCampaign
GetDiscoveryReportCampaign(ctx context.Context) (*GetDiscoveryReportCampaignResponse, error)
// GetDiscoveryReportKeyword Get sponsored discovery report keyword level
// Path: /sponsor/solutions/report/getDiscoveryReportKeyword
GetDiscoveryReportKeyword(ctx context.Context) (*GetDiscoveryReportKeywordResponse, error)
// GetLatestSignInfo Get the latest url of sign(T&C).
// Path: /sponsor/solutions/account/getLatestSignInfo
GetLatestSignInfo(ctx context.Context) (*GetLatestSignInfoResponse, error)
// GetReportCampaignOnFIrstSlot Get sponsored discovery report campaign first slot
// Path: /sponsor/solutions/report/getReportCampaignOnPrePlacement
GetReportCampaignOnFIrstSlot(ctx context.Context) (*GetReportCampaignOnFIrstSlotResponse, error)
// GetReportOverview Get report overview.
// Path: /sponsor/solutions/report/getReportOverview
GetReportOverview(ctx context.Context) (*GetReportOverviewResponse, error)
// GetReportOverviewMetric get report overview metric
// Path: /sponsor/solutions/report/getReportOverviewMetric
GetReportOverviewMetric(ctx context.Context) (*GetReportOverviewMetricResponse, error)
// ListCategory list category
// Path: /sponsor/solutions/category/listCategory
ListCategory(ctx context.Context) (*ListCategoryResponse, error)
// ListKeywordByAdgroup List keyword by adgroup.
// Path: /sponsor/solutions/keyword/listKeywordByAdgroup
ListKeywordByAdgroup(ctx context.Context) (*ListKeywordByAdgroupResponse, error)
// ListKeywordByItem List keyword by item.
// Path: /sponsor/solutions/keyword/listKeywordByItem
ListKeywordByItem(ctx context.Context) (*ListKeywordByItemResponse, error)
// ModifyAutoTopUpOptionOneConfig Modify auto top up option one config.1. each country has differect tax rate
// 2. we have minimum and maximam top-up amount limitation.For SG, min=5, max = 8,333,333,330;for PH, min=100,Max=17,895,600;for TH, min=100,max=8,333,333,300;for VN, min=50,000,max=833,333,300,000;for MY,min=10,max=8,333,333,330;for ID,min=25,000,max=8,333,333,000.the api timeout is 3s, max qps is 100, make sure do not over these num, especially qps, otherwise you may be blacklisted or limited request count for a while.
// Path: /sponsor/solutions/wallet/modifyAutoTopUpOptionOneConfig
ModifyAutoTopUpOptionOneConfig(ctx context.Context) (*ModifyAutoTopUpOptionOneConfigResponse, error)
// SearchAdgroupList Search adgroup with bizCode by seller.
// Path: /sponsor/solutions/adgroup/searchAdgroupList
SearchAdgroupList(ctx context.Context) (*SearchAdgroupListResponse, error)
// SearchCampaignList Search campaign list with bizCode for sellers.
// Path: /sponsor/solutions/campaign/searchCampaignList
SearchCampaignList(ctx context.Context) (*SearchCampaignListResponse, error)
// SearchKeyword Search keyword with specific word.
// Path: /sponsor/solutions/keyword/searchKeyword
SearchKeyword(ctx context.Context) (*SearchKeywordResponse, error)
// SearchProductWithPage Search product.
// Path: /sponsor/solutions/product/searchProductWithPage
SearchProductWithPage(ctx context.Context) (*SearchProductWithPageResponse, error)
// Sign Description: Do sign for seller. Seller or agencies can use this api to sign up the t&c.
// Timeout Period: the api timeout is 10s, max qps is 300, make sure do not over these num, especially qps, otherwise you may be blacklisted or limited request count for a while.
// Path: /sponsor/solutions/account/sign
Sign(ctx context.Context) (*SignResponse, error)
// UpdateAdgroupBatch Update adgroup batch.
// Path: /sponsor/solutions/adgroup/updateAdgroupBatch
UpdateAdgroupBatch(ctx context.Context) (*UpdateAdgroupBatchResponse, error)
// UpdateCampaign Update campaign with status field.
// Path: /sponsor/solutions/campaign/updateCampaign
UpdateCampaign(ctx context.Context) (*UpdateCampaignResponse, error)
}
type SponsoredSolutionsServiceOp ¶
type SponsoredSolutionsServiceOp[T any] struct { // contains filtered or unexported fields }
func (*SponsoredSolutionsServiceOp[T]) AddAdgroupBatch ¶
func (s *SponsoredSolutionsServiceOp[T]) AddAdgroupBatch(ctx context.Context) (*AddAdgroupBatchResponse, error)
AddAdgroupBatch Do add adgroup for one campaign. Path: /sponsor/solutions/adgroup/addAdgroupBatch
func (*SponsoredSolutionsServiceOp[T]) AddSolution ¶
func (s *SponsoredSolutionsServiceOp[T]) AddSolution(ctx context.Context) (*AddSolutionResponse, error)
AddSolution Add sponsor solution Path: /sponsor/solutions/addSolution
func (*SponsoredSolutionsServiceOp[T]) Clickserver ¶
func (s *SponsoredSolutionsServiceOp[T]) Clickserver(ctx context.Context) (*ClickserverResponse, error)
Clickserver aidc click server interface Path: /gproject/ads/aidc/click
func (*SponsoredSolutionsServiceOp[T]) DeleteAdgroupBatch ¶
func (s *SponsoredSolutionsServiceOp[T]) DeleteAdgroupBatch(ctx context.Context) (*DeleteAdgroupBatchResponse, error)
DeleteAdgroupBatch Delete adgroup batch. Path: /sponsor/solutions/adgroup/deleteAdgroupBatch
func (*SponsoredSolutionsServiceOp[T]) DeleteCampaign ¶
func (s *SponsoredSolutionsServiceOp[T]) DeleteCampaign(ctx context.Context) (*DeleteCampaignResponse, error)
DeleteCampaign Delete campaign. Path: /sponsor/solutions/campaign/deleteCampaign
func (*SponsoredSolutionsServiceOp[T]) GetAccountSignInfo ¶
func (s *SponsoredSolutionsServiceOp[T]) GetAccountSignInfo(ctx context.Context) (*GetAccountSignInfoResponse, error)
GetAccountSignInfo Get seller account sign status. Path: /sponsor/solutions/account/getAccountSignInfo
func (*SponsoredSolutionsServiceOp[T]) GetAutoTopUpOptionOneConfig ¶
func (s *SponsoredSolutionsServiceOp[T]) GetAutoTopUpOptionOneConfig(ctx context.Context) (*GetAutoTopUpOptionOneConfigResponse, error)
GetAutoTopUpOptionOneConfig Get auto top up option one config. Path: /sponsor/solutions/wallet/getAutoTopUpOptionOneConfig
func (*SponsoredSolutionsServiceOp[T]) GetCampaign ¶
func (s *SponsoredSolutionsServiceOp[T]) GetCampaign(ctx context.Context) (*GetCampaignResponse, error)
GetCampaign Get campaign list with bizCode by seller. Path: /sponsor/solutions/campaign/getCampaign
func (*SponsoredSolutionsServiceOp[T]) GetCampaignCount ¶
func (s *SponsoredSolutionsServiceOp[T]) GetCampaignCount(ctx context.Context) (*GetCampaignCountResponse, error)
GetCampaignCount Get campaign count with bizCode for each solution type. Path: /sponsor/solutions/campaign/getCampaignCount
func (*SponsoredSolutionsServiceOp[T]) GetDiscoveryReportAdgroup ¶
func (s *SponsoredSolutionsServiceOp[T]) GetDiscoveryReportAdgroup(ctx context.Context) (*GetDiscoveryReportAdgroupResponse, error)
GetDiscoveryReportAdgroup Get sponsored discovery report adgroup level Path: /sponsor/solutions/report/getDiscoveryReportAdgroup
func (*SponsoredSolutionsServiceOp[T]) GetDiscoveryReportAudience ¶
func (s *SponsoredSolutionsServiceOp[T]) GetDiscoveryReportAudience(ctx context.Context) (*GetDiscoveryReportAudienceResponse, error)
GetDiscoveryReportAudience Get sponsored discovery report audience level Path: /sponsor/solutions/report/getDiscoveryReportAudience
func (*SponsoredSolutionsServiceOp[T]) GetDiscoveryReportCampaign ¶
func (s *SponsoredSolutionsServiceOp[T]) GetDiscoveryReportCampaign(ctx context.Context) (*GetDiscoveryReportCampaignResponse, error)
GetDiscoveryReportCampaign Get sponsored discovery report campaign level Path: /sponsor/solutions/report/getDiscoveryReportCampaign
func (*SponsoredSolutionsServiceOp[T]) GetDiscoveryReportKeyword ¶
func (s *SponsoredSolutionsServiceOp[T]) GetDiscoveryReportKeyword(ctx context.Context) (*GetDiscoveryReportKeywordResponse, error)
GetDiscoveryReportKeyword Get sponsored discovery report keyword level Path: /sponsor/solutions/report/getDiscoveryReportKeyword
func (*SponsoredSolutionsServiceOp[T]) GetLatestSignInfo ¶
func (s *SponsoredSolutionsServiceOp[T]) GetLatestSignInfo(ctx context.Context) (*GetLatestSignInfoResponse, error)
GetLatestSignInfo Get the latest url of sign(T&C). Path: /sponsor/solutions/account/getLatestSignInfo
func (*SponsoredSolutionsServiceOp[T]) GetReportCampaignOnFIrstSlot ¶
func (s *SponsoredSolutionsServiceOp[T]) GetReportCampaignOnFIrstSlot(ctx context.Context) (*GetReportCampaignOnFIrstSlotResponse, error)
GetReportCampaignOnFIrstSlot Get sponsored discovery report campaign first slot Path: /sponsor/solutions/report/getReportCampaignOnPrePlacement
func (*SponsoredSolutionsServiceOp[T]) GetReportOverview ¶
func (s *SponsoredSolutionsServiceOp[T]) GetReportOverview(ctx context.Context) (*GetReportOverviewResponse, error)
GetReportOverview Get report overview. Path: /sponsor/solutions/report/getReportOverview
func (*SponsoredSolutionsServiceOp[T]) GetReportOverviewMetric ¶
func (s *SponsoredSolutionsServiceOp[T]) GetReportOverviewMetric(ctx context.Context) (*GetReportOverviewMetricResponse, error)
GetReportOverviewMetric get report overview metric Path: /sponsor/solutions/report/getReportOverviewMetric
func (*SponsoredSolutionsServiceOp[T]) ListCategory ¶
func (s *SponsoredSolutionsServiceOp[T]) ListCategory(ctx context.Context) (*ListCategoryResponse, error)
ListCategory list category Path: /sponsor/solutions/category/listCategory
func (*SponsoredSolutionsServiceOp[T]) ListKeywordByAdgroup ¶
func (s *SponsoredSolutionsServiceOp[T]) ListKeywordByAdgroup(ctx context.Context) (*ListKeywordByAdgroupResponse, error)
ListKeywordByAdgroup List keyword by adgroup. Path: /sponsor/solutions/keyword/listKeywordByAdgroup
func (*SponsoredSolutionsServiceOp[T]) ListKeywordByItem ¶
func (s *SponsoredSolutionsServiceOp[T]) ListKeywordByItem(ctx context.Context) (*ListKeywordByItemResponse, error)
ListKeywordByItem List keyword by item. Path: /sponsor/solutions/keyword/listKeywordByItem
func (*SponsoredSolutionsServiceOp[T]) ModifyAutoTopUpOptionOneConfig ¶
func (s *SponsoredSolutionsServiceOp[T]) ModifyAutoTopUpOptionOneConfig(ctx context.Context) (*ModifyAutoTopUpOptionOneConfigResponse, error)
ModifyAutoTopUpOptionOneConfig Modify auto top up option one config.1. each country has differect tax rate 2. we have minimum and maximam top-up amount limitation.For SG, min=5, max = 8,333,333,330;for PH, min=100,Max=17,895,600;for TH, min=100,max=8,333,333,300;for VN, min=50,000,max=833,333,300,000;for MY,min=10,max=8,333,333,330;for ID,min=25,000,max=8,333,333,000.the api timeout is 3s, max qps is 100, make sure do not over these num, especially qps, otherwise you may be blacklisted or limited request count for a while. Path: /sponsor/solutions/wallet/modifyAutoTopUpOptionOneConfig
func (*SponsoredSolutionsServiceOp[T]) SearchAdgroupList ¶
func (s *SponsoredSolutionsServiceOp[T]) SearchAdgroupList(ctx context.Context) (*SearchAdgroupListResponse, error)
SearchAdgroupList Search adgroup with bizCode by seller. Path: /sponsor/solutions/adgroup/searchAdgroupList
func (*SponsoredSolutionsServiceOp[T]) SearchCampaignList ¶
func (s *SponsoredSolutionsServiceOp[T]) SearchCampaignList(ctx context.Context) (*SearchCampaignListResponse, error)
SearchCampaignList Search campaign list with bizCode for sellers. Path: /sponsor/solutions/campaign/searchCampaignList
func (*SponsoredSolutionsServiceOp[T]) SearchKeyword ¶
func (s *SponsoredSolutionsServiceOp[T]) SearchKeyword(ctx context.Context) (*SearchKeywordResponse, error)
SearchKeyword Search keyword with specific word. Path: /sponsor/solutions/keyword/searchKeyword
func (*SponsoredSolutionsServiceOp[T]) SearchProductWithPage ¶
func (s *SponsoredSolutionsServiceOp[T]) SearchProductWithPage(ctx context.Context) (*SearchProductWithPageResponse, error)
SearchProductWithPage Search product. Path: /sponsor/solutions/product/searchProductWithPage
func (*SponsoredSolutionsServiceOp[T]) Sign ¶
func (s *SponsoredSolutionsServiceOp[T]) Sign(ctx context.Context) (*SignResponse, error)
Sign Description: Do sign for seller. Seller or agencies can use this api to sign up the t&c. Timeout Period: the api timeout is 10s, max qps is 300, make sure do not over these num, especially qps, otherwise you may be blacklisted or limited request count for a while. Path: /sponsor/solutions/account/sign
func (*SponsoredSolutionsServiceOp[T]) UpdateAdgroupBatch ¶
func (s *SponsoredSolutionsServiceOp[T]) UpdateAdgroupBatch(ctx context.Context) (*UpdateAdgroupBatchResponse, error)
UpdateAdgroupBatch Update adgroup batch. Path: /sponsor/solutions/adgroup/updateAdgroupBatch
func (*SponsoredSolutionsServiceOp[T]) UpdateCampaign ¶
func (s *SponsoredSolutionsServiceOp[T]) UpdateCampaign(ctx context.Context) (*UpdateCampaignResponse, error)
UpdateCampaign Update campaign with status field. Path: /sponsor/solutions/campaign/updateCampaign
type StartExportByDatasetResponse ¶
type StartExportByDatasetResponse struct {
BaseResponse // Common response fields
Result *StartExportByDatasetResponseDataResult `json:"result,omitempty"` //
}
type StartExportByDatasetResponseDataResult ¶ added in v0.1.2
type StationDopScanResponse ¶
type StationDopScanResponse struct {
BaseResponse // Common response fields
Response StationDopScanResponseData `json:"data"` // Response data
Error *Error `json:"error,omitempty"` //
}
type StationDopScanResponseData ¶ added in v0.1.2
type StationDopScanResponseData struct {
TrackingNumber string `json:"trackingNumber"` // [Required]
}
type Stocks ¶ added in v0.1.2
type Stocks struct {
WarehouseCode string `json:"warehouse_code"` // [Required]
ChannelStocks []ChannelStocks `json:"channel_stocks"` // [Required]
}
type StoreDecorationService ¶
type StoreDecorationService interface {
// GetStoreCustomPage GetStoreCustomPagevice
//
// Path: /store/custom/page/get
GetStoreCustomPage(ctx context.Context) (*GetStoreCustomPageResponse, error)
}
type StoreDecorationServiceOp ¶
type StoreDecorationServiceOp[T any] struct { // contains filtered or unexported fields }
func (*StoreDecorationServiceOp[T]) GetStoreCustomPage ¶
func (s *StoreDecorationServiceOp[T]) GetStoreCustomPage(ctx context.Context) (*GetStoreCustomPageResponse, error)
GetStoreCustomPage GetStoreCustomPagevice
Path: /store/custom/page/get
type StoreStocks ¶ added in v0.1.2
type StoreStocks struct {
StoreCode string `json:"store_code"` // [Required]
Stocks *StoreStocksStocks `json:"stocks"` // [Required]
}
type StoreStocksStocks ¶ added in v0.1.2
type SubmitSellerReplyResponse ¶
type SubmitSellerReplyResponse struct {
BaseResponse // Common response fields
Response string `json:"data"` // Response data
}
type SynchronizeSellerItemArConfigResponse ¶
type SynchronizeSellerItemArConfigResponse struct {
BaseResponse // Common response fields
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
Model *ResponseDataModel `json:"model,omitempty"` //
}
type SystemService ¶
type SystemService interface {
// StartExportByDataset Open the download operation
// Path: /fbi/download/startExportByDataset
StartExportByDataset(ctx context.Context) (*StartExportByDatasetResponse, error)
}
type SystemServiceOp ¶
type SystemServiceOp[T any] struct { // contains filtered or unexported fields }
func (*SystemServiceOp[T]) StartExportByDataset ¶
func (s *SystemServiceOp[T]) StartExportByDataset(ctx context.Context) (*StartExportByDatasetResponse, error)
StartExportByDataset Open the download operation Path: /fbi/download/startExportByDataset
type TagDTO ¶ added in v0.1.2
type TagDTO struct {
Owner string `json:"owner"` // [Required]
GmtModified int64 `json:"gmtModified"` // [Required]
Creator string `json:"creator"` // [Required]
TagCode string `json:"tagCode"` // [Required]
Modifier string `json:"modifier"` // [Required]
Description string `json:"description"` // [Required]
GmtCreate int64 `json:"gmtCreate"` // [Required]
TagName string `json:"tagName"` // [Required]
ParentTagId int64 `json:"parentTagId"` // [Required]
IsDeleted string `json:"isDeleted"` // [Required]
TagPath string `json:"tagPath"` // [Required]
Id int64 `json:"id"` // [Required]
IsSetDeadline string `json:"isSetDeadline"` // [Required]
Class string `json:"class"` // [Required]
ParentTagCode string `json:"parentTagCode"` // [Required]
TagCategoryCode string `json:"tagCategoryCode"` // [Required]
EntityAttrVersion string `json:"entityAttrVersion"` // [Required]
}
type TradeOrderLines ¶ added in v0.1.2
type TradeOrderLines struct {
DeliveredTime FlexString `json:"deliveredTime"` // [Required]
TradeOrderLineId FlexString `json:"tradeOrderLineId"` // [Required]
DeliveryStatus FlexString `json:"deliveryStatus"` // [Required]
ReverseStatus FlexString `json:"reverseStatus"` // [Required]
}
type TradeOrders ¶ added in v0.1.2
type TradeOrders struct {
TradeOrderId FlexString `json:"tradeOrderId"` // [Required]
PaymentMethod FlexString `json:"paymentMethod"` // [Required]
PaidTime FlexString `json:"paidTime"` // [Required]
TradeOrderLines []TradeOrderLines `json:"tradeOrderLines"` // [Required]
}
type Transactions ¶ added in v0.1.2
type Transactions struct {
PmtReference string `json:"pmt_reference"` // [Required]
PayeeAccount *PayeeAccount `json:"payee_account"` // [Required]
Amount string `json:"amount"` // [Required]
SubType string `json:"sub_type"` // [Required]
TransactionNumber string `json:"transaction_number"` // [Required]
TransactionTime string `json:"transaction_time"` // [Required]
Currency string `json:"currency"` // [Required]
TrackingList []Tracking `json:"tracking_list"` // [Required]
Type string `json:"type"` // [Required]
Remarks string `json:"remarks"` // [Required]
}
type TryOnClothResponse ¶
type TryOnClothResponse struct {
BaseResponse // Common response fields
Result *ChangeFaceResponseDataResult `json:"result,omitempty"` //
}
type Update3PLStationResponse ¶
type Update3PLStationResponse struct {
BaseResponse // Common response fields
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMessage string `json:"errorMessage,omitempty"` //
Errors []ResponseDataErrors `json:"errors,omitempty"` //
Retryable string `json:"retryable,omitempty"` //
}
type UpdateAdgroupBatchResponse ¶
type UpdateAdgroupBatchResponse struct {
BaseResponse // Common response fields
AnalyseTraceId string `json:"analyseTraceId,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
Result string `json:"result,omitempty"` //
}
type UpdateCampaignResponse ¶
type UpdateCampaignResponse struct {
BaseResponse // Common response fields
AnalyseTraceId string `json:"analyseTraceId,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
Result interface{} `json:"result,omitempty"` //
}
type UpdateFlexiComboResponse ¶
type UpdateFlexiComboResponse struct {
BaseResponse // Common response fields
}
type UpdateFulfillmentSkuDecoupleResponse ¶
type UpdateFulfillmentSkuDecoupleResponse struct {
BaseResponse // Common response fields
Response string `json:"data"` // Response data
ErrorMessage string `json:"error_message,omitempty"` //
}
type UpdateGlobalProductAttributeResponse ¶
type UpdateGlobalProductAttributeResponse struct {
BaseResponse // Common response fields
ErrorDetail string `json:"error_detail,omitempty"` //
Errors string `json:"errors,omitempty"` //
}
type UpdateIcProductFailResult ¶ added in v0.1.2
type UpdateLastMileResponse ¶
type UpdateLastMileResponse struct {
BaseResponse // Common response fields
Response string `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
}
type UpdatePartnerUserIdResponse ¶
type UpdatePartnerUserIdResponse struct {
BaseResponse // Common response fields
Result *UpdatePartnerUserIdResponseDataResult `json:"result,omitempty"` //
}
type UpdatePartnerUserIdResponseDataResult ¶ added in v0.1.2
type UpdatePartnerUserIdResponseDataResult struct {
Success bool `json:"success"` // [Required]
Module interface{} `json:"module"` // [Required]
ErrorCode *ResponseDataResultErrorCode `json:"errorCode"` // [Required]
}
type UpdatePickupTimeSlotResponse ¶
type UpdatePickupTimeSlotResponse struct {
BaseResponse // Common response fields
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMessage string `json:"errorMessage,omitempty"` //
Errors []ResponseDataErrors `json:"errors,omitempty"` //
Retryable string `json:"retryable,omitempty"` //
}
type UpdatePriceQuantityResponse ¶
type UpdatePriceQuantityResponse struct {
BaseResponse // Common response fields
}
type UpdateProductRequest ¶
type UpdateProductRequest struct {
Payload string `json:"payload"` // [Required]
}
type UpdateProductResponse ¶
type UpdateProductResponse struct {
BaseResponse // Common response fields
Response UpdateProductResponseData `json:"data"` // Response data
}
type UpdateProductResponseData ¶
type UpdateProductResponseData struct {
ItemStatus string `json:"item_status"` // [Required]
Variation *ResponseDataVariation `json:"variation"` // [Required]
}
type UpdateProductStatusResponse ¶
type UpdateProductStatusResponse struct {
BaseResponse // Common response fields
Response UpdateProductStatusResponseData `json:"data"` // Response data
}
type UpdateProductStatusResponseData ¶ added in v0.1.2
type UpdateProductStatusResponseData struct {
UpdateIcProductResult string `json:"update_ic_product_result"` // [Required]
UpdateGspProductResult string `json:"update_gsp_product_result"` // [Required]
UpdateIcProductFailResultList []UpdateIcProductFailResult `json:"update_ic_product_fail_result_list"` // [Required]
}
type UpdateSellableQuantityResponse ¶
type UpdateSellableQuantityResponse struct {
BaseResponse // Common response fields
}
type UploadImageResponse ¶
type UploadImageResponse struct {
BaseResponse // Common response fields
Response UploadImageResponseData `json:"data"` // Response data
}
func UploadImageBytes ¶ added in v0.1.9
func UploadImageBytes[T any](ctx context.Context, client *Client[T], filename string, data []byte) (*UploadImageResponse, error)
UploadImageBytes uploads a single image from raw bytes to the Lazada site. Unlike the generated UploadImage method (which streams an io.Reader), this takes an in-memory []byte so callers can upload data they already hold. Declared here as a package function (not on the ProductService interface) so it survives regeneration of the generated files.
type UploadImageResponseData ¶ added in v0.1.2
type UploadImageResponseData struct {
Image *ResponseDataImage `json:"image"` // [Required]
}
type UploadVideoBlockResponse ¶
type UploadVideoBlockResponse struct {
BaseResponse // Common response fields
ETag string `json:"e_tag,omitempty"` //
ResultCode string `json:"result_code,omitempty"` //
ResultMessage string `json:"result_message,omitempty"` //
}
type UploadWaybillResponse ¶
type UploadWaybillResponse struct {
BaseResponse // Common response fields
ErrorMessage string `json:"error_message,omitempty"` //
}
type ValidateCageResponse ¶
type ValidateCageResponse struct {
BaseResponse // Common response fields
Response string `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type ValidateOTPResponse ¶
type ValidateOTPResponse struct {
BaseResponse // Common response fields
Response string `json:"data"` // Response data
ErrorCode string `json:"errorCode,omitempty"` //
ErrorMsg string `json:"errorMsg,omitempty"` //
TraceId string `json:"traceId,omitempty"` //
}
type Variation ¶ added in v0.1.2
type Variation struct {
Variation3 *Variation3 `json:"variation3"` // [Required]
Variation4 *Variation3 `json:"variation4"` // [Required]
Variation1 *Variation3 `json:"variation1"` // [Required]
Variation2 *Variation3 `json:"variation2"` // [Required]
}
type Variation1 ¶ added in v0.1.2
type Variation3 ¶ added in v0.1.2
Source Files
¶
- auth.go
- choice_customized.gen.go
- choice_customized.type.gen.go
- content.gen.go
- content.type.gen.go
- cross_boarder_product.gen.go
- cross_boarder_product.type.gen.go
- e_tickets.gen.go
- e_tickets.type.gen.go
- early_bird_price.gen.go
- early_bird_price.type.gen.go
- errors.gen.go
- fbl.gen.go
- fbl.type.gen.go
- finance.gen.go
- finance.type.gen.go
- first_mile_bigbagonly_for_cn.gen.go
- first_mile_bigbagonly_for_cn.type.gen.go
- flex.go
- flexicombo.gen.go
- flexicombo.type.gen.go
- free_shipping.gen.go
- free_shipping.type.gen.go
- fulfillment.gen.go
- fulfillment.type.gen.go
- golazada.go
- instant_messaging.gen.go
- instant_messaging.type.gen.go
- laz_like.gen.go
- laz_like.type.gen.go
- laz_live.gen.go
- laz_live.type.gen.go
- laz_pay.gen.go
- laz_pay.type.gen.go
- lazada_dg.gen.go
- lazada_dg.type.gen.go
- lazada_logistics.gen.go
- lazada_logistics.type.gen.go
- lazada_wallet_corporate_top_up.gen.go
- lazada_wallet_corporate_top_up.type.gen.go
- logger.go
- logistics.gen.go
- logistics.type.gen.go
- logistics_station.gen.go
- logistics_station.type.gen.go
- media_center.gen.go
- media_center.type.gen.go
- membership.gen.go
- membership.type.gen.go
- options.go
- order.gen.go
- order.type.gen.go
- product.gen.go
- product.type.gen.go
- product_review.gen.go
- product_review.type.gen.go
- ptr.go
- red_mart.gen.go
- red_mart.type.gen.go
- response.go
- return_and_refund.gen.go
- return_and_refund.type.gen.go
- seller.gen.go
- seller.type.gen.go
- seller_voucher.gen.go
- seller_voucher.type.gen.go
- service_market.gen.go
- service_market.type.gen.go
- sponsored_solutions.gen.go
- sponsored_solutions.type.gen.go
- store_decoration.gen.go
- store_decoration.type.gen.go
- system.gen.go
- system.type.gen.go
- upload.go