Documentation
¶
Index ¶
- Constants
- func Ptr[T any](v T) *T
- type AccessTokenResponse
- type ActivateFlexiComboResponse
- type AddAdgroupBatchResponse
- type AddFlexiComboProductsResponse
- type AddOrUpdatePickupStopResponse
- type AddSolutionResponse
- type AdjustSellableQuantityResponse
- type App
- type AuthService
- type AuthServiceOp
- type BaseResponse
- type BatchDeliverJitPurchaseOrderResponse
- type BatchQueryFollowStatusResponse
- type BatchUpdateSizeChartResponse
- type BuildFulfillmentSkuRelationResponse
- type CageValidationResponse
- type CancelFulfillmentOrderForMCLResponse
- type CancelInboundReservationResponse
- type CancelOutboundOrderResponse
- type CancelTaskResponse
- type CancelVasOrder4FBLResponse
- type CancelnBoundOrderResponse
- type ChangeFaceResponse
- type ChangeProductBackgroundResponse
- type CheckInboundReservationSlotResponse
- 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 ClickserverResponse
- type Client
- type CollectBenefitResponse
- type CompleteCreateVideoResponse
- type ConfirmCollectForDBSResponse
- type ConfirmDeliveryForDBSResponse
- type ConfirmInboundResponse
- type ConfirmParcelCollectionResponse
- type ConsultPaymentResponse
- 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 Create3PLStationResponse
- type CreateConsolidationServiceResponse
- type CreateCustomerAccountRelationshipByOTPResponse
- type CreateCustomerAccountRelationshipForExternalResponse
- type CreateEarlyBirdActivityV2Response
- type CreateFlexiComboResponse
- type CreateFulfillmentOrderForMCLResponse
- type CreateFulfillmentOrderForMCLV2PNFResponse
- type CreateFulfillmentSkuDecoupleResponse
- type CreateFulfillmentSkuForFBLResponse
- type CreateGlobalProductResponse
- type CreateInboundOrderResponse
- type CreateInboundReservationResponse
- type CreateOrUpdateCustomerWarehouseResponse
- type CreateOutBoundOrderResponse
- type CreateProductReinboundOrderForMCLResponse
- type CreateProductRequest
- type CreateProductResponse
- type CreateProductResponseData
- type CreateScannedParcelResponse
- 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 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 DeleteMerchantProductResponse
- type DeleteScannedParcelResponse
- type DeliverDigitalResponse
- type DigitalAlterOrderStatusResponse
- type DigitalCreateOrderResponse
- type DigitalQueryOrderResponse
- type DigitalServiceCdkCodeReceivedResponse
- type DirectTransferQueryResponse
- type DirectTransferRequestResponse
- type DopConfirmInboundResponse
- type DopCreateScannedParcelResponse
- type DopDeleteScannedParcelResponse
- type DopGetInboundedParcelResponse
- type DopGetScannedParcelResponse
- 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 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 EpisGetDeliveryOptionsResponse
- type EpisPackageCancellationResponse
- type EpisPackageCancellationV3Response
- type EpisPackageConsignmentResponse
- type EpisPackageConsignmentV2Response
- type EpisPackageCreationResponse
- type EpisPackageInfoUpdateResponse
- type EpisPackagePrintAwbResponse
- type EpisPackageReAttemptResponse
- type EpisPackageReadyToBeShippedResponse
- type EpisUploadAwbFulfillmentResponse
- type EpisXspaceCreateResponse
- type EpisXspaceGetDetailResponse
- type EpisXspaceQueryResponse
- type EpisXspaceRateTicketResponse
- type EstimateShippingFeeResponse
- 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 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 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 FreeShippingCreateResponse
- type FreeShippingDeactivateResponse
- type FreeShippingDeleteSelectedProductSKUResponse
- type FreeShippingDeliveryOptionsQueryResponse
- type FreeShippingGetResponse
- type FreeShippingListResponse
- type FreeShippingRegionsQueryResponse
- type FreeShippingSelectedProductListResponse
- 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) (*PackResponse, error)
- func (s *FulfillmentServiceOp[T]) PackageStatusUpdateForDBS(ctx context.Context) (*PackageStatusUpdateForDBSResponse, error)
- func (s *FulfillmentServiceOp[T]) PrintAWB(ctx context.Context) (*PrintAWBResponse, error)
- func (s *FulfillmentServiceOp[T]) ReadyToShip(ctx context.Context) (*ReadyToShipResponse, error)
- func (s *FulfillmentServiceOp[T]) RecreatePackage(ctx context.Context) (*RecreatePackageResponse, error)
- type GetAccountSignInfoResponse
- type GetAutoTopUpOptionOneConfigResponse
- type GetBrandByPagesResponse
- type GetCampaignCountResponse
- type GetCampaignResponse
- type GetCategoryAttributesResponse
- type GetCategorySuggestionResponse
- type GetCategoryTreeResponse
- type GetChannelStocksForMCLResponse
- type GetChannelcodeByFirstMileNoResponse
- type GetChoiceProductItemResponse
- type GetChoiceProductsResponse
- type GetChoiceSellerResponse
- type GetChoiceSkuItemRelationBySkuResponse
- type GetCountryInfoResponse
- type GetCpScheduledPuParcelResponse
- type GetDiscoveryReportAdgroupResponse
- type GetDiscoveryReportAudienceResponse
- type GetDiscoveryReportCampaignResponse
- type GetDiscoveryReportKeywordResponse
- type GetDocumentResponse
- type GetFlexiComboDetailsResponse
- type GetFulfillmentProductDetailResponse
- type GetFulfillmentSkuListForMCLResponse
- type GetFulfillmentSkuRelationByScItemResponse
- type GetFulfillmentSkuRelationBySkuResponse
- type GetFulfillmentSkuRelationsByScItemsResponse
- type GetFulfillmentSkuRelationsBySkusResponse
- type GetGlobalProductExtensionResponse
- type GetGlobalProductStatusResponse
- type GetHistoryReviewIdListResponse
- type GetIcpOrderFileResponse
- type GetInboundOrderDetailResponse
- type GetInboundOrderListResponse
- type GetInboundReservationFileResponse
- type GetInboundedParcelResponse
- type GetInventoryChangedSKUResponse
- type GetInventoryOccupyDetailsResponse
- type GetInventoryOperateLogResponse
- type GetLatestSignInfoResponse
- type GetLazadaBigbagPDFLableResponse
- type GetLinkMember1Response
- type GetLinkMemberList1Response
- type GetLinkMemberListResponse
- type GetLinkMemberResponse
- type GetListAccessStationResponse
- type GetMessagesResponse
- type GetMetaDataResponse
- type GetMultipleOrderItemsResponse
- type GetNextCascadePropResponse
- type GetOVOOrdersResponse
- type GetOrderItemsFromBarCodeResponse
- type GetOrderItemsResponse
- type GetOrderResponse
- type GetOrderTraceResponse
- type GetOrdersResponse
- type GetOutboundOrderDetailResponse
- type GetOutboundOrderListResponse
- type GetPayoutStatusResponse
- type GetPickUpStoreListResponse
- type GetPlatformProductsV2Response
- type GetPreQcRulesResponse
- type GetProductBatchListResponse
- type GetProductContentScoreResponse
- type GetProductItemRequest
- type GetProductItemResponse
- type GetProductItemResponseData
- type GetProductsRequest
- type GetProductsResponse
- type GetProductsResponseData
- type GetQCAlertProductsResponse
- type GetRecommendPriceResponse
- type GetReportCampaignOnFIrstSlotResponse
- type GetReportOverviewMetricResponse
- type GetReportOverviewResponse
- type GetResponseResponse
- type GetReverseOrderDetailResponse
- type GetReverseOrderHistoryListResponse
- type GetReverseOrderReasonListResponse
- type GetReverseOrdersForSellerResponse
- type GetReviewListByIdListResponse
- type GetScannedParcelResponse
- type GetSellerItemLimitResponse
- type GetSellerMetricsByIdResponse
- type GetSellerPerformanceResponse
- type GetSellerRegisterInfoResponse
- type GetSellerResponse
- type GetSessionDetailResponse
- type GetSessionListResponse
- type GetShipmentProviderResponse
- type GetShipperInfoResponse
- type GetShippingFeeResponse
- type GetSizeChartTemplateResponse
- type GetStockRuleResponse
- type GetStoreCustomPageResponse
- type GetSubAddressResponse
- type GetSubscriptionToFusionResponse
- type GetTaskStatusResponse
- type GetUnfilledAttributeItemResponse
- type GetUnfilledAttributeResponse
- type GetUpgradableGlobalPlusProductListResponse
- type GetVasOrderByNo4FBLResponse
- type GetVideoQuotaResponse
- type GetVideoResponse
- type GetWarehouseBySellerIdResponse
- type GetWarehouseListForMCLResponse
- type GetWarehouseStockResponse
- type GetWarehouseStockV3Response
- type GiftCodeQueryResponse
- type GiftCodeRequestResponse
- type GlobalEticketMerchantMaAvailableResponse
- type GlobalEticketMerchantMaConsumeResponse
- type GlobalEticketMerchantMaFailsendResponse
- type GlobalEticketMerchantMaQueryResponse
- type GlobalEticketMerchantMaQueryTbMaResponse
- type GlobalEticketMerchantMaSendResponse
- type HighlightProductResponse
- type InitCreateVideoResponse
- type InitReverseOrderCancelDecideResponse
- type InitReverseOrderCancelResponse
- 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 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 LazadaBigbagCollectionPointsResponse
- type LazadaBigbagCommitResponse
- type LazadaBigbagUpdateResponse
- 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 ListCategoryResponse
- type ListFlexiComboProductsResponse
- type ListFlexiComboResponse
- type ListIcpWarehouseResponse
- type ListKeywordByAdgroupResponse
- type ListKeywordByItemResponse
- 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 McnContentCreateResponse
- type McnContentInitCreateVideoResponse
- type McnContentListCategoryResponse
- type McnContentPropertyTagListResponse
- type McnContentReplySchedulePublishResponse
- type McnContentUploadImageResponse
- type McnContentUploadVideoBlockResponse
- type McnProductValidatorResponse
- 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 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 MessageRecallResponse
- type MigrateImageResponse
- type MigrateImagesResponse
- type ModifyAutoTopUpOptionOneConfigResponse
- 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 OrderCancelValidateResponse
- type OrderService
- type OrderServiceOp
- func (s *OrderServiceOp[T]) GetDocument(ctx context.Context) (*GetDocumentResponse, error)
- func (s *OrderServiceOp[T]) GetMultipleOrderItems(ctx context.Context) (*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) (*GetOrderItemsResponse, error)
- func (s *OrderServiceOp[T]) GetOrders(ctx context.Context) (*GetOrdersResponse, error)
- func (s *OrderServiceOp[T]) OrderCancelValidate(ctx context.Context) (*OrderCancelValidateResponse, error)
- func (s *OrderServiceOp[T]) SetInvoiceNumber(ctx context.Context) (*SetInvoiceNumberResponse, error)
- type PackResponse
- type PackageJitPurchaseOrderResponse
- type PackageStatusUpdateForDBSResponse
- type PartnerLinkResponse
- type PartnerTransactionResponse
- type PartnerUnlinkResponse
- type PartnerUpdateResponse
- type PaymentBindingResponse
- type PrintAWBResponse
- type PrintJitPurchaseOrderAndItemResponse
- type PrintPickuoOrderResponse
- type ProductCheckResponse
- type ProductImageMatchResponse
- 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) (*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) (*GetBrandByPagesResponse, error)
- func (s *ProductServiceOp[T]) GetCategoryAttributes(ctx context.Context) (*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) (*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) (*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 QueryAccountTransactionsResponse
- type QueryAddonOrderResponse
- type QueryAddressInformaitonResponse
- type QueryBenefitResponse
- type QueryBuyboxHuntingInfoResponse
- type QueryContentReviewRecordsResponse
- type QueryFulfillmentOrderForMCLResponse
- type QueryInboundBatchResponse
- type QueryInboundReservationOrderResponse
- type QueryLazadaBigbagInfoResponse
- type QueryListJitPurchaseOrderResponse
- type QueryListPurchaseItemResponse
- type QueryLogisticsFeeDetailResponse
- type QueryPickupOrderResponse
- type QueryReverseOrderForMCLResponse
- type QueryTransactionDetailsResponse
- type QueryWarehouseDetailInfoBySellerIdResponse
- type ReadSessionResponse
- type ReadyToShipResponse
- 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 RefreshAccessTokenResponse
- type RemoveFulfillmentSkuRelationResponse
- type RemoveProductResponse
- type RemoveSkuResponse
- type RemoveVideoResponse
- type ResponseError
- 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) (*GetReverseOrdersForSellerResponse, error)
- func (s *ReturnAndRefundServiceOp[T]) InitReverseOrderCancel(ctx context.Context) (*InitReverseOrderCancelResponse, error)
- func (s *ReturnAndRefundServiceOp[T]) InitReverseOrderCancelDecide(ctx context.Context) (*InitReverseOrderCancelDecideResponse, error)
- func (s *ReturnAndRefundServiceOp[T]) ReverseOrderOnlyRefundDecide(ctx context.Context) (*ReverseOrderOnlyRefundDecideResponse, error)
- func (s *ReturnAndRefundServiceOp[T]) ReverseOrderReturnUpdate(ctx context.Context) (*ReverseOrderReturnUpdateResponse, error)
- type ReturnCancellationResponse
- type ReturnOrderCreationResponse
- type ReverseOrderOnlyRefundDecideResponse
- type ReverseOrderReturnUpdateResponse
- type RssGetOnePickupJobResponse
- type RssGetPickupJobsResponse
- type RssGetPickupLocationsResponse
- type RssGetProductResponse
- type RssGetProductsResponse
- type RssGetStockLotResponse
- type RssGetStockLotsResponse
- type RssUpdateStockLotResponse
- type SaveSellerWarehouseInfoResponse
- type ScanParcelResponse
- type SearchAdgroupListResponse
- type SearchCampaignListResponse
- type SearchCustomerReturnParcelResponse
- type SearchKeywordResponse
- type SearchProductWithPageResponse
- type SellerCenterMsgListResponse
- type SellerFieldVerifyResponse
- 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 SellerVoucherCreateResponse
- type SellerVoucherDeactivateResponse
- type SellerVoucherDetailQueryResponse
- type SellerVoucherListResponse
- type SellerVoucherSelectedProductListResponse
- 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 SemiProductUpgradeResponse
- type SendMessageResponse
- type ServiceMarketAppKeyOrderQueryResponse
- type ServiceMarketAppKeySubQueryResponse
- type ServiceMarketService
- type ServiceMarketServiceOp
- type SetImagesResponse
- type SetInvoiceNumberResponse
- type SetStockRuleResponse
- type SignResponse
- type Sku
- type Skus
- 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 StationDopScanResponse
- type StoreDecorationService
- type StoreDecorationServiceOp
- type SubmitSellerReplyResponse
- type SynchronizeSellerItemArConfigResponse
- type SystemService
- type SystemServiceOp
- type TryOnClothResponse
- type Update3PLStationResponse
- type UpdateAdgroupBatchResponse
- type UpdateCampaignResponse
- type UpdateFlexiComboResponse
- type UpdateFulfillmentSkuDecoupleResponse
- type UpdateGlobalProductAttributeResponse
- type UpdateLastMileResponse
- type UpdatePartnerUserIdResponse
- type UpdatePickupTimeSlotResponse
- type UpdatePriceQuantityResponse
- type UpdateProductRequest
- type UpdateProductResponse
- type UpdateProductResponseData
- type UpdateProductStatusResponse
- type UpdateSellableQuantityResponse
- type UploadImageResponse
- type UploadVideoBlockResponse
- type UploadWaybillResponse
- type ValidateCageResponse
- type ValidateOTPResponse
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 int `json:"expire_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
}
type AddFlexiComboProductsResponse ¶
type AddFlexiComboProductsResponse struct {
BaseResponse // Common response fields
}
type AddOrUpdatePickupStopResponse ¶
type AddOrUpdatePickupStopResponse struct {
BaseResponse // Common response fields
}
type AddSolutionResponse ¶
type AddSolutionResponse struct {
BaseResponse // Common response fields
}
type AdjustSellableQuantityResponse ¶
type AdjustSellableQuantityResponse struct {
BaseResponse // Common response fields
}
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 BaseResponse ¶
type BatchDeliverJitPurchaseOrderResponse ¶
type BatchDeliverJitPurchaseOrderResponse struct {
BaseResponse // Common response fields
}
type BatchQueryFollowStatusResponse ¶
type BatchQueryFollowStatusResponse struct {
BaseResponse // Common response fields
}
type BatchUpdateSizeChartResponse ¶
type BatchUpdateSizeChartResponse struct {
BaseResponse // Common response fields
}
type BuildFulfillmentSkuRelationResponse ¶
type BuildFulfillmentSkuRelationResponse struct {
BaseResponse // Common response fields
}
type CageValidationResponse ¶
type CageValidationResponse struct {
BaseResponse // Common response fields
}
type CancelFulfillmentOrderForMCLResponse ¶
type CancelFulfillmentOrderForMCLResponse struct {
BaseResponse // Common response fields
}
type CancelInboundReservationResponse ¶
type CancelInboundReservationResponse struct {
BaseResponse // Common response fields
}
type CancelOutboundOrderResponse ¶
type CancelOutboundOrderResponse struct {
BaseResponse // Common response fields
}
type CancelTaskResponse ¶
type CancelTaskResponse struct {
BaseResponse // Common response fields
}
type CancelVasOrder4FBLResponse ¶
type CancelVasOrder4FBLResponse struct {
BaseResponse // Common response fields
}
type CancelnBoundOrderResponse ¶
type CancelnBoundOrderResponse struct {
BaseResponse // Common response fields
}
type ChangeFaceResponse ¶
type ChangeFaceResponse struct {
BaseResponse // Common response fields
}
type ChangeProductBackgroundResponse ¶
type ChangeProductBackgroundResponse struct {
BaseResponse // Common response fields
}
type CheckInboundReservationSlotResponse ¶
type CheckInboundReservationSlotResponse struct {
BaseResponse // Common response fields
}
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 ClickserverResponse ¶
type ClickserverResponse struct {
BaseResponse // Common response fields
}
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
}
type CompleteCreateVideoResponse ¶
type CompleteCreateVideoResponse struct {
BaseResponse // Common response fields
}
type ConfirmCollectForDBSResponse ¶
type ConfirmCollectForDBSResponse struct {
BaseResponse // Common response fields
}
type ConfirmDeliveryForDBSResponse ¶
type ConfirmDeliveryForDBSResponse struct {
BaseResponse // Common response fields
}
type ConfirmInboundResponse ¶
type ConfirmInboundResponse struct {
BaseResponse // Common response fields
}
type ConfirmParcelCollectionResponse ¶
type ConfirmParcelCollectionResponse struct {
BaseResponse // Common response fields
}
type ConsultPaymentResponse ¶
type ConsultPaymentResponse struct {
BaseResponse // Common response fields
}
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 Create3PLStationResponse ¶
type Create3PLStationResponse struct {
BaseResponse // Common response fields
}
type CreateConsolidationServiceResponse ¶
type CreateConsolidationServiceResponse struct {
BaseResponse // Common response fields
}
type CreateCustomerAccountRelationshipByOTPResponse ¶
type CreateCustomerAccountRelationshipByOTPResponse struct {
BaseResponse // Common response fields
}
type CreateCustomerAccountRelationshipForExternalResponse ¶
type CreateCustomerAccountRelationshipForExternalResponse struct {
BaseResponse // Common response fields
}
type CreateEarlyBirdActivityV2Response ¶
type CreateEarlyBirdActivityV2Response struct {
BaseResponse // Common response fields
}
type CreateFlexiComboResponse ¶
type CreateFlexiComboResponse struct {
BaseResponse // Common response fields
}
type CreateFulfillmentOrderForMCLResponse ¶
type CreateFulfillmentOrderForMCLResponse struct {
BaseResponse // Common response fields
}
type CreateFulfillmentOrderForMCLV2PNFResponse ¶
type CreateFulfillmentOrderForMCLV2PNFResponse struct {
BaseResponse // Common response fields
}
type CreateFulfillmentSkuDecoupleResponse ¶
type CreateFulfillmentSkuDecoupleResponse struct {
BaseResponse // Common response fields
}
type CreateFulfillmentSkuForFBLResponse ¶
type CreateFulfillmentSkuForFBLResponse struct {
BaseResponse // Common response fields
}
type CreateGlobalProductResponse ¶
type CreateGlobalProductResponse struct {
BaseResponse // Common response fields
}
type CreateInboundOrderResponse ¶
type CreateInboundOrderResponse struct {
BaseResponse // Common response fields
}
type CreateInboundReservationResponse ¶
type CreateInboundReservationResponse struct {
BaseResponse // Common response fields
}
type CreateOrUpdateCustomerWarehouseResponse ¶
type CreateOrUpdateCustomerWarehouseResponse struct {
BaseResponse // Common response fields
}
type CreateOutBoundOrderResponse ¶
type CreateOutBoundOrderResponse struct {
BaseResponse // Common response fields
}
type CreateProductReinboundOrderForMCLResponse ¶
type CreateProductReinboundOrderForMCLResponse struct {
BaseResponse // Common response fields
}
type CreateProductRequest ¶
type CreateProductRequest struct {
PrimaryCategoryId *int64 `json:"primary_category_id,omitempty"` // [Optional]
Attributes *string `json:"attributes,omitempty"` // [Optional]
Skus *string `json:"skus,omitempty"` // [Optional]
Name *string `json:"name,omitempty"` // [Optional]
Description *string `json:"description,omitempty"` // [Optional]
ShortDescription *string `json:"short_description,omitempty"` // [Optional]
Images *string `json:"images,omitempty"` // [Optional]
Brand *int64 `json:"brand,omitempty"` // [Optional]
Warranty *string `json:"warranty,omitempty"` // [Optional]
WarrantyType *string `json:"warranty_type,omitempty"` // [Optional]
SizeGuide *string `json:"size_guide,omitempty"` // [Optional]
Source *string `json:"source,omitempty"` // [Optional]
SaleStartDate *string `json:"sale_start_date,omitempty"` // [Optional]
SaleEndDate *string `json:"sale_end_date,omitempty"` // [Optional]
PackageWeight *string `json:"package_weight,omitempty"` // [Optional]
PackageLength *string `json:"package_length,omitempty"` // [Optional]
PackageWidth *string `json:"package_width,omitempty"` // [Optional]
PackageHeight *string `json:"package_height,omitempty"` // [Optional]
}
type CreateProductResponse ¶
type CreateProductResponse struct {
BaseResponse // Common response fields
Response CreateProductResponseData `json:"data"` // Response data
}
type CreateScannedParcelResponse ¶
type CreateScannedParcelResponse struct {
BaseResponse // Common response fields
}
type CreateSubscriptionToFusionResponse ¶
type CreateSubscriptionToFusionResponse struct {
BaseResponse // Common response fields
}
type CreateVasOrder4FBLResponse ¶
type CreateVasOrder4FBLResponse struct {
BaseResponse // Common response fields
}
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
}
type DGUtilityPreGetPaymentStatusResponse ¶
type DGUtilityPreGetPaymentStatusResponse struct {
BaseResponse // Common response fields
}
type DGUtilityPreUpdateFulfillemtStatusResponse ¶
type DGUtilityPreUpdateFulfillemtStatusResponse struct {
BaseResponse // Common response fields
}
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
}
type DeleteCampaignResponse ¶
type DeleteCampaignResponse struct {
BaseResponse // Common response fields
}
type DeleteFlexiComboProductsResponse ¶
type DeleteFlexiComboProductsResponse struct {
BaseResponse // Common response fields
}
type DeleteMerchantProductResponse ¶
type DeleteMerchantProductResponse struct {
BaseResponse // Common response fields
}
type DeleteScannedParcelResponse ¶
type DeleteScannedParcelResponse struct {
BaseResponse // Common response fields
}
type DeliverDigitalResponse ¶
type DeliverDigitalResponse struct {
BaseResponse // Common response fields
}
type DigitalAlterOrderStatusResponse ¶
type DigitalAlterOrderStatusResponse struct {
BaseResponse // Common response fields
}
type DigitalCreateOrderResponse ¶
type DigitalCreateOrderResponse struct {
BaseResponse // Common response fields
}
type DigitalQueryOrderResponse ¶
type DigitalQueryOrderResponse struct {
BaseResponse // Common response fields
}
type DigitalServiceCdkCodeReceivedResponse ¶
type DigitalServiceCdkCodeReceivedResponse struct {
BaseResponse // Common response fields
}
type DirectTransferQueryResponse ¶
type DirectTransferQueryResponse struct {
BaseResponse // Common response fields
}
type DirectTransferRequestResponse ¶
type DirectTransferRequestResponse struct {
BaseResponse // Common response fields
}
type DopConfirmInboundResponse ¶
type DopConfirmInboundResponse struct {
BaseResponse // Common response fields
}
type DopCreateScannedParcelResponse ¶
type DopCreateScannedParcelResponse struct {
BaseResponse // Common response fields
}
type DopDeleteScannedParcelResponse ¶
type DopDeleteScannedParcelResponse struct {
BaseResponse // Common response fields
}
type DopGetInboundedParcelResponse ¶
type DopGetInboundedParcelResponse struct {
BaseResponse // Common response fields
}
type DopGetScannedParcelResponse ¶
type DopGetScannedParcelResponse struct {
BaseResponse // Common response fields
}
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
}
type EarlyBirdActivityDeactivateSkusV2Response ¶
type EarlyBirdActivityDeactivateSkusV2Response struct {
BaseResponse // Common response fields
}
type EarlyBirdActivityIsWhitelistSellerResponse ¶
type EarlyBirdActivityIsWhitelistSellerResponse struct {
BaseResponse // Common response fields
}
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
}
type EpisGetDeliveryOptionsResponse ¶
type EpisGetDeliveryOptionsResponse struct {
BaseResponse // Common response fields
}
type EpisPackageCancellationResponse ¶
type EpisPackageCancellationResponse struct {
BaseResponse // Common response fields
}
type EpisPackageCancellationV3Response ¶
type EpisPackageCancellationV3Response struct {
BaseResponse // Common response fields
}
type EpisPackageConsignmentResponse ¶
type EpisPackageConsignmentResponse struct {
BaseResponse // Common response fields
}
type EpisPackageConsignmentV2Response ¶
type EpisPackageConsignmentV2Response struct {
BaseResponse // Common response fields
}
type EpisPackageCreationResponse ¶
type EpisPackageCreationResponse struct {
BaseResponse // Common response fields
}
type EpisPackageInfoUpdateResponse ¶
type EpisPackageInfoUpdateResponse struct {
BaseResponse // Common response fields
}
type EpisPackagePrintAwbResponse ¶
type EpisPackagePrintAwbResponse struct {
BaseResponse // Common response fields
}
type EpisPackageReAttemptResponse ¶
type EpisPackageReAttemptResponse struct {
BaseResponse // Common response fields
}
type EpisPackageReadyToBeShippedResponse ¶
type EpisPackageReadyToBeShippedResponse struct {
BaseResponse // Common response fields
}
type EpisUploadAwbFulfillmentResponse ¶
type EpisUploadAwbFulfillmentResponse struct {
BaseResponse // Common response fields
}
type EpisXspaceCreateResponse ¶
type EpisXspaceCreateResponse struct {
BaseResponse // Common response fields
}
type EpisXspaceGetDetailResponse ¶
type EpisXspaceGetDetailResponse struct {
BaseResponse // Common response fields
}
type EpisXspaceQueryResponse ¶
type EpisXspaceQueryResponse struct {
BaseResponse // Common response fields
}
type EpisXspaceRateTicketResponse ¶
type EpisXspaceRateTicketResponse struct {
BaseResponse // Common response fields
}
type EstimateShippingFeeResponse ¶
type EstimateShippingFeeResponse struct {
BaseResponse // Common response fields
}
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
}
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
}
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
}
type FreeShippingCreateResponse ¶
type FreeShippingCreateResponse struct {
BaseResponse // Common response fields
}
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
}
type FreeShippingGetResponse ¶
type FreeShippingGetResponse struct {
BaseResponse // Common response fields
}
type FreeShippingListResponse ¶
type FreeShippingListResponse struct {
BaseResponse // Common response fields
}
type FreeShippingRegionsQueryResponse ¶
type FreeShippingRegionsQueryResponse struct {
BaseResponse // Common response fields
}
type FreeShippingSelectedProductListResponse ¶
type FreeShippingSelectedProductListResponse struct {
BaseResponse // Common response fields
}
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
}
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/fulfill/pack
Pack(ctx context.Context) (*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) (*PrintAWBResponse, error)
// ReadyToShip Use this API to mark an order item as being ready to ship.
// Path: /order/package/rts
ReadyToShip(ctx context.Context) (*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) (*PackResponse, error)
Pack Use this API to mark an order item as being packed. Path: /order/fulfill/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) (*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) (*ReadyToShipResponse, error)
ReadyToShip Use this API to mark an order item as being ready to ship. Path: /order/package/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
}
type GetAutoTopUpOptionOneConfigResponse ¶
type GetAutoTopUpOptionOneConfigResponse struct {
BaseResponse // Common response fields
}
type GetBrandByPagesResponse ¶
type GetBrandByPagesResponse struct {
BaseResponse // Common response fields
}
type GetCampaignCountResponse ¶
type GetCampaignCountResponse struct {
BaseResponse // Common response fields
}
type GetCampaignResponse ¶
type GetCampaignResponse struct {
BaseResponse // Common response fields
}
type GetCategoryAttributesResponse ¶
type GetCategoryAttributesResponse struct {
BaseResponse // Common response fields
}
type GetCategorySuggestionResponse ¶
type GetCategorySuggestionResponse struct {
BaseResponse // Common response fields
}
type GetCategoryTreeResponse ¶
type GetCategoryTreeResponse struct {
BaseResponse // Common response fields
}
type GetChannelStocksForMCLResponse ¶
type GetChannelStocksForMCLResponse struct {
BaseResponse // Common response fields
}
type GetChannelcodeByFirstMileNoResponse ¶
type GetChannelcodeByFirstMileNoResponse struct {
BaseResponse // Common response fields
}
type GetChoiceProductItemResponse ¶
type GetChoiceProductItemResponse struct {
BaseResponse // Common response fields
}
type GetChoiceProductsResponse ¶
type GetChoiceProductsResponse struct {
BaseResponse // Common response fields
}
type GetChoiceSellerResponse ¶
type GetChoiceSellerResponse struct {
BaseResponse // Common response fields
}
type GetChoiceSkuItemRelationBySkuResponse ¶
type GetChoiceSkuItemRelationBySkuResponse struct {
BaseResponse // Common response fields
}
type GetCountryInfoResponse ¶
type GetCountryInfoResponse struct {
BaseResponse // Common response fields
}
type GetCpScheduledPuParcelResponse ¶
type GetCpScheduledPuParcelResponse struct {
BaseResponse // Common response fields
}
type GetDiscoveryReportAdgroupResponse ¶
type GetDiscoveryReportAdgroupResponse struct {
BaseResponse // Common response fields
}
type GetDiscoveryReportAudienceResponse ¶
type GetDiscoveryReportAudienceResponse struct {
BaseResponse // Common response fields
}
type GetDiscoveryReportCampaignResponse ¶
type GetDiscoveryReportCampaignResponse struct {
BaseResponse // Common response fields
}
type GetDiscoveryReportKeywordResponse ¶
type GetDiscoveryReportKeywordResponse struct {
BaseResponse // Common response fields
}
type GetDocumentResponse ¶
type GetDocumentResponse struct {
BaseResponse // Common response fields
}
type GetFlexiComboDetailsResponse ¶
type GetFlexiComboDetailsResponse struct {
BaseResponse // Common response fields
}
type GetFulfillmentProductDetailResponse ¶
type GetFulfillmentProductDetailResponse struct {
BaseResponse // Common response fields
}
type GetFulfillmentSkuListForMCLResponse ¶
type GetFulfillmentSkuListForMCLResponse struct {
BaseResponse // Common response fields
}
type GetFulfillmentSkuRelationByScItemResponse ¶
type GetFulfillmentSkuRelationByScItemResponse struct {
BaseResponse // Common response fields
}
type GetFulfillmentSkuRelationBySkuResponse ¶
type GetFulfillmentSkuRelationBySkuResponse struct {
BaseResponse // Common response fields
}
type GetFulfillmentSkuRelationsByScItemsResponse ¶
type GetFulfillmentSkuRelationsByScItemsResponse struct {
BaseResponse // Common response fields
}
type GetFulfillmentSkuRelationsBySkusResponse ¶
type GetFulfillmentSkuRelationsBySkusResponse struct {
BaseResponse // Common response fields
}
type GetGlobalProductExtensionResponse ¶
type GetGlobalProductExtensionResponse struct {
BaseResponse // Common response fields
}
type GetGlobalProductStatusResponse ¶
type GetGlobalProductStatusResponse struct {
BaseResponse // Common response fields
}
type GetHistoryReviewIdListResponse ¶
type GetHistoryReviewIdListResponse struct {
BaseResponse // Common response fields
}
type GetIcpOrderFileResponse ¶
type GetIcpOrderFileResponse struct {
BaseResponse // Common response fields
}
type GetInboundOrderDetailResponse ¶
type GetInboundOrderDetailResponse struct {
BaseResponse // Common response fields
}
type GetInboundOrderListResponse ¶
type GetInboundOrderListResponse struct {
BaseResponse // Common response fields
}
type GetInboundReservationFileResponse ¶
type GetInboundReservationFileResponse struct {
BaseResponse // Common response fields
}
type GetInboundedParcelResponse ¶
type GetInboundedParcelResponse struct {
BaseResponse // Common response fields
}
type GetInventoryChangedSKUResponse ¶
type GetInventoryChangedSKUResponse struct {
BaseResponse // Common response fields
}
type GetInventoryOccupyDetailsResponse ¶
type GetInventoryOccupyDetailsResponse struct {
BaseResponse // Common response fields
}
type GetInventoryOperateLogResponse ¶
type GetInventoryOperateLogResponse struct {
BaseResponse // Common response fields
}
type GetLatestSignInfoResponse ¶
type GetLatestSignInfoResponse struct {
BaseResponse // Common response fields
}
type GetLazadaBigbagPDFLableResponse ¶
type GetLazadaBigbagPDFLableResponse struct {
BaseResponse // Common response fields
}
type GetLinkMember1Response ¶
type GetLinkMember1Response struct {
BaseResponse // Common response fields
}
type GetLinkMemberList1Response ¶
type GetLinkMemberList1Response struct {
BaseResponse // Common response fields
}
type GetLinkMemberListResponse ¶
type GetLinkMemberListResponse struct {
BaseResponse // Common response fields
}
type GetLinkMemberResponse ¶
type GetLinkMemberResponse struct {
BaseResponse // Common response fields
}
type GetListAccessStationResponse ¶
type GetListAccessStationResponse struct {
BaseResponse // Common response fields
}
type GetMessagesResponse ¶
type GetMessagesResponse struct {
BaseResponse // Common response fields
}
type GetMetaDataResponse ¶
type GetMetaDataResponse struct {
BaseResponse // Common response fields
}
type GetMultipleOrderItemsResponse ¶
type GetMultipleOrderItemsResponse struct {
BaseResponse // Common response fields
}
type GetNextCascadePropResponse ¶
type GetNextCascadePropResponse struct {
BaseResponse // Common response fields
}
type GetOVOOrdersResponse ¶
type GetOVOOrdersResponse struct {
BaseResponse // Common response fields
}
type GetOrderItemsFromBarCodeResponse ¶
type GetOrderItemsFromBarCodeResponse struct {
BaseResponse // Common response fields
}
type GetOrderItemsResponse ¶
type GetOrderItemsResponse struct {
BaseResponse // Common response fields
}
type GetOrderResponse ¶
type GetOrderResponse struct {
BaseResponse // Common response fields
}
type GetOrderTraceResponse ¶
type GetOrderTraceResponse struct {
BaseResponse // Common response fields
}
type GetOrdersResponse ¶
type GetOrdersResponse struct {
BaseResponse // Common response fields
}
type GetOutboundOrderDetailResponse ¶
type GetOutboundOrderDetailResponse struct {
BaseResponse // Common response fields
}
type GetOutboundOrderListResponse ¶
type GetOutboundOrderListResponse struct {
BaseResponse // Common response fields
}
type GetPayoutStatusResponse ¶
type GetPayoutStatusResponse struct {
BaseResponse // Common response fields
}
type GetPickUpStoreListResponse ¶
type GetPickUpStoreListResponse struct {
BaseResponse // Common response fields
}
type GetPlatformProductsV2Response ¶
type GetPlatformProductsV2Response struct {
BaseResponse // Common response fields
}
type GetPreQcRulesResponse ¶
type GetPreQcRulesResponse struct {
BaseResponse // Common response fields
}
type GetProductBatchListResponse ¶
type GetProductBatchListResponse struct {
BaseResponse // Common response fields
}
type GetProductContentScoreResponse ¶
type GetProductContentScoreResponse struct {
BaseResponse // Common response fields
}
type GetProductItemRequest ¶
type GetProductItemResponse ¶
type GetProductItemResponse struct {
BaseResponse // Common response fields
Response GetProductItemResponseData `json:"data"` // Response data
}
type GetProductItemResponseData ¶
type GetProductItemResponseData struct {
ItemId *int64 `json:"item_id,omitempty"` // [Optional]
PrimaryCategory *int64 `json:"primary_category,omitempty"` // [Optional]
Name *string `json:"name,omitempty"` // [Optional]
Description *string `json:"description,omitempty"` // [Optional]
ShortDescription *string `json:"short_description,omitempty"` // [Optional]
Images *string `json:"images,omitempty"` // [Optional]
Attributes *string `json:"attributes,omitempty"` // [Optional]
Skus []Skus `json:"skus,omitempty"` // [Optional]
}
type GetProductsRequest ¶
type GetProductsRequest struct {
Filter *string `json:"filter,omitempty" url:"filter,omitempty"` // [Optional]
Limit *int64 `json:"limit,omitempty" url:"limit,omitempty"` // [Optional]
Offset *int64 `json:"offset,omitempty" url:"offset,omitempty"` // [Optional]
CreatedAfter *string `json:"created_after,omitempty" url:"created_after,omitempty"` // [Optional]
CreatedBefore *string `json:"created_before,omitempty" url:"created_before,omitempty"` // [Optional]
UpdateAfter *string `json:"update_after,omitempty" url:"update_after,omitempty"` // [Optional]
UpdateBefore *string `json:"update_before,omitempty" url:"update_before,omitempty"` // [Optional]
Search *string `json:"search,omitempty" url:"search,omitempty"` // [Optional]
}
type GetProductsResponse ¶
type GetProductsResponse struct {
BaseResponse // Common response fields
Response GetProductsResponseData `json:"data"` // Response data
}
type GetProductsResponseData ¶
type GetQCAlertProductsResponse ¶
type GetQCAlertProductsResponse struct {
BaseResponse // Common response fields
}
type GetRecommendPriceResponse ¶
type GetRecommendPriceResponse struct {
BaseResponse // Common response fields
}
type GetReportCampaignOnFIrstSlotResponse ¶
type GetReportCampaignOnFIrstSlotResponse struct {
BaseResponse // Common response fields
}
type GetReportOverviewMetricResponse ¶
type GetReportOverviewMetricResponse struct {
BaseResponse // Common response fields
}
type GetReportOverviewResponse ¶
type GetReportOverviewResponse struct {
BaseResponse // Common response fields
}
type GetResponseResponse ¶
type GetResponseResponse struct {
BaseResponse // Common response fields
}
type GetReverseOrderDetailResponse ¶
type GetReverseOrderDetailResponse struct {
BaseResponse // Common response fields
}
type GetReverseOrderHistoryListResponse ¶
type GetReverseOrderHistoryListResponse struct {
BaseResponse // Common response fields
}
type GetReverseOrderReasonListResponse ¶
type GetReverseOrderReasonListResponse struct {
BaseResponse // Common response fields
}
type GetReverseOrdersForSellerResponse ¶
type GetReverseOrdersForSellerResponse struct {
BaseResponse // Common response fields
}
type GetReviewListByIdListResponse ¶
type GetReviewListByIdListResponse struct {
BaseResponse // Common response fields
}
type GetScannedParcelResponse ¶
type GetScannedParcelResponse struct {
BaseResponse // Common response fields
}
type GetSellerItemLimitResponse ¶
type GetSellerItemLimitResponse struct {
BaseResponse // Common response fields
}
type GetSellerMetricsByIdResponse ¶
type GetSellerMetricsByIdResponse struct {
BaseResponse // Common response fields
}
type GetSellerPerformanceResponse ¶
type GetSellerPerformanceResponse struct {
BaseResponse // Common response fields
}
type GetSellerRegisterInfoResponse ¶
type GetSellerRegisterInfoResponse struct {
BaseResponse // Common response fields
}
type GetSellerResponse ¶
type GetSellerResponse struct {
BaseResponse // Common response fields
}
type GetSessionDetailResponse ¶
type GetSessionDetailResponse struct {
BaseResponse // Common response fields
}
type GetSessionListResponse ¶
type GetSessionListResponse struct {
BaseResponse // Common response fields
}
type GetShipmentProviderResponse ¶
type GetShipmentProviderResponse struct {
BaseResponse // Common response fields
}
type GetShipperInfoResponse ¶
type GetShipperInfoResponse struct {
BaseResponse // Common response fields
}
type GetShippingFeeResponse ¶
type GetShippingFeeResponse struct {
BaseResponse // Common response fields
}
type GetSizeChartTemplateResponse ¶
type GetSizeChartTemplateResponse struct {
BaseResponse // Common response fields
}
type GetStockRuleResponse ¶
type GetStockRuleResponse struct {
BaseResponse // Common response fields
}
type GetStoreCustomPageResponse ¶
type GetStoreCustomPageResponse struct {
BaseResponse // Common response fields
}
type GetSubAddressResponse ¶
type GetSubAddressResponse struct {
BaseResponse // Common response fields
}
type GetSubscriptionToFusionResponse ¶
type GetSubscriptionToFusionResponse struct {
BaseResponse // Common response fields
}
type GetTaskStatusResponse ¶
type GetTaskStatusResponse struct {
BaseResponse // Common response fields
}
type GetUnfilledAttributeItemResponse ¶
type GetUnfilledAttributeItemResponse struct {
BaseResponse // Common response fields
}
type GetUnfilledAttributeResponse ¶
type GetUnfilledAttributeResponse struct {
BaseResponse // Common response fields
}
type GetUpgradableGlobalPlusProductListResponse ¶
type GetUpgradableGlobalPlusProductListResponse struct {
BaseResponse // Common response fields
}
type GetVasOrderByNo4FBLResponse ¶
type GetVasOrderByNo4FBLResponse struct {
BaseResponse // Common response fields
}
type GetVideoQuotaResponse ¶
type GetVideoQuotaResponse struct {
BaseResponse // Common response fields
}
type GetVideoResponse ¶
type GetVideoResponse struct {
BaseResponse // Common response fields
}
type GetWarehouseBySellerIdResponse ¶
type GetWarehouseBySellerIdResponse struct {
BaseResponse // Common response fields
}
type GetWarehouseListForMCLResponse ¶
type GetWarehouseListForMCLResponse struct {
BaseResponse // Common response fields
}
type GetWarehouseStockResponse ¶
type GetWarehouseStockResponse struct {
BaseResponse // Common response fields
}
type GetWarehouseStockV3Response ¶
type GetWarehouseStockV3Response struct {
BaseResponse // Common response fields
}
type GiftCodeQueryResponse ¶
type GiftCodeQueryResponse struct {
BaseResponse // Common response fields
}
type GiftCodeRequestResponse ¶
type GiftCodeRequestResponse struct {
BaseResponse // Common response fields
}
type GlobalEticketMerchantMaAvailableResponse ¶
type GlobalEticketMerchantMaAvailableResponse struct {
BaseResponse // Common response fields
}
type GlobalEticketMerchantMaConsumeResponse ¶
type GlobalEticketMerchantMaConsumeResponse struct {
BaseResponse // Common response fields
}
type GlobalEticketMerchantMaFailsendResponse ¶
type GlobalEticketMerchantMaFailsendResponse struct {
BaseResponse // Common response fields
}
type GlobalEticketMerchantMaQueryResponse ¶
type GlobalEticketMerchantMaQueryResponse struct {
BaseResponse // Common response fields
}
type GlobalEticketMerchantMaQueryTbMaResponse ¶
type GlobalEticketMerchantMaQueryTbMaResponse struct {
BaseResponse // Common response fields
}
type GlobalEticketMerchantMaSendResponse ¶
type GlobalEticketMerchantMaSendResponse struct {
BaseResponse // Common response fields
}
type HighlightProductResponse ¶
type HighlightProductResponse struct {
BaseResponse // Common response fields
}
type InitCreateVideoResponse ¶
type InitCreateVideoResponse struct {
BaseResponse // Common response fields
}
type InitReverseOrderCancelDecideResponse ¶
type InitReverseOrderCancelDecideResponse struct {
BaseResponse // Common response fields
}
type InitReverseOrderCancelResponse ¶
type InitReverseOrderCancelResponse struct {
BaseResponse // Common response fields
}
type InstallServiceCallBack1Response ¶
type InstallServiceCallBack1Response struct {
BaseResponse // Common response fields
}
type InstallServiceCallBackForTestResponse ¶
type InstallServiceCallBackForTestResponse struct {
BaseResponse // Common response fields
}
type InstallServiceCallBackResponse ¶
type InstallServiceCallBackResponse struct {
BaseResponse // Common response fields
}
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
}
type InsuranceCreateOrderResponse ¶
type InsuranceCreateOrderResponse struct {
BaseResponse // Common response fields
}
type InsuranceGetPromotionsResponse ¶
type InsuranceGetPromotionsResponse struct {
BaseResponse // Common response fields
}
type InsuranceQueryOrderResponse ¶
type InsuranceQueryOrderResponse struct {
BaseResponse // Common response fields
}
type InsuranceRealTimeCDPResponse ¶
type InsuranceRealTimeCDPResponse struct {
BaseResponse // Common response fields
}
type InuranceNotication1Response ¶
type InuranceNotication1Response struct {
BaseResponse // Common response fields
}
type InuranceNoticationResponse ¶
type InuranceNoticationResponse struct {
BaseResponse // Common response fields
}
type InuranceNotifyLapseResponse ¶
type InuranceNotifyLapseResponse struct {
BaseResponse // Common response fields
}
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
}
type LazadaBigbagCollectionPointsResponse ¶
type LazadaBigbagCollectionPointsResponse struct {
BaseResponse // Common response fields
}
type LazadaBigbagCommitResponse ¶
type LazadaBigbagCommitResponse struct {
BaseResponse // Common response fields
}
type LazadaBigbagUpdateResponse ¶
type LazadaBigbagUpdateResponse struct {
BaseResponse // Common response fields
}
type LazadaCFOInvoiceRpaCallbackResponse ¶
type LazadaCFOInvoiceRpaCallbackResponse struct {
BaseResponse // Common response fields
}
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
}
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
}
type ListCategoryResponse ¶
type ListCategoryResponse struct {
BaseResponse // Common response fields
}
type ListFlexiComboProductsResponse ¶
type ListFlexiComboProductsResponse struct {
BaseResponse // Common response fields
}
type ListFlexiComboResponse ¶
type ListFlexiComboResponse struct {
BaseResponse // Common response fields
}
type ListIcpWarehouseResponse ¶
type ListIcpWarehouseResponse struct {
BaseResponse // Common response fields
}
type ListKeywordByAdgroupResponse ¶
type ListKeywordByAdgroupResponse struct {
BaseResponse // Common response fields
}
type ListKeywordByItemResponse ¶
type ListKeywordByItemResponse struct {
BaseResponse // Common response fields
}
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
}
type McnContentCancelSchedulePublishResponse ¶
type McnContentCancelSchedulePublishResponse struct {
BaseResponse // Common response fields
}
type McnContentCompleteCreateVideoResponse ¶
type McnContentCompleteCreateVideoResponse struct {
BaseResponse // Common response fields
}
type McnContentCreateResponse ¶
type McnContentCreateResponse struct {
BaseResponse // Common response fields
}
type McnContentInitCreateVideoResponse ¶
type McnContentInitCreateVideoResponse struct {
BaseResponse // Common response fields
}
type McnContentListCategoryResponse ¶
type McnContentListCategoryResponse struct {
BaseResponse // Common response fields
}
type McnContentPropertyTagListResponse ¶
type McnContentPropertyTagListResponse struct {
BaseResponse // Common response fields
}
type McnContentReplySchedulePublishResponse ¶
type McnContentReplySchedulePublishResponse struct {
BaseResponse // Common response fields
}
type McnContentUploadImageResponse ¶
type McnContentUploadImageResponse struct {
BaseResponse // Common response fields
}
type McnContentUploadVideoBlockResponse ¶
type McnContentUploadVideoBlockResponse struct {
BaseResponse // Common response fields
}
type McnProductValidatorResponse ¶
type McnProductValidatorResponse struct {
BaseResponse // Common response fields
}
type McnSimilarProductSearchResponse ¶
type McnSimilarProductSearchResponse struct {
BaseResponse // Common response fields
}
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 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 MessageRecallResponse ¶
type MessageRecallResponse struct {
BaseResponse // Common response fields
}
type MigrateImageResponse ¶
type MigrateImageResponse struct {
BaseResponse // Common response fields
}
type MigrateImagesResponse ¶
type MigrateImagesResponse struct {
BaseResponse // Common response fields
}
type ModifyAutoTopUpOptionOneConfigResponse ¶
type ModifyAutoTopUpOptionOneConfigResponse struct {
BaseResponse // Common response fields
}
type OpenServiceBalanceQueryResponse ¶
type OpenServiceBalanceQueryResponse struct {
BaseResponse // Common response fields
}
type OpenServiceKycQueryResponse ¶
type OpenServiceKycQueryResponse struct {
BaseResponse // Common response fields
}
type OpenServiceWithdrawApplyResponse ¶
type OpenServiceWithdrawApplyResponse struct {
BaseResponse // Common response fields
}
type OpenServiceWithdrawQueryResponse ¶
type OpenServiceWithdrawQueryResponse struct {
BaseResponse // Common response fields
}
type OpenSessionResponse ¶
type OpenSessionResponse struct {
BaseResponse // Common response fields
}
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 OrderCancelValidateResponse ¶
type OrderCancelValidateResponse struct {
BaseResponse // Common response fields
}
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) (*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) (*GetOrderItemsResponse, error)
// GetOrders Use this API to get the list of items for a range of orders1..
// Path: /orders/get
GetOrders(ctx context.Context) (*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) (*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) (*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) (*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) (*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) (*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 PackResponse ¶
type PackResponse struct {
BaseResponse // Common response fields
}
type PackageJitPurchaseOrderResponse ¶
type PackageJitPurchaseOrderResponse struct {
BaseResponse // Common response fields
}
type PackageStatusUpdateForDBSResponse ¶
type PackageStatusUpdateForDBSResponse struct {
BaseResponse // Common response fields
}
type PartnerLinkResponse ¶
type PartnerLinkResponse struct {
BaseResponse // Common response fields
}
type PartnerTransactionResponse ¶
type PartnerTransactionResponse struct {
BaseResponse // Common response fields
}
type PartnerUnlinkResponse ¶
type PartnerUnlinkResponse struct {
BaseResponse // Common response fields
}
type PartnerUpdateResponse ¶
type PartnerUpdateResponse struct {
BaseResponse // Common response fields
}
type PaymentBindingResponse ¶
type PaymentBindingResponse struct {
BaseResponse // Common response fields
}
type PrintAWBResponse ¶
type PrintAWBResponse struct {
BaseResponse // Common response fields
}
type PrintJitPurchaseOrderAndItemResponse ¶
type PrintJitPurchaseOrderAndItemResponse struct {
BaseResponse // Common response fields
}
type PrintPickuoOrderResponse ¶
type PrintPickuoOrderResponse struct {
BaseResponse // Common response fields
}
type ProductCheckResponse ¶
type ProductCheckResponse struct {
BaseResponse // Common response fields
}
type ProductImageMatchResponse ¶
type ProductImageMatchResponse struct {
BaseResponse // Common response fields
}
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) (*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) (*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) (*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) (*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) (*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) (*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) (*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) (*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) (*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) (*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 QueryAccountTransactionsResponse ¶
type QueryAccountTransactionsResponse struct {
BaseResponse // Common response fields
}
type QueryAddonOrderResponse ¶
type QueryAddonOrderResponse struct {
BaseResponse // Common response fields
}
type QueryAddressInformaitonResponse ¶
type QueryAddressInformaitonResponse struct {
BaseResponse // Common response fields
}
type QueryBenefitResponse ¶
type QueryBenefitResponse struct {
BaseResponse // Common response fields
}
type QueryBuyboxHuntingInfoResponse ¶
type QueryBuyboxHuntingInfoResponse struct {
BaseResponse // Common response fields
}
type QueryContentReviewRecordsResponse ¶
type QueryContentReviewRecordsResponse struct {
BaseResponse // Common response fields
}
type QueryFulfillmentOrderForMCLResponse ¶
type QueryFulfillmentOrderForMCLResponse struct {
BaseResponse // Common response fields
}
type QueryInboundBatchResponse ¶
type QueryInboundBatchResponse struct {
BaseResponse // Common response fields
}
type QueryInboundReservationOrderResponse ¶
type QueryInboundReservationOrderResponse struct {
BaseResponse // Common response fields
}
type QueryLazadaBigbagInfoResponse ¶
type QueryLazadaBigbagInfoResponse struct {
BaseResponse // Common response fields
}
type QueryListJitPurchaseOrderResponse ¶
type QueryListJitPurchaseOrderResponse struct {
BaseResponse // Common response fields
}
type QueryListPurchaseItemResponse ¶
type QueryListPurchaseItemResponse struct {
BaseResponse // Common response fields
}
type QueryLogisticsFeeDetailResponse ¶
type QueryLogisticsFeeDetailResponse struct {
BaseResponse // Common response fields
}
type QueryPickupOrderResponse ¶
type QueryPickupOrderResponse struct {
BaseResponse // Common response fields
}
type QueryReverseOrderForMCLResponse ¶
type QueryReverseOrderForMCLResponse struct {
BaseResponse // Common response fields
}
type QueryTransactionDetailsResponse ¶
type QueryTransactionDetailsResponse struct {
BaseResponse // Common response fields
}
type QueryWarehouseDetailInfoBySellerIdResponse ¶
type QueryWarehouseDetailInfoBySellerIdResponse struct {
BaseResponse // Common response fields
}
type ReadSessionResponse ¶
type ReadSessionResponse struct {
BaseResponse // Common response fields
}
type ReadyToShipResponse ¶
type ReadyToShipResponse struct {
BaseResponse // Common response fields
}
type Reconciliation1Response ¶
type Reconciliation1Response struct {
BaseResponse // Common response fields
}
type ReconciliationResponse ¶
type ReconciliationResponse struct {
BaseResponse // Common response fields
}
type RecreatePackageResponse ¶
type RecreatePackageResponse struct {
BaseResponse // Common response fields
}
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
}
type RedeemOrderItemsResponse ¶
type RedeemOrderItemsResponse struct {
BaseResponse // Common response fields
}
type RefreshAccessTokenResponse ¶
type RefreshAccessTokenResponse struct {
BaseResponse
AccessToken string `json:"access_token"`
RefreshToken string `json:"refresh_token"`
ExpireIn int `json:"expire_in"`
}
type RemoveFulfillmentSkuRelationResponse ¶
type RemoveFulfillmentSkuRelationResponse struct {
BaseResponse // Common response fields
}
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
}
type ResponseError ¶
func (ResponseError) Error ¶
func (e ResponseError) Error() string
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) (*GetReverseOrdersForSellerResponse, error)
// InitReverseOrderCancel Seller initiates a cancelation
// Path: /order/reverse/cancel/create
InitReverseOrderCancel(ctx context.Context) (*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) (*ReverseOrderOnlyRefundDecideResponse, error)
// ReverseOrderReturnUpdate Seller can use this API to action on return and refund related.
// Path: /order/reverse/return/update
ReverseOrderReturnUpdate(ctx context.Context) (*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) (*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) (*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) (*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) (*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
}
type ReturnOrderCreationResponse ¶
type ReturnOrderCreationResponse struct {
BaseResponse // Common response fields
}
type ReverseOrderOnlyRefundDecideResponse ¶
type ReverseOrderOnlyRefundDecideResponse struct {
BaseResponse // Common response fields
}
type ReverseOrderReturnUpdateResponse ¶
type ReverseOrderReturnUpdateResponse struct {
BaseResponse // Common response fields
}
type RssGetOnePickupJobResponse ¶
type RssGetOnePickupJobResponse struct {
BaseResponse // Common response fields
}
type RssGetPickupJobsResponse ¶
type RssGetPickupJobsResponse struct {
BaseResponse // Common response fields
}
type RssGetPickupLocationsResponse ¶
type RssGetPickupLocationsResponse struct {
BaseResponse // Common response fields
}
type RssGetProductResponse ¶
type RssGetProductResponse struct {
BaseResponse // Common response fields
}
type RssGetProductsResponse ¶
type RssGetProductsResponse struct {
BaseResponse // Common response fields
}
type RssGetStockLotResponse ¶
type RssGetStockLotResponse struct {
BaseResponse // Common response fields
}
type RssGetStockLotsResponse ¶
type RssGetStockLotsResponse struct {
BaseResponse // Common response fields
}
type RssUpdateStockLotResponse ¶
type RssUpdateStockLotResponse struct {
BaseResponse // Common response fields
}
type SaveSellerWarehouseInfoResponse ¶
type SaveSellerWarehouseInfoResponse struct {
BaseResponse // Common response fields
}
type ScanParcelResponse ¶
type ScanParcelResponse struct {
BaseResponse // Common response fields
}
type SearchAdgroupListResponse ¶
type SearchAdgroupListResponse struct {
BaseResponse // Common response fields
}
type SearchCampaignListResponse ¶
type SearchCampaignListResponse struct {
BaseResponse // Common response fields
}
type SearchCustomerReturnParcelResponse ¶
type SearchCustomerReturnParcelResponse struct {
BaseResponse // Common response fields
}
type SearchKeywordResponse ¶
type SearchKeywordResponse struct {
BaseResponse // Common response fields
}
type SearchProductWithPageResponse ¶
type SearchProductWithPageResponse struct {
BaseResponse // Common response fields
}
type SellerCenterMsgListResponse ¶
type SellerCenterMsgListResponse struct {
BaseResponse // Common response fields
}
type SellerFieldVerifyResponse ¶
type SellerFieldVerifyResponse struct {
BaseResponse // Common response fields
}
type SellerPolicyFetchResponse ¶
type SellerPolicyFetchResponse struct {
BaseResponse // Common response fields
}
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
}
type SellerVoucherCreateResponse ¶
type SellerVoucherCreateResponse struct {
BaseResponse // Common response fields
}
type SellerVoucherDeactivateResponse ¶
type SellerVoucherDeactivateResponse struct {
BaseResponse // Common response fields
}
type SellerVoucherDetailQueryResponse ¶
type SellerVoucherDetailQueryResponse struct {
BaseResponse // Common response fields
}
type SellerVoucherListResponse ¶
type SellerVoucherListResponse struct {
BaseResponse // Common response fields
}
type SellerVoucherSelectedProductListResponse ¶
type SellerVoucherSelectedProductListResponse struct {
BaseResponse // Common response fields
}
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
}
type SemiProductUpdateResponse ¶
type SemiProductUpdateResponse struct {
BaseResponse // Common response fields
}
type SemiProductUpgradeResponse ¶
type SemiProductUpgradeResponse struct {
BaseResponse // Common response fields
}
type SendMessageResponse ¶
type SendMessageResponse struct {
BaseResponse // Common response fields
}
type ServiceMarketAppKeyOrderQueryResponse ¶
type ServiceMarketAppKeyOrderQueryResponse struct {
BaseResponse // Common response fields
}
type ServiceMarketAppKeySubQueryResponse ¶
type ServiceMarketAppKeySubQueryResponse struct {
BaseResponse // Common response fields
}
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 SetImagesResponse ¶
type SetImagesResponse struct {
BaseResponse // Common response fields
}
type SetInvoiceNumberResponse ¶
type SetInvoiceNumberResponse struct {
BaseResponse // Common response fields
}
type SetStockRuleResponse ¶
type SetStockRuleResponse struct {
BaseResponse // Common response fields
}
type SignResponse ¶
type SignResponse struct {
BaseResponse // Common response fields
}
type Skus ¶
type Skus struct {
SellerSku *string `json:"seller_sku,omitempty"` // [Optional]
SkuId *int64 `json:"sku_id,omitempty"` // [Optional]
Quantity *int64 `json:"quantity,omitempty"` // [Optional]
Price *float64 `json:"price,omitempty"` // [Optional]
PackageHeight *string `json:"package_height,omitempty"` // [Optional]
PackageLength *string `json:"package_length,omitempty"` // [Optional]
PackageWidth *string `json:"package_width,omitempty"` // [Optional]
PackageWeight *string `json:"package_weight,omitempty"` // [Optional]
}
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
}
type StationDopScanResponse ¶
type StationDopScanResponse struct {
BaseResponse // Common response fields
}
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 SubmitSellerReplyResponse ¶
type SubmitSellerReplyResponse struct {
BaseResponse // Common response fields
}
type SynchronizeSellerItemArConfigResponse ¶
type SynchronizeSellerItemArConfigResponse struct {
BaseResponse // Common response fields
}
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 TryOnClothResponse ¶
type TryOnClothResponse struct {
BaseResponse // Common response fields
}
type Update3PLStationResponse ¶
type Update3PLStationResponse struct {
BaseResponse // Common response fields
}
type UpdateAdgroupBatchResponse ¶
type UpdateAdgroupBatchResponse struct {
BaseResponse // Common response fields
}
type UpdateCampaignResponse ¶
type UpdateCampaignResponse struct {
BaseResponse // Common response fields
}
type UpdateFlexiComboResponse ¶
type UpdateFlexiComboResponse struct {
BaseResponse // Common response fields
}
type UpdateFulfillmentSkuDecoupleResponse ¶
type UpdateFulfillmentSkuDecoupleResponse struct {
BaseResponse // Common response fields
}
type UpdateGlobalProductAttributeResponse ¶
type UpdateGlobalProductAttributeResponse struct {
BaseResponse // Common response fields
}
type UpdateLastMileResponse ¶
type UpdateLastMileResponse struct {
BaseResponse // Common response fields
}
type UpdatePartnerUserIdResponse ¶
type UpdatePartnerUserIdResponse struct {
BaseResponse // Common response fields
}
type UpdatePickupTimeSlotResponse ¶
type UpdatePickupTimeSlotResponse struct {
BaseResponse // Common response fields
}
type UpdatePriceQuantityResponse ¶
type UpdatePriceQuantityResponse struct {
BaseResponse // Common response fields
}
type UpdateProductRequest ¶
type UpdateProductRequest struct {
ItemId *int64 `json:"item_id,omitempty"` // [Optional]
Attributes *string `json:"attributes,omitempty"` // [Optional]
Name *string `json:"name,omitempty"` // [Optional]
Description *string `json:"description,omitempty"` // [Optional]
ShortDescription *string `json:"short_description,omitempty"` // [Optional]
}
type UpdateProductResponse ¶
type UpdateProductResponse struct {
BaseResponse // Common response fields
Response UpdateProductResponseData `json:"data"` // Response data
}
type UpdateProductResponseData ¶
type UpdateProductResponseData struct {
ItemId *int64 `json:"item_id,omitempty"` // [Optional]
}
type UpdateProductStatusResponse ¶
type UpdateProductStatusResponse struct {
BaseResponse // Common response fields
}
type UpdateSellableQuantityResponse ¶
type UpdateSellableQuantityResponse struct {
BaseResponse // Common response fields
}
type UploadImageResponse ¶
type UploadImageResponse struct {
BaseResponse // Common response fields
}
type UploadVideoBlockResponse ¶
type UploadVideoBlockResponse struct {
BaseResponse // Common response fields
}
type UploadWaybillResponse ¶
type UploadWaybillResponse struct {
BaseResponse // Common response fields
}
type ValidateCageResponse ¶
type ValidateCageResponse struct {
BaseResponse // Common response fields
}
type ValidateOTPResponse ¶
type ValidateOTPResponse struct {
BaseResponse // Common response fields
}
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
- 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