Documentation
¶
Index ¶
- Constants
- func ParseVerify(req *http.Request) (sign string, body string)
- func WithHttpClient(httpClient *http.Client) configurer
- func WithProxyUrl(proxyURL string) configurer
- func WithSslVerify(sslVerify bool) configurer
- func WithSslVerifyAndPemCerts(sslVerify bool, pemCerts []byte) configurer
- func WithTimeout(timeout int) configurer
- type ActivateProductRsp
- type AddExternalOrderReferencesRsp
- type ApproveCancellationRsp
- type ApproveReturnRsp
- type BaseRsp
- type BaseWebhook
- type BatchShipPackagesRsp
- type CalculateRefundRsp
- type CancelOrderRsp
- type CheckListingPrerequisitesRsp
- type CheckProductListingRsp
- type Client
- func (c *Client) ActivateProduct(query easycb.AnyMap, body easycb.AnyMap) (*ActivateProductRsp, error)
- func (c *Client) AddExternalOrderReferences(query easycb.AnyMap, body easycb.AnyMap) (*AddExternalOrderReferencesRsp, error)
- func (c *Client) ApproveCancellation(cancelId string, query easycb.AnyMap) (*ApproveCancellationRsp, error)
- func (c *Client) ApproveReturn(returnId string, query easycb.AnyMap, body easycb.AnyMap) (*ApproveReturnRsp, error)
- func (c *Client) BatchShipPackages(query easycb.AnyMap, body easycb.AnyMap) (*BatchShipPackagesRsp, error)
- func (c *Client) CalculateRefund(query easycb.AnyMap, body easycb.AnyMap) (*CalculateRefundRsp, error)
- func (c *Client) CancelOrder(query easycb.AnyMap, body easycb.AnyMap) (*CancelOrderRsp, error)
- func (c *Client) CheckListingPrerequisites() (*CheckListingPrerequisitesRsp, error)
- func (c *Client) CheckProductListing(query easycb.AnyMap, body easycb.AnyMap) (*CheckProductListingRsp, error)
- func (c *Client) CombinePackage(query easycb.AnyMap, body easycb.AnyMap) (*CombinePackageRsp, error)
- func (c *Client) ConfirmPackageShipment(body easycb.AnyMap) (*ConfirmPackageShipmentRsp, error)
- func (c *Client) CreateActivity(body easycb.AnyMap) (*CreateActivityRsp, error)
- func (c *Client) CreateCategoryUpgradeTask(query easycb.AnyMap) (*CreateCategoryUpgradeTaskRsp, error)
- func (c *Client) CreateConversation(query easycb.AnyMap, body easycb.AnyMap) (*CreateConversationRsp, error)
- func (c *Client) CreateConversationWithCreator(query easycb.AnyMap, body easycb.AnyMap) (*CreateConversationWithCreatorRsp, error)
- func (c *Client) CreateCustomBrands(body easycb.AnyMap) (*CreateCustomBrandsRsp, error)
- func (c *Client) CreateEngagementTask(query easycb.AnyMap, body easycb.AnyMap) (*CreateEngagementTaskRsp, error)
- func (c *Client) CreateFirstMileBundle(body easycb.AnyMap) (*CreateFirstMileBundleRsp, error)
- func (c *Client) CreateGlobalProduct(body easycb.AnyMap) (*CreateGlobalProductRsp, error)
- func (c *Client) CreateManufacturer(body easycb.AnyMap) (*CreateManufacturerRsp, error)
- func (c *Client) CreateOpenCollaboration(query easycb.AnyMap, body easycb.AnyMap) (*CreateOpenCollaborationRsp, error)
- func (c *Client) CreatePackages(query easycb.AnyMap, body easycb.AnyMap) (*CreatePackagesRsp, error)
- func (c *Client) CreateProduct(query easycb.AnyMap, body easycb.AnyMap) (*CreateProductRsp, error)
- func (c *Client) CreateResponsiblePerson(body easycb.AnyMap) (*CreateResponsiblePersonRsp, error)
- func (c *Client) CreateReturn(query easycb.AnyMap, body easycb.AnyMap) (*CreateReturnRsp, error)
- func (c *Client) CreateTargetCollaboration(query easycb.AnyMap, body easycb.AnyMap) (*CreateTargetCollaborationRsp, error)
- func (c *Client) DeactivateActivity(activityId string) (*DeactivateActivityRsp, error)
- func (c *Client) DeactivateProducts(query easycb.AnyMap, body easycb.AnyMap) (*DeactivateProductsRsp, error)
- func (c *Client) DeleteGlobalProducts(body easycb.AnyMap) (*DeleteGlobalProductsRsp, error)
- func (c *Client) DeleteProducts(query easycb.AnyMap, body easycb.AnyMap) (*DeleteProductsRsp, error)
- func (c *Client) DeleteShopWebhooks(query easycb.AnyMap, body easycb.AnyMap) (*DeleteShopWebhooksRsp, error)
- func (c *Client) DiagnoseAndOptimizeProduct(query easycb.AnyMap, body easycb.AnyMap) (*DiagnoseAndOptimizeProductRsp, error)
- func (c *Client) EditGlobalProduct(globalProductId string, body easycb.AnyMap) (*EditGlobalProductRsp, error)
- func (c *Client) EditOpenCollaborationSampleRule(query easycb.AnyMap, body easycb.AnyMap) (*EditOpenCollaborationSampleRuleRsp, error)
- func (c *Client) EditOpenCollaborationSettings(query easycb.AnyMap, body easycb.AnyMap) (*EditOpenCollaborationSettingsRsp, error)
- func (c *Client) EditProduct(productId string, query easycb.AnyMap, body easycb.AnyMap) (*EditProductRsp, error)
- func (c *Client) FulfillmentUploadDeliveryFile(query easycb.AnyMap, body easycb.AnyMap) (*FulfillmentUploadDeliveryFileRsp, error)
- func (c *Client) FulfillmentUploadDeliveryImage(query easycb.AnyMap, body easycb.AnyMap) (*FulfillmentUploadDeliveryImageRsp, error)
- func (c *Client) GenerateAffiliateProductPromotionLink(productId string, query easycb.AnyMap) (*GenerateAffiliateProductPromotionLinkRsp, error)
- func (c *Client) GetAccessToken(query easycb.AnyMap) (*GetAccessTokenRsp, error)
- func (c *Client) GetActiveShops() (*GetActiveShopsRsp, error)
- func (c *Client) GetActivity(activityId string) (*GetActivityRsp, error)
- func (c *Client) GetAfterSaleEligibility(orderId string, query easycb.AnyMap) (*GetAfterSaleEligibilityRsp, error)
- func (c *Client) GetAgentSettings(query easycb.AnyMap) (*GetAgentSettingsRsp, error)
- func (c *Client) GetAttributes(categoryId int, query easycb.AnyMap) (*GetAttributesRsp, error)
- func (c *Client) GetAuthorizedCategoryAssets() (*GetAuthorizedCategoryAssetsRsp, error)
- func (c *Client) GetAuthorizedShops() (*GetAuthorizedShopRsp, error)
- func (c *Client) GetBrands(query easycb.AnyMap) (*GetBrandsRsp, error)
- func (c *Client) GetCategories(query easycb.AnyMap) (*GetCategoriesRsp, error)
- func (c *Client) GetCategoryRules(categoryId int, query easycb.AnyMap) (*GetCategoryRulesRsp, error)
- func (c *Client) GetConversationList(query easycb.AnyMap, body easycb.AnyMap) (*GetConversationListRsp, error)
- func (c *Client) GetConversationMessages(conversationId string, query easycb.AnyMap) (*GetConversationMessagesRsp, error)
- func (c *Client) GetConversations(query easycb.AnyMap) (*GetConversationsRsp, error)
- func (c *Client) GetCoupon(couponId string) (*GetCouponRsp, error)
- func (c *Client) GetCustomerServicePerformance(query easycb.AnyMap) (*GetCustomerServicePerformanceRsp, error)
- func (c *Client) GetEligibleShippingService(orderId string, query easycb.AnyMap, body easycb.AnyMap) (*GetEligibleShippingServiceRsp, error)
- func (c *Client) GetExternalOrderReferences(orderId string, query easycb.AnyMap) (*GetExternalOrderReferencesRsp, error)
- func (c *Client) GetFBTMerchantOnboardedRegions(query easycb.AnyMap) (*GetFBTMerchantOnboardedRegionsRsp, error)
- func (c *Client) GetFBTWarehouseList(query easycb.AnyMap) (*GetFBTWarehouseListRsp, error)
- func (c *Client) GetGlobalAttributes(categoryId int, query easycb.AnyMap) (*GetGlobalAttributesRsp, error)
- func (c *Client) GetGlobalCategories(query easycb.AnyMap) (*GetGlobalCategoriesRsp, error)
- func (c *Client) GetGlobalCategoryRules(categoryId int, query easycb.AnyMap) (*GetGlobalCategoryRulesRsp, error)
- func (c *Client) GetGlobalProduct(globalProductId string) (*GetGlobalProductRsp, error)
- func (c *Client) GetGlobalSellerWarehouse(query easycb.AnyMap) (*GetGlobalSellerWarehouseRsp, error)
- func (c *Client) GetInboundOrder(query easycb.AnyMap) (*GetInboundOrderRsp, error)
- func (c *Client) GetLatestUnreadMessages(query easycb.AnyMap) (*GetLatestUnreadMessagesRsp, error)
- func (c *Client) GetMarketplaceCreatorPerformance(createUserId string, query easycb.AnyMap) (*GetMarketplaceCreatorPerformanceRsp, error)
- func (c *Client) GetMessageInTheConversation(conversationId string, query easycb.AnyMap) (*GetMessageInTheConversationRsp, error)
- func (c *Client) GetMessageTemplates(query easycb.AnyMap) (*GetMessageTemplatesRsp, error)
- func (c *Client) GetOpenCollaborationCreatorContentDetail(query easycb.AnyMap) (*GetOpenCollaborationCreatorContentDetailRsp, error)
- func (c *Client) GetOpenCollaborationSampleRules(query easycb.AnyMap) (*GetOpenCollaborationSampleRulesRsp, error)
- func (c *Client) GetOpenCollaborationSettings(query easycb.AnyMap) (*GetOpenCollaborationSettingsRsp, error)
- func (c *Client) GetOrderDetail(query easycb.AnyMap) (*GetOrderDetailRsp, error)
- func (c *Client) GetOrderList(query easycb.AnyMap, body easycb.AnyMap) (*GetOrderListRsp, error)
- func (c *Client) GetOrderSplitAttributes(query easycb.AnyMap) (*GetOrderSplitAttributesRsp, error)
- func (c *Client) GetOrderStatementTransactions(orderId string) (*GetOrderStatementTransactionsRsp, error)
- func (c *Client) GetPackageDetail(packageId string, query easycb.AnyMap) (*GetPackageDetailRsp, error)
- func (c *Client) GetPackageHandoverTimeSlots(packageId string, query easycb.AnyMap) (*GetPackageHandoverTimeSlotsRsp, error)
- func (c *Client) GetPackageShippingDocument(packageId string, query easycb.AnyMap) (*GetPackageShippingDocumentRsp, error)
- func (c *Client) GetPayments(query easycb.AnyMap) (*GetPaymentsRsp, error)
- func (c *Client) GetPriceDetail(orderId string, query easycb.AnyMap) (*GetPriceDetailRsp, error)
- func (c *Client) GetProduct(itemId string) (*GetProductRsp, error)
- func (c *Client) GetProductsSEOWords(query easycb.AnyMap) (*GetProductsSEOWordsRsp, error)
- func (c *Client) GetRecommendedProductTitleAndDescription(query easycb.AnyMap) (*GetRecommendedProductTitleAndDescriptionRsp, error)
- func (c *Client) GetRejectReasons(query easycb.AnyMap) (*GetRejectReasonsRsp, error)
- func (c *Client) GetReturnRecords(returnId string, query easycb.AnyMap) (*GetReturnRecordsRsp, error)
- func (c *Client) GetSellerPermissions() (*GetSellerPermissionsRsp, error)
- func (c *Client) GetShippingProviders(deliveryOptionId string) (*GetShippingProvidersRsp, error)
- func (c *Client) GetShopPerformance(query easycb.AnyMap) (*GetShopPerformanceRsp, error)
- func (c *Client) GetShopProductPerformance(productId string, query easycb.AnyMap) (*GetShopProductPerformanceRsp, error)
- func (c *Client) GetShopProductPerformanceList(query easycb.AnyMap) (*GetShopProductPerformanceListRsp, error)
- func (c *Client) GetShopSKUPerformance(skuId string, query easycb.AnyMap) (*GetShopSKUPerformanceRsp, error)
- func (c *Client) GetShopSKUPerformanceList(query easycb.AnyMap) (*GetShopSKUPerformanceListRsp, error)
- func (c *Client) GetShopVideoPerformanceDetails(videoId string, query easycb.AnyMap) (*GetShopVideoPerformanceDetailsRsp, error)
- func (c *Client) GetShopVideoPerformanceList(query easycb.AnyMap) (*GetShopVideoProductPerformanceListRsp, error)
- func (c *Client) GetShopVideoPerformanceOverview(query easycb.AnyMap) (*GetShopVideoPerformanceOverviewRsp, error)
- func (c *Client) GetShopVideoProductPerformanceList(videoId string, query easycb.AnyMap) (*GetShopVideoProductPerformanceListRsp, error)
- func (c *Client) GetShopWebhooks(query easycb.AnyMap) (*GetShopWebhooksRsp, error)
- func (c *Client) GetStatementTransactions(statementId string, query easycb.AnyMap) (*GetStatementTransactionsRsp, error)
- func (c *Client) GetStatements(query easycb.AnyMap) (*GetStatementsRsp, error)
- func (c *Client) GetTaskPerformances(query easycb.AnyMap, body easycb.AnyMap) (*GetTaskPerformancesRsp, error)
- func (c *Client) GetTracking(orderId string) (*GetTrackingRsp, error)
- func (c *Client) GetWarehouseDeliveryOptions(warehouseId string) (*GetWarehouseDeliveryOptionsRsp, error)
- func (c *Client) GetWarehouseList(query easycb.AnyMap) (*GetWarehouseListRsp, error)
- func (c *Client) GetWithdrawals(query easycb.AnyMap) (*GetWithdrawalsRsp, error)
- func (c *Client) InventorySearch(query easycb.AnyMap, body easycb.AnyMap) (*InventorySearchRsp, error)
- func (c *Client) ListingSchemas(query easycb.AnyMap) (*ListingSchemasRsp, error)
- func (c *Client) MarkConversationRead(query easycb.AnyMap, body easycb.AnyMap) (*MarkConversationReadRsp, error)
- func (c *Client) MarkPackageAsShipped(orderId string, query easycb.AnyMap, body easycb.AnyMap) (*MarkPackageAsShippedRsp, error)
- func (c *Client) OptimizedImages(query easycb.AnyMap, body easycb.AnyMap) (*OptimizedImagesRsp, error)
- func (c *Client) PartialEditManufacturer(manufacturerId string, body easycb.AnyMap) (*PartialEditManufacturerRsp, error)
- func (c *Client) PartialEditProduct(productId string, query easycb.AnyMap, body easycb.AnyMap) (*PartialEditProductRsp, error)
- func (c *Client) PartialEditResponsiblePerson(responsiblePersonId string, body easycb.AnyMap) (*PartialEditResponsiblePersonRsp, error)
- func (c *Client) ProductInformationIssueDiagnosis(query easycb.AnyMap) (*ProductInformationIssueDiagnosisRsp, error)
- func (c *Client) PublishGlobalProduct(globalProductId string, body easycb.AnyMap) (*PublishGlobalProductRsp, error)
- func (c *Client) QueryTargetCollaborationDetail(targetCollaborationId string, query easycb.AnyMap) (*QueryTargetCollaborationDetailRsp, error)
- func (c *Client) ReadMessage(conversationId string) (*ReadMessageRsp, error)
- func (c *Client) RecommendCategory(query easycb.AnyMap, body easycb.AnyMap) (*RecommendCategoryRsp, error)
- func (c *Client) RecommendGlobalCategories(body easycb.AnyMap) (*RecommendGlobalCategoriesRsp, error)
- func (c *Client) RecoverProducts(query easycb.AnyMap, body easycb.AnyMap) (*RecoverProductsRsp, error)
- func (c *Client) RefreshAccessToken(query easycb.AnyMap) (*RefreshAccessTokenRsp, error)
- func (c *Client) RejectCancellation(cancelId string, query easycb.AnyMap, body easycb.AnyMap) (*RejectCancellationRsp, error)
- func (c *Client) RejectReturn(returnId string, query easycb.AnyMap, body easycb.AnyMap) (*RejectReturnRsp, error)
- func (c *Client) RemoveActivityProduct(activityId string, body easycb.AnyMap) (*RemoveActivityProductRsp, error)
- func (c *Client) RemoveCreatorAffiliateFromCollaboration(openCollaborationId string, query easycb.AnyMap, body easycb.AnyMap) (*RemoveCreatorAffiliateFromCollaborationRsp, error)
- func (c *Client) RemoveOpenCollaboration(productId string, query easycb.AnyMap) (*RemoveOpenCollaborationRsp, error)
- func (c *Client) RemoveTargetCollaboration(targetCollaborationId string, query easycb.AnyMap) (*RemoveTargetCollaborationRsp, error)
- func (c *Client) SearchActivities(body easycb.AnyMap) (*SearchActivitiesRsp, error)
- func (c *Client) SearchCancellations(query easycb.AnyMap, body easycb.AnyMap) (*SearchCancellationsRsp, error)
- func (c *Client) SearchCombinablePackages(query easycb.AnyMap) (*SearchCombinablePackagesRsp, error)
- func (c *Client) SearchCoupons(query easycb.AnyMap, body easycb.AnyMap) (*SearchCouponsRsp, error)
- func (c *Client) SearchFBTInventory(query easycb.AnyMap) (*SearchFBTInventoryRsp, error)
- func (c *Client) SearchFBTInventoryRecord(query easycb.AnyMap, body easycb.AnyMap) (*SearchFBTInventoryRecordRsp, error)
- func (c *Client) SearchGlobalProducts(query easycb.AnyMap, body easycb.AnyMap) (*SearchGlobalProductsRsp, error)
- func (c *Client) SearchGoodsInfo(query easycb.AnyMap, body easycb.AnyMap) (*SearchGoodsInfoRsp, error)
- func (c *Client) SearchManufacturers(query easycb.AnyMap, body easycb.AnyMap) (*SearchManufacturersRsp, error)
- func (c *Client) SearchOpenCollaboration(query easycb.AnyMap, body easycb.AnyMap) (*SearchOpenCollaborationRsp, error)
- func (c *Client) SearchOrderByExternalOrderReference(query easycb.AnyMap) (*SearchOrderByExternalOrderReferenceRsp, error)
- func (c *Client) SearchPackage(query easycb.AnyMap, body easycb.AnyMap) (*SearchPackageRsp, error)
- func (c *Client) SearchProducts(query easycb.AnyMap, body easycb.AnyMap) (*SearchProductsRsp, error)
- func (c *Client) SearchResponsiblePersons(query easycb.AnyMap, body easycb.AnyMap) (*SearchResponsiblePersonsRsp, error)
- func (c *Client) SearchReturns(query easycb.AnyMap, body easycb.AnyMap) (*SearchReturnsRsp, error)
- func (c *Client) SearchSellerAffiliateOrders(query easycb.AnyMap, body easycb.AnyMap) (*SearchSellerAffiliateOrdersRsp, error)
- func (c *Client) SearchSizeCharts(query easycb.AnyMap, body easycb.AnyMap) (*SearchSizeChartsRsp, error)
- func (c *Client) SearchTargetCollaborations(query easycb.AnyMap, body easycb.AnyMap) (*SearchTargetCollaborationsRsp, error)
- func (c *Client) SellerReviewSampleApplications(applicationId string, query easycb.AnyMap, body easycb.AnyMap) (*SellerReviewSampleApplicationsRsp, error)
- func (c *Client) SellerSearchAffiliateOpenCollaborationProduct(query easycb.AnyMap, body easycb.AnyMap) (*SellerSearchAffiliateOpenCollaborationProductRsp, error)
- func (c *Client) SellerSearchCreatorOnMarketplace(query easycb.AnyMap, body easycb.AnyMap) (*SellerSearchCreatorOnMarketplaceRsp, error)
- func (c *Client) SellerSearchSampleApplications(query easycb.AnyMap, body easycb.AnyMap) (*SellerSearchSampleApplicationsRsp, error)
- func (c *Client) SellerSearchSampleApplicationsFulfillments(applicationId string, query easycb.AnyMap, body easycb.AnyMap) (*SellerSearchSampleApplicationsFulfillmentsRsp, error)
- func (c *Client) SendEngagementMessage(query easycb.AnyMap, body easycb.AnyMap) (*SendEngagementMessageRsp, error)
- func (c *Client) SendIMMessage(conversationId string, query easycb.AnyMap, body easycb.AnyMap) (*SendIMMessageRsp, error)
- func (c *Client) SendMessage(conversationId string, body easycb.AnyMap) (*SendMessageRsp, error)
- func (c *Client) SetAccessToken(s string) *Client
- func (c *Client) SetBaseUrl(s string) *Client
- func (c *Client) SetShopCipher(s string) *Client
- func (c *Client) ShipPackage(packageId string, query easycb.AnyMap, body easycb.AnyMap) (*ShipPackageRsp, error)
- func (c *Client) SplitOrders(orderId string, query easycb.AnyMap, body easycb.AnyMap) (*SplitOrdersRsp, error)
- func (c *Client) URLValues(query easycb.AnyMap) (value url.Values, err error)
- func (c *Client) UnCombinePackages(packageId string, query easycb.AnyMap, body easycb.AnyMap) (*UnCombinePackagesRsp, error)
- func (c *Client) UpdateActivity(activityId string, body easycb.AnyMap) (*UpdateActivityRsp, error)
- func (c *Client) UpdateActivityProduct(activityId string, body easycb.AnyMap) (*UpdateActivityProductRsp, error)
- func (c *Client) UpdateAgentSettings(query easycb.AnyMap, body easycb.AnyMap) (*UpdateAgentSettingsRsp, error)
- func (c *Client) UpdateGlobalInventory(globalProductId string, body easycb.AnyMap) (*UpdateGlobalInventoryRsp, error)
- func (c *Client) UpdateInventory(productId string, query easycb.AnyMap, body easycb.AnyMap) (*UpdateInventoryRsp, error)
- func (c *Client) UpdatePackageDeliveryStatus(query easycb.AnyMap, body easycb.AnyMap) (*UpdatePackageDeliveryStatusRsp, error)
- func (c *Client) UpdatePackageShippingInfo(packageId string, query easycb.AnyMap, body easycb.AnyMap) (*UpdatePackageShippingInfoRsp, error)
- func (c *Client) UpdatePrice(productId string, query easycb.AnyMap, body easycb.AnyMap) (*UpdatePriceRsp, error)
- func (c *Client) UpdateShippingInfo(orderId string, query easycb.AnyMap, body easycb.AnyMap) (*UpdateShippingInfoRsp, error)
- func (c *Client) UpdateShopWebhooks(query easycb.AnyMap, body easycb.AnyMap) (*UpdateShopWebhooksRsp, error)
- func (c *Client) UpdateTargetCollaboration(targetCollaborationId string, query easycb.AnyMap, body easycb.AnyMap) (*UpdateTargetCollaborationRsp, error)
- func (c *Client) UploadBuyerMessagesImage(body easycb.AnyMap) (*UploadBuyerMessagesImageRsp, error)
- func (c *Client) UploadProductFile(body easycb.AnyMap) (*UploadProductFileRsp, error)
- func (c *Client) UploadProductImage(body easycb.AnyMap) (*UploadProductImageRsp, error)
- func (c *Client) VerifySign(sign string, body string) bool
- type CombinePackageRsp
- type ConfirmPackageShipmentRsp
- type Conversation
- type CreateActivityRsp
- type CreateCategoryUpgradeTaskRsp
- type CreateConversationRsp
- type CreateConversationWithCreatorRsp
- type CreateCustomBrandsRsp
- type CreateEngagementTaskRsp
- type CreateFirstMileBundleRsp
- type CreateGlobalProductRsp
- type CreateManufacturerRsp
- type CreateOpenCollaborationRsp
- type CreatePackagesRsp
- type CreateProductRsp
- type CreateResponsiblePersonRsp
- type CreateReturnRsp
- type CreateTargetCollaborationRsp
- type DeactivateActivityRsp
- type DeactivateProductsRsp
- type DeleteGlobalProductsRsp
- type DeleteProductsRsp
- type DeleteShopWebhooksRsp
- type DiagnoseAndOptimizeProductRsp
- type EditGlobalProductRsp
- type EditOpenCollaborationSampleRuleRsp
- type EditOpenCollaborationSettingsRsp
- type EditProductRsp
- type FBTMerchantOnboardingRegionItem
- type FbtWarehouseInventoryItem
- type FulfillmentUploadDeliveryFileRsp
- type FulfillmentUploadDeliveryImageRsp
- type GenerateAffiliateProductPromotionLinkRsp
- type GetAccessTokenRsp
- type GetActiveShopsRsp
- type GetActivityRsp
- type GetAfterSaleEligibilityRsp
- type GetAgentSettingsRsp
- type GetAttributesRsp
- type GetAuthorizedCategoryAssetsRsp
- type GetAuthorizedShopRsp
- type GetBrandsRsp
- type GetCategoriesRsp
- type GetCategoryRulesRsp
- type GetConversationListRsp
- type GetConversationMessagesRsp
- type GetConversationRsp
- type GetConversationsRsp
- type GetCouponRsp
- type GetCustomerServicePerformanceRsp
- type GetEligibleShippingServiceRsp
- type GetExternalOrderReferencesRsp
- type GetFBTMerchantOnboardedRegionsRsp
- type GetFBTWarehouseListRsp
- type GetGlobalAttributesRsp
- type GetGlobalCategoriesRsp
- type GetGlobalCategoryRulesRsp
- type GetGlobalProductRsp
- type GetGlobalSellerWarehouseRsp
- type GetInboundOrderRsp
- type GetLatestUnreadMessagesRsp
- type GetMarketplaceCreatorPerformanceRsp
- type GetMessageInTheConversationRsp
- type GetMessageTemplatesRsp
- type GetOpenCollaborationCreatorContentDetailRsp
- type GetOpenCollaborationSampleRulesRsp
- type GetOpenCollaborationSettingsRsp
- type GetOrderDetailRsp
- type GetOrderListRsp
- type GetOrderSplitAttributesRsp
- type GetOrderStatementTransactionsRsp
- type GetPackageDetailRsp
- type GetPackageHandoverTimeSlotsRsp
- type GetPackageShippingDocumentRsp
- type GetPaymentsRsp
- type GetPriceDetailRsp
- type GetProductRsp
- type GetProductsSEOWordsRsp
- type GetRecommendedProductTitleAndDescriptionRsp
- type GetRejectReasonsRsp
- type GetReturnRecordsRsp
- type GetSellerPermissionsRsp
- type GetShippingProvidersRsp
- type GetShopPerformanceRsp
- type GetShopProductPerformanceListRsp
- type GetShopProductPerformanceRsp
- type GetShopSKUPerformanceListRsp
- type GetShopSKUPerformanceRsp
- type GetShopVideoPerformanceDetailsRsp
- type GetShopVideoPerformanceListRsp
- type GetShopVideoPerformanceOverviewRsp
- type GetShopVideoProductPerformanceListRsp
- type GetShopWebhooksRsp
- type GetStatementTransactionsRsp
- type GetStatementsRsp
- type GetTaskPerformancesRsp
- type GetTrackingRsp
- type GetWarehouseDeliveryOptionsRsp
- type GetWarehouseListRsp
- type GetWithdrawalsRsp
- type InventorySearchRsp
- type ListingSchemasRsp
- type MarkConversationReadRsp
- type MarkPackageAsShippedRsp
- type Message
- type OptimizedImagesRsp
- type Order
- type PackageUpdatePackageItem
- type PartialEditManufacturerRsp
- type PartialEditProductRsp
- type PartialEditResponsiblePersonRsp
- type ProductInformationIssueDiagnosisRsp
- type PublishGlobalProductRsp
- type QueryTargetCollaborationDetailRsp
- type ReadMessageRsp
- type RecommendCategoryRsp
- type RecommendGlobalCategoriesRsp
- type RecoverProductsRsp
- type RefreshAccessTokenRsp
- type RejectCancellationRsp
- type RejectReturnRsp
- type RemoveActivityProductRsp
- type RemoveCreatorAffiliateFromCollaborationRsp
- type RemoveOpenCollaborationRsp
- type RemoveTargetCollaborationRsp
- type SearchActivitiesRsp
- type SearchCancellationsRsp
- type SearchCombinablePackagesRsp
- type SearchCouponsRsp
- type SearchFBTInventoryRecordRsp
- type SearchFBTInventoryRsp
- type SearchGlobalProductsRsp
- type SearchGoodsInfoRsp
- type SearchManufacturersRsp
- type SearchOpenCollaborationRsp
- type SearchOrderByExternalOrderReferenceRsp
- type SearchPackageRsp
- type SearchProductsRsp
- type SearchResponsiblePersonsRsp
- type SearchReturnsRsp
- type SearchSellerAffiliateOrdersRsp
- type SearchSizeChartsRsp
- type SearchTargetCollaborationsRsp
- type SellerReviewSampleApplicationsRsp
- type SellerSearchAffiliateOpenCollaborationProductRsp
- type SellerSearchCreatorOnMarketplaceRsp
- type SellerSearchSampleApplicationsFulfillmentsRsp
- type SellerSearchSampleApplicationsRsp
- type SendEngagementMessageRsp
- type SendIMMessageRsp
- type SendMessageRsp
- type ShipPackageRsp
- type SplitOrdersRsp
- type UnCombinePackagesRsp
- type UpdateActivityProductRsp
- type UpdateActivityRsp
- type UpdateAgentSettingsRsp
- type UpdateGlobalInventoryRsp
- type UpdateInventoryRsp
- type UpdatePackageDeliveryStatusRsp
- type UpdatePackageShippingInfoRsp
- type UpdatePriceRsp
- type UpdateShippingInfoRsp
- type UpdateShopWebhooksRsp
- type UpdateTargetCollaborationRsp
- type UploadBuyerMessagesImageRsp
- type UploadProductFileRsp
- type UploadProductImageRsp
- type WebhookCancellationStatusChange
- type WebhookCancellationStatusChangeData
- type WebhookCreatorDeauthorization
- type WebhookCreatorDeauthorizationData
- type WebhookFBTInventoryUpdate
- type WebhookFBTInventoryUpdateData
- type WebhookFBTMerchantOnboarding
- type WebhookFBTMerchantOnboardingData
- type WebhookGoodsMatch
- type WebhookGoodsMatchData
- type WebhookInboundFBTOrderStatusChange
- type WebhookInboundFBTOrderStatusChangeData
- type WebhookInventoryStatusChange
- type WebhookInventoryStatusChangeData
- type WebhookNewConversation
- type WebhookNewConversationData
- type WebhookNewMessage
- type WebhookNewMessageData
- type WebhookOpportunityMatchingStatusChange
- type WebhookOpportunityMatchingStatusChangeData
- type WebhookOrderStatusChange
- type WebhookOrderStatusChangeData
- type WebhookPackageUpdate
- type WebhookPackageUpdateData
- type WebhookProductCategoryChange
- type WebhookProductCategoryChangeData
- type WebhookProductCreation
- type WebhookProductCreationData
- type WebhookProductInformationChange
- type WebhookProductInformationChangeData
- type WebhookProductStatusChange
- type WebhookProductStatusChangeData
- type WebhookRecipientAddressUpdate
- type WebhookRecipientAddressUpdateData
- type WebhookReturnStatusChange
- type WebhookReturnStatusChangeData
- type WebhookSellerDeauthorization
- type WebhookSellerDeauthorizationData
- type WebhookShoppableContentPosting
- type WebhookShoppableContentPostingData
- type WebhookSizeChartChange
- type WebhookSizeChartChangeData
- type WebhookUpcomingAuthorizationExpiration
- type WebhookUpcomingAuthorizationExpirationData
Constants ¶
View Source
const ( ContentTypeJson = "application/json" AcceptJson = "application/json" AccessTokenName = "x-tts-access-token" DefaultTimeout = 60 APIGateway = "http://open-api.tiktokglobalshop.com" // ApiGateway = "https://services.us.tiktokshop.com" for US Market AuthGateway = "https://auth.tiktok-shops.com" )
Variables ¶
This section is empty.
Functions ¶
func WithHttpClient ¶
func WithProxyUrl ¶
func WithProxyUrl(proxyURL string) configurer
func WithSslVerify ¶
func WithSslVerify(sslVerify bool) configurer
func WithTimeout ¶
func WithTimeout(timeout int) configurer
Types ¶
type ActivateProductRsp ¶
type ActivateProductRsp struct { BaseRsp Data struct { Errors []struct { Code int `json:"code"` Detail struct { ExtraErrors []struct { Code int `json:"code"` Message string `json:"message"` } `json:"extra_errors"` ProductId string `json:"product_id"` } `json:"detail"` Message string `json:"message"` } `json:"errors"` } `json:"data"` }
type AddExternalOrderReferencesRsp ¶
type AddExternalOrderReferencesRsp struct { BaseRsp Data struct { Errors []struct { Code string `json:"code"` Detail struct { ExternalOrder struct { Id string `json:"id"` Platform string `json:"platform"` } `json:"external_order"` OrderId string `json:"order_id"` } `json:"detail"` Message string `json:"message"` } `json:"errors"` } `json:"data"` }
type ApproveCancellationRsp ¶
type ApproveCancellationRsp struct {
BaseRsp
}
type ApproveReturnRsp ¶
type ApproveReturnRsp struct {
BaseRsp
}
type BaseWebhook ¶ added in v0.1.5
type BatchShipPackagesRsp ¶ added in v0.1.4
type CalculateRefundRsp ¶
type CalculateRefundRsp struct { BaseRsp Data struct { OrderRefundAmount struct { Currency string `json:"currency"` RefundShippingFee string `json:"refund_shipping_fee"` RefundSubtotal string `json:"refund_subtotal"` RefundTax string `json:"refund_tax"` RefundTotal string `json:"refund_total"` RetailDeliveryFee string `json:"retail_delivery_fee"` } `json:"order_refund_amount"` } `json:"data"` }
type CancelOrderRsp ¶
type CheckProductListingRsp ¶
type CheckProductListingRsp struct { BaseRsp Data struct { CheckResult string `json:"check_result"` Diagnoses []struct { DiagnosisResults []struct { Code string `json:"code"` HowToSolve string `json:"how_to_solve"` QualityTier string `json:"quality_tier"` } `json:"diagnosis_results"` Field string `json:"field"` Suggestions struct { Images []struct { Height int `json:"height"` OptimizedUri string `json:"optimized_uri"` OptimizedUrl string `json:"optimized_url"` Uri string `json:"uri"` Url string `json:"url"` Width int `json:"width"` } `json:"images"` SeoWords []struct { Text string `json:"text"` } `json:"seo_words"` SmartTexts []struct { Text string `json:"text"` } `json:"smart_texts"` } `json:"suggestions"` } `json:"diagnoses"` FailReasons []struct { Code int `json:"code"` Message string `json:"message"` } `json:"fail_reasons"` ListingQuality struct { CurrentTier string `json:"current_tier"` RemainingRecommendations int `json:"remaining_recommendations"` } `json:"listing_quality"` Warnings struct { Message string `json:"message"` } `json:"warnings"` } `json:"data"` }
type Client ¶
type Client struct { AppKey string AppSecret string BaseURL string ShopCipher string AccessToken string // contains filtered or unexported fields }
func NewClientDefault ¶
func (*Client) ActivateProduct ¶
func (c *Client) ActivateProduct(query easycb.AnyMap, body easycb.AnyMap) (*ActivateProductRsp, error)
func (*Client) AddExternalOrderReferences ¶
func (c *Client) AddExternalOrderReferences(query easycb.AnyMap, body easycb.AnyMap) (*AddExternalOrderReferencesRsp, error)
func (*Client) ApproveCancellation ¶
func (c *Client) ApproveCancellation(cancelId string, query easycb.AnyMap) (*ApproveCancellationRsp, error)
func (*Client) ApproveReturn ¶
func (c *Client) ApproveReturn(returnId string, query easycb.AnyMap, body easycb.AnyMap) (*ApproveReturnRsp, error)
func (*Client) BatchShipPackages ¶ added in v0.1.4
func (c *Client) BatchShipPackages(query easycb.AnyMap, body easycb.AnyMap) (*BatchShipPackagesRsp, error)
func (*Client) CalculateRefund ¶
func (c *Client) CalculateRefund(query easycb.AnyMap, body easycb.AnyMap) (*CalculateRefundRsp, error)
func (*Client) CancelOrder ¶
func (c *Client) CancelOrder(query easycb.AnyMap, body easycb.AnyMap) (*CancelOrderRsp, error)
func (*Client) CheckListingPrerequisites ¶
func (c *Client) CheckListingPrerequisites() (*CheckListingPrerequisitesRsp, error)
func (*Client) CheckProductListing ¶
func (c *Client) CheckProductListing(query easycb.AnyMap, body easycb.AnyMap) (*CheckProductListingRsp, error)
func (*Client) CombinePackage ¶ added in v0.1.4
func (c *Client) CombinePackage(query easycb.AnyMap, body easycb.AnyMap) (*CombinePackageRsp, error)
func (*Client) ConfirmPackageShipment ¶ added in v0.1.9
func (c *Client) ConfirmPackageShipment(body easycb.AnyMap) (*ConfirmPackageShipmentRsp, error)
func (*Client) CreateActivity ¶
func (c *Client) CreateActivity(body easycb.AnyMap) (*CreateActivityRsp, error)
func (*Client) CreateCategoryUpgradeTask ¶
func (c *Client) CreateCategoryUpgradeTask(query easycb.AnyMap) (*CreateCategoryUpgradeTaskRsp, error)
func (*Client) CreateConversation ¶
func (c *Client) CreateConversation(query easycb.AnyMap, body easycb.AnyMap) (*CreateConversationRsp, error)
func (*Client) CreateConversationWithCreator ¶ added in v0.1.9
func (c *Client) CreateConversationWithCreator(query easycb.AnyMap, body easycb.AnyMap) (*CreateConversationWithCreatorRsp, error)
func (*Client) CreateCustomBrands ¶
func (c *Client) CreateCustomBrands(body easycb.AnyMap) (*CreateCustomBrandsRsp, error)
func (*Client) CreateEngagementTask ¶ added in v0.1.7
func (c *Client) CreateEngagementTask(query easycb.AnyMap, body easycb.AnyMap) (*CreateEngagementTaskRsp, error)
func (*Client) CreateFirstMileBundle ¶ added in v0.1.4
func (c *Client) CreateFirstMileBundle(body easycb.AnyMap) (*CreateFirstMileBundleRsp, error)
func (*Client) CreateGlobalProduct ¶
func (c *Client) CreateGlobalProduct(body easycb.AnyMap) (*CreateGlobalProductRsp, error)
func (*Client) CreateManufacturer ¶
func (c *Client) CreateManufacturer(body easycb.AnyMap) (*CreateManufacturerRsp, error)
func (*Client) CreateOpenCollaboration ¶ added in v0.1.7
func (c *Client) CreateOpenCollaboration(query easycb.AnyMap, body easycb.AnyMap) (*CreateOpenCollaborationRsp, error)
func (*Client) CreatePackages ¶ added in v0.1.4
func (c *Client) CreatePackages(query easycb.AnyMap, body easycb.AnyMap) (*CreatePackagesRsp, error)
func (*Client) CreateProduct ¶
func (c *Client) CreateProduct(query easycb.AnyMap, body easycb.AnyMap) (*CreateProductRsp, error)
func (*Client) CreateResponsiblePerson ¶
func (c *Client) CreateResponsiblePerson(body easycb.AnyMap) (*CreateResponsiblePersonRsp, error)
func (*Client) CreateReturn ¶
func (c *Client) CreateReturn(query easycb.AnyMap, body easycb.AnyMap) (*CreateReturnRsp, error)
func (*Client) CreateTargetCollaboration ¶ added in v0.1.7
func (c *Client) CreateTargetCollaboration(query easycb.AnyMap, body easycb.AnyMap) (*CreateTargetCollaborationRsp, error)
func (*Client) DeactivateActivity ¶
func (c *Client) DeactivateActivity(activityId string) (*DeactivateActivityRsp, error)
func (*Client) DeactivateProducts ¶
func (c *Client) DeactivateProducts(query easycb.AnyMap, body easycb.AnyMap) (*DeactivateProductsRsp, error)
func (*Client) DeleteGlobalProducts ¶
func (c *Client) DeleteGlobalProducts(body easycb.AnyMap) (*DeleteGlobalProductsRsp, error)
func (*Client) DeleteProducts ¶
func (c *Client) DeleteProducts(query easycb.AnyMap, body easycb.AnyMap) (*DeleteProductsRsp, error)
func (*Client) DeleteShopWebhooks ¶
func (c *Client) DeleteShopWebhooks(query easycb.AnyMap, body easycb.AnyMap) (*DeleteShopWebhooksRsp, error)
func (*Client) DiagnoseAndOptimizeProduct ¶ added in v0.1.9
func (c *Client) DiagnoseAndOptimizeProduct(query easycb.AnyMap, body easycb.AnyMap) (*DiagnoseAndOptimizeProductRsp, error)
func (*Client) EditGlobalProduct ¶
func (c *Client) EditGlobalProduct(globalProductId string, body easycb.AnyMap) (*EditGlobalProductRsp, error)
func (*Client) EditOpenCollaborationSampleRule ¶ added in v0.1.7
func (c *Client) EditOpenCollaborationSampleRule(query easycb.AnyMap, body easycb.AnyMap) (*EditOpenCollaborationSampleRuleRsp, error)
func (*Client) EditOpenCollaborationSettings ¶ added in v0.1.7
func (c *Client) EditOpenCollaborationSettings(query easycb.AnyMap, body easycb.AnyMap) (*EditOpenCollaborationSettingsRsp, error)
func (*Client) EditProduct ¶
func (c *Client) EditProduct(productId string, query easycb.AnyMap, body easycb.AnyMap) (*EditProductRsp, error)
func (*Client) FulfillmentUploadDeliveryFile ¶ added in v0.1.4
func (c *Client) FulfillmentUploadDeliveryFile(query easycb.AnyMap, body easycb.AnyMap) (*FulfillmentUploadDeliveryFileRsp, error)
func (*Client) FulfillmentUploadDeliveryImage ¶ added in v0.1.4
func (c *Client) FulfillmentUploadDeliveryImage(query easycb.AnyMap, body easycb.AnyMap) (*FulfillmentUploadDeliveryImageRsp, error)
func (*Client) GenerateAffiliateProductPromotionLink ¶ added in v0.1.7
func (c *Client) GenerateAffiliateProductPromotionLink(productId string, query easycb.AnyMap) (*GenerateAffiliateProductPromotionLinkRsp, error)
func (*Client) GetAccessToken ¶
func (c *Client) GetAccessToken(query easycb.AnyMap) (*GetAccessTokenRsp, error)
func (*Client) GetActiveShops ¶
func (c *Client) GetActiveShops() (*GetActiveShopsRsp, error)
func (*Client) GetActivity ¶
func (c *Client) GetActivity(activityId string) (*GetActivityRsp, error)
func (*Client) GetAfterSaleEligibility ¶
func (c *Client) GetAfterSaleEligibility(orderId string, query easycb.AnyMap) (*GetAfterSaleEligibilityRsp, error)
func (*Client) GetAgentSettings ¶
func (c *Client) GetAgentSettings(query easycb.AnyMap) (*GetAgentSettingsRsp, error)
func (*Client) GetAttributes ¶
func (c *Client) GetAttributes(categoryId int, query easycb.AnyMap) (*GetAttributesRsp, error)
func (*Client) GetAuthorizedCategoryAssets ¶
func (c *Client) GetAuthorizedCategoryAssets() (*GetAuthorizedCategoryAssetsRsp, error)
func (*Client) GetAuthorizedShops ¶
func (c *Client) GetAuthorizedShops() (*GetAuthorizedShopRsp, error)
func (*Client) GetBrands ¶
func (c *Client) GetBrands(query easycb.AnyMap) (*GetBrandsRsp, error)
func (*Client) GetCategories ¶
func (c *Client) GetCategories(query easycb.AnyMap) (*GetCategoriesRsp, error)
func (*Client) GetCategoryRules ¶
func (c *Client) GetCategoryRules(categoryId int, query easycb.AnyMap) (*GetCategoryRulesRsp, error)
func (*Client) GetConversationList ¶ added in v0.1.9
func (c *Client) GetConversationList(query easycb.AnyMap, body easycb.AnyMap) (*GetConversationListRsp, error)
func (*Client) GetConversationMessages ¶
func (c *Client) GetConversationMessages(conversationId string, query easycb.AnyMap) (*GetConversationMessagesRsp, error)
func (*Client) GetConversations ¶
func (c *Client) GetConversations(query easycb.AnyMap) (*GetConversationsRsp, error)
func (*Client) GetCustomerServicePerformance ¶
func (c *Client) GetCustomerServicePerformance(query easycb.AnyMap) (*GetCustomerServicePerformanceRsp, error)
func (*Client) GetEligibleShippingService ¶ added in v0.1.4
func (c *Client) GetEligibleShippingService(orderId string, query easycb.AnyMap, body easycb.AnyMap) (*GetEligibleShippingServiceRsp, error)
func (*Client) GetExternalOrderReferences ¶
func (c *Client) GetExternalOrderReferences(orderId string, query easycb.AnyMap) (*GetExternalOrderReferencesRsp, error)
func (*Client) GetFBTMerchantOnboardedRegions ¶ added in v0.1.5
func (c *Client) GetFBTMerchantOnboardedRegions(query easycb.AnyMap) (*GetFBTMerchantOnboardedRegionsRsp, error)
func (*Client) GetFBTWarehouseList ¶ added in v0.1.5
func (c *Client) GetFBTWarehouseList(query easycb.AnyMap) (*GetFBTWarehouseListRsp, error)
func (*Client) GetGlobalAttributes ¶
func (c *Client) GetGlobalAttributes(categoryId int, query easycb.AnyMap) (*GetGlobalAttributesRsp, error)
func (*Client) GetGlobalCategories ¶
func (c *Client) GetGlobalCategories(query easycb.AnyMap) (*GetGlobalCategoriesRsp, error)
func (*Client) GetGlobalCategoryRules ¶
func (c *Client) GetGlobalCategoryRules(categoryId int, query easycb.AnyMap) (*GetGlobalCategoryRulesRsp, error)
func (*Client) GetGlobalProduct ¶
func (c *Client) GetGlobalProduct(globalProductId string) (*GetGlobalProductRsp, error)
func (*Client) GetGlobalSellerWarehouse ¶
func (c *Client) GetGlobalSellerWarehouse(query easycb.AnyMap) (*GetGlobalSellerWarehouseRsp, error)
func (*Client) GetInboundOrder ¶ added in v0.1.5
func (c *Client) GetInboundOrder(query easycb.AnyMap) (*GetInboundOrderRsp, error)
func (*Client) GetLatestUnreadMessages ¶ added in v0.1.9
func (c *Client) GetLatestUnreadMessages(query easycb.AnyMap) (*GetLatestUnreadMessagesRsp, error)
func (*Client) GetMarketplaceCreatorPerformance ¶ added in v0.1.7
func (c *Client) GetMarketplaceCreatorPerformance(createUserId string, query easycb.AnyMap) (*GetMarketplaceCreatorPerformanceRsp, error)
func (*Client) GetMessageInTheConversation ¶ added in v0.1.9
func (c *Client) GetMessageInTheConversation(conversationId string, query easycb.AnyMap) (*GetMessageInTheConversationRsp, error)
func (*Client) GetMessageTemplates ¶ added in v0.1.7
func (c *Client) GetMessageTemplates(query easycb.AnyMap) (*GetMessageTemplatesRsp, error)
func (*Client) GetOpenCollaborationCreatorContentDetail ¶ added in v0.1.7
func (c *Client) GetOpenCollaborationCreatorContentDetail(query easycb.AnyMap) (*GetOpenCollaborationCreatorContentDetailRsp, error)
func (*Client) GetOpenCollaborationSampleRules ¶ added in v0.1.7
func (c *Client) GetOpenCollaborationSampleRules(query easycb.AnyMap) (*GetOpenCollaborationSampleRulesRsp, error)
func (*Client) GetOpenCollaborationSettings ¶ added in v0.1.7
func (c *Client) GetOpenCollaborationSettings(query easycb.AnyMap) (*GetOpenCollaborationSettingsRsp, error)
func (*Client) GetOrderDetail ¶
func (c *Client) GetOrderDetail(query easycb.AnyMap) (*GetOrderDetailRsp, error)
func (*Client) GetOrderList ¶
func (c *Client) GetOrderList(query easycb.AnyMap, body easycb.AnyMap) (*GetOrderListRsp, error)
func (*Client) GetOrderSplitAttributes ¶ added in v0.1.4
func (c *Client) GetOrderSplitAttributes(query easycb.AnyMap) (*GetOrderSplitAttributesRsp, error)
func (*Client) GetOrderStatementTransactions ¶
func (c *Client) GetOrderStatementTransactions(orderId string) (*GetOrderStatementTransactionsRsp, error)
func (*Client) GetPackageDetail ¶ added in v0.1.4
func (c *Client) GetPackageDetail(packageId string, query easycb.AnyMap) (*GetPackageDetailRsp, error)
func (*Client) GetPackageHandoverTimeSlots ¶ added in v0.1.4
func (c *Client) GetPackageHandoverTimeSlots(packageId string, query easycb.AnyMap) (*GetPackageHandoverTimeSlotsRsp, error)
func (*Client) GetPackageShippingDocument ¶ added in v0.1.4
func (c *Client) GetPackageShippingDocument(packageId string, query easycb.AnyMap) (*GetPackageShippingDocumentRsp, error)
func (*Client) GetPayments ¶
func (c *Client) GetPayments(query easycb.AnyMap) (*GetPaymentsRsp, error)
func (*Client) GetPriceDetail ¶
func (c *Client) GetPriceDetail(orderId string, query easycb.AnyMap) (*GetPriceDetailRsp, error)
func (*Client) GetProduct ¶
func (c *Client) GetProduct(itemId string) (*GetProductRsp, error)
func (*Client) GetProductsSEOWords ¶
func (c *Client) GetProductsSEOWords(query easycb.AnyMap) (*GetProductsSEOWordsRsp, error)
func (*Client) GetRecommendedProductTitleAndDescription ¶
func (c *Client) GetRecommendedProductTitleAndDescription(query easycb.AnyMap) (*GetRecommendedProductTitleAndDescriptionRsp, error)
func (*Client) GetRejectReasons ¶
func (c *Client) GetRejectReasons(query easycb.AnyMap) (*GetRejectReasonsRsp, error)
func (*Client) GetReturnRecords ¶
func (c *Client) GetReturnRecords(returnId string, query easycb.AnyMap) (*GetReturnRecordsRsp, error)
func (*Client) GetSellerPermissions ¶
func (c *Client) GetSellerPermissions() (*GetSellerPermissionsRsp, error)
func (*Client) GetShippingProviders ¶
func (c *Client) GetShippingProviders(deliveryOptionId string) (*GetShippingProvidersRsp, error)
func (*Client) GetShopPerformance ¶ added in v0.1.3
func (c *Client) GetShopPerformance(query easycb.AnyMap) (*GetShopPerformanceRsp, error)
func (*Client) GetShopProductPerformance ¶ added in v0.1.3
func (c *Client) GetShopProductPerformance(productId string, query easycb.AnyMap) (*GetShopProductPerformanceRsp, error)
func (*Client) GetShopProductPerformanceList ¶ added in v0.1.3
func (c *Client) GetShopProductPerformanceList(query easycb.AnyMap) (*GetShopProductPerformanceListRsp, error)
func (*Client) GetShopSKUPerformance ¶ added in v0.1.3
func (c *Client) GetShopSKUPerformance(skuId string, query easycb.AnyMap) (*GetShopSKUPerformanceRsp, error)
func (*Client) GetShopSKUPerformanceList ¶ added in v0.1.3
func (c *Client) GetShopSKUPerformanceList(query easycb.AnyMap) (*GetShopSKUPerformanceListRsp, error)
func (*Client) GetShopVideoPerformanceDetails ¶ added in v0.1.3
func (c *Client) GetShopVideoPerformanceDetails(videoId string, query easycb.AnyMap) (*GetShopVideoPerformanceDetailsRsp, error)
func (*Client) GetShopVideoPerformanceList ¶ added in v0.1.3
func (c *Client) GetShopVideoPerformanceList(query easycb.AnyMap) (*GetShopVideoProductPerformanceListRsp, error)
func (*Client) GetShopVideoPerformanceOverview ¶ added in v0.1.3
func (c *Client) GetShopVideoPerformanceOverview(query easycb.AnyMap) (*GetShopVideoPerformanceOverviewRsp, error)
func (*Client) GetShopVideoProductPerformanceList ¶ added in v0.1.3
func (c *Client) GetShopVideoProductPerformanceList(videoId string, query easycb.AnyMap) (*GetShopVideoProductPerformanceListRsp, error)
func (*Client) GetShopWebhooks ¶
func (c *Client) GetShopWebhooks(query easycb.AnyMap) (*GetShopWebhooksRsp, error)
func (*Client) GetStatementTransactions ¶
func (c *Client) GetStatementTransactions(statementId string, query easycb.AnyMap) (*GetStatementTransactionsRsp, error)
func (*Client) GetStatements ¶
func (c *Client) GetStatements(query easycb.AnyMap) (*GetStatementsRsp, error)
func (*Client) GetTaskPerformances ¶ added in v0.1.7
func (c *Client) GetTaskPerformances(query easycb.AnyMap, body easycb.AnyMap) (*GetTaskPerformancesRsp, error)
func (*Client) GetTracking ¶
func (c *Client) GetTracking(orderId string) (*GetTrackingRsp, error)
func (*Client) GetWarehouseDeliveryOptions ¶
func (c *Client) GetWarehouseDeliveryOptions(warehouseId string) (*GetWarehouseDeliveryOptionsRsp, error)
func (*Client) GetWarehouseList ¶
func (c *Client) GetWarehouseList(query easycb.AnyMap) (*GetWarehouseListRsp, error)
func (*Client) GetWithdrawals ¶
func (c *Client) GetWithdrawals(query easycb.AnyMap) (*GetWithdrawalsRsp, error)
func (*Client) InventorySearch ¶
func (c *Client) InventorySearch(query easycb.AnyMap, body easycb.AnyMap) (*InventorySearchRsp, error)
func (*Client) ListingSchemas ¶
func (c *Client) ListingSchemas(query easycb.AnyMap) (*ListingSchemasRsp, error)
func (*Client) MarkConversationRead ¶ added in v0.1.9
func (c *Client) MarkConversationRead(query easycb.AnyMap, body easycb.AnyMap) (*MarkConversationReadRsp, error)
func (*Client) MarkPackageAsShipped ¶ added in v0.1.4
func (c *Client) MarkPackageAsShipped(orderId string, query easycb.AnyMap, body easycb.AnyMap) (*MarkPackageAsShippedRsp, error)
func (*Client) OptimizedImages ¶
func (c *Client) OptimizedImages(query easycb.AnyMap, body easycb.AnyMap) (*OptimizedImagesRsp, error)
func (*Client) PartialEditManufacturer ¶
func (c *Client) PartialEditManufacturer(manufacturerId string, body easycb.AnyMap) (*PartialEditManufacturerRsp, error)
func (*Client) PartialEditProduct ¶
func (c *Client) PartialEditProduct(productId string, query easycb.AnyMap, body easycb.AnyMap) (*PartialEditProductRsp, error)
func (*Client) PartialEditResponsiblePerson ¶
func (c *Client) PartialEditResponsiblePerson(responsiblePersonId string, body easycb.AnyMap) (*PartialEditResponsiblePersonRsp, error)
func (*Client) ProductInformationIssueDiagnosis ¶
func (c *Client) ProductInformationIssueDiagnosis(query easycb.AnyMap) (*ProductInformationIssueDiagnosisRsp, error)
func (*Client) PublishGlobalProduct ¶
func (c *Client) PublishGlobalProduct(globalProductId string, body easycb.AnyMap) (*PublishGlobalProductRsp, error)
func (*Client) QueryTargetCollaborationDetail ¶ added in v0.1.7
func (c *Client) QueryTargetCollaborationDetail(targetCollaborationId string, query easycb.AnyMap) (*QueryTargetCollaborationDetailRsp, error)
func (*Client) ReadMessage ¶
func (c *Client) ReadMessage(conversationId string) (*ReadMessageRsp, error)
func (*Client) RecommendCategory ¶
func (c *Client) RecommendCategory(query easycb.AnyMap, body easycb.AnyMap) (*RecommendCategoryRsp, error)
func (*Client) RecommendGlobalCategories ¶
func (c *Client) RecommendGlobalCategories(body easycb.AnyMap) (*RecommendGlobalCategoriesRsp, error)
func (*Client) RecoverProducts ¶
func (c *Client) RecoverProducts(query easycb.AnyMap, body easycb.AnyMap) (*RecoverProductsRsp, error)
func (*Client) RefreshAccessToken ¶
func (c *Client) RefreshAccessToken(query easycb.AnyMap) (*RefreshAccessTokenRsp, error)
func (*Client) RejectCancellation ¶
func (c *Client) RejectCancellation(cancelId string, query easycb.AnyMap, body easycb.AnyMap) (*RejectCancellationRsp, error)
func (*Client) RejectReturn ¶
func (c *Client) RejectReturn(returnId string, query easycb.AnyMap, body easycb.AnyMap) (*RejectReturnRsp, error)
func (*Client) RemoveActivityProduct ¶
func (c *Client) RemoveActivityProduct(activityId string, body easycb.AnyMap) (*RemoveActivityProductRsp, error)
func (*Client) RemoveCreatorAffiliateFromCollaboration ¶ added in v0.1.7
func (c *Client) RemoveCreatorAffiliateFromCollaboration(openCollaborationId string, query easycb.AnyMap, body easycb.AnyMap) (*RemoveCreatorAffiliateFromCollaborationRsp, error)
func (*Client) RemoveOpenCollaboration ¶ added in v0.1.7
func (c *Client) RemoveOpenCollaboration(productId string, query easycb.AnyMap) (*RemoveOpenCollaborationRsp, error)
func (*Client) RemoveTargetCollaboration ¶ added in v0.1.7
func (c *Client) RemoveTargetCollaboration(targetCollaborationId string, query easycb.AnyMap) (*RemoveTargetCollaborationRsp, error)
func (*Client) SearchActivities ¶
func (c *Client) SearchActivities(body easycb.AnyMap) (*SearchActivitiesRsp, error)
func (*Client) SearchCancellations ¶
func (c *Client) SearchCancellations(query easycb.AnyMap, body easycb.AnyMap) (*SearchCancellationsRsp, error)
func (*Client) SearchCombinablePackages ¶ added in v0.1.4
func (c *Client) SearchCombinablePackages(query easycb.AnyMap) (*SearchCombinablePackagesRsp, error)
func (*Client) SearchCoupons ¶
func (c *Client) SearchCoupons(query easycb.AnyMap, body easycb.AnyMap) (*SearchCouponsRsp, error)
func (*Client) SearchFBTInventory ¶ added in v0.1.5
func (c *Client) SearchFBTInventory(query easycb.AnyMap) (*SearchFBTInventoryRsp, error)
func (*Client) SearchFBTInventoryRecord ¶ added in v0.1.5
func (c *Client) SearchFBTInventoryRecord(query easycb.AnyMap, body easycb.AnyMap) (*SearchFBTInventoryRecordRsp, error)
func (*Client) SearchGlobalProducts ¶
func (c *Client) SearchGlobalProducts(query easycb.AnyMap, body easycb.AnyMap) (*SearchGlobalProductsRsp, error)
func (*Client) SearchGoodsInfo ¶ added in v0.1.5
func (c *Client) SearchGoodsInfo(query easycb.AnyMap, body easycb.AnyMap) (*SearchGoodsInfoRsp, error)
func (*Client) SearchManufacturers ¶
func (c *Client) SearchManufacturers(query easycb.AnyMap, body easycb.AnyMap) (*SearchManufacturersRsp, error)
func (*Client) SearchOpenCollaboration ¶ added in v0.1.7
func (c *Client) SearchOpenCollaboration(query easycb.AnyMap, body easycb.AnyMap) (*SearchOpenCollaborationRsp, error)
func (*Client) SearchOrderByExternalOrderReference ¶
func (c *Client) SearchOrderByExternalOrderReference(query easycb.AnyMap) (*SearchOrderByExternalOrderReferenceRsp, error)
func (*Client) SearchPackage ¶ added in v0.1.4
func (c *Client) SearchPackage(query easycb.AnyMap, body easycb.AnyMap) (*SearchPackageRsp, error)
func (*Client) SearchProducts ¶
func (c *Client) SearchProducts(query easycb.AnyMap, body easycb.AnyMap) (*SearchProductsRsp, error)
func (*Client) SearchResponsiblePersons ¶
func (c *Client) SearchResponsiblePersons(query easycb.AnyMap, body easycb.AnyMap) (*SearchResponsiblePersonsRsp, error)
func (*Client) SearchReturns ¶
func (c *Client) SearchReturns(query easycb.AnyMap, body easycb.AnyMap) (*SearchReturnsRsp, error)
func (*Client) SearchSellerAffiliateOrders ¶ added in v0.1.7
func (c *Client) SearchSellerAffiliateOrders(query easycb.AnyMap, body easycb.AnyMap) (*SearchSellerAffiliateOrdersRsp, error)
func (*Client) SearchSizeCharts ¶
func (c *Client) SearchSizeCharts(query easycb.AnyMap, body easycb.AnyMap) (*SearchSizeChartsRsp, error)
func (*Client) SearchTargetCollaborations ¶ added in v0.1.7
func (c *Client) SearchTargetCollaborations(query easycb.AnyMap, body easycb.AnyMap) (*SearchTargetCollaborationsRsp, error)
func (*Client) SellerReviewSampleApplications ¶ added in v0.1.7
func (c *Client) SellerReviewSampleApplications(applicationId string, query easycb.AnyMap, body easycb.AnyMap) (*SellerReviewSampleApplicationsRsp, error)
func (*Client) SellerSearchAffiliateOpenCollaborationProduct ¶ added in v0.1.7
func (c *Client) SellerSearchAffiliateOpenCollaborationProduct(query easycb.AnyMap, body easycb.AnyMap) (*SellerSearchAffiliateOpenCollaborationProductRsp, error)
func (*Client) SellerSearchCreatorOnMarketplace ¶ added in v0.1.7
func (c *Client) SellerSearchCreatorOnMarketplace(query easycb.AnyMap, body easycb.AnyMap) (*SellerSearchCreatorOnMarketplaceRsp, error)
func (*Client) SellerSearchSampleApplications ¶ added in v0.1.7
func (c *Client) SellerSearchSampleApplications(query easycb.AnyMap, body easycb.AnyMap) (*SellerSearchSampleApplicationsRsp, error)
func (*Client) SellerSearchSampleApplicationsFulfillments ¶ added in v0.1.7
func (c *Client) SellerSearchSampleApplicationsFulfillments(applicationId string, query easycb.AnyMap, body easycb.AnyMap) (*SellerSearchSampleApplicationsFulfillmentsRsp, error)
func (*Client) SendEngagementMessage ¶ added in v0.1.7
func (c *Client) SendEngagementMessage(query easycb.AnyMap, body easycb.AnyMap) (*SendEngagementMessageRsp, error)
func (*Client) SendIMMessage ¶ added in v0.1.9
func (c *Client) SendIMMessage(conversationId string, query easycb.AnyMap, body easycb.AnyMap) (*SendIMMessageRsp, error)
func (*Client) SendMessage ¶
func (c *Client) SendMessage(conversationId string, body easycb.AnyMap) (*SendMessageRsp, error)
func (*Client) SetAccessToken ¶
func (*Client) SetBaseUrl ¶
func (*Client) SetShopCipher ¶
func (*Client) ShipPackage ¶ added in v0.1.4
func (c *Client) ShipPackage(packageId string, query easycb.AnyMap, body easycb.AnyMap) (*ShipPackageRsp, error)
func (*Client) SplitOrders ¶ added in v0.1.4
func (c *Client) SplitOrders(orderId string, query easycb.AnyMap, body easycb.AnyMap) (*SplitOrdersRsp, error)
func (*Client) UnCombinePackages ¶ added in v0.1.4
func (c *Client) UnCombinePackages(packageId string, query easycb.AnyMap, body easycb.AnyMap) (*UnCombinePackagesRsp, error)
func (*Client) UpdateActivity ¶
func (c *Client) UpdateActivity(activityId string, body easycb.AnyMap) (*UpdateActivityRsp, error)
func (*Client) UpdateActivityProduct ¶
func (c *Client) UpdateActivityProduct(activityId string, body easycb.AnyMap) (*UpdateActivityProductRsp, error)
func (*Client) UpdateAgentSettings ¶
func (c *Client) UpdateAgentSettings(query easycb.AnyMap, body easycb.AnyMap) (*UpdateAgentSettingsRsp, error)
func (*Client) UpdateGlobalInventory ¶
func (c *Client) UpdateGlobalInventory(globalProductId string, body easycb.AnyMap) (*UpdateGlobalInventoryRsp, error)
func (*Client) UpdateInventory ¶
func (c *Client) UpdateInventory(productId string, query easycb.AnyMap, body easycb.AnyMap) (*UpdateInventoryRsp, error)
func (*Client) UpdatePackageDeliveryStatus ¶ added in v0.1.4
func (c *Client) UpdatePackageDeliveryStatus(query easycb.AnyMap, body easycb.AnyMap) (*UpdatePackageDeliveryStatusRsp, error)
func (*Client) UpdatePackageShippingInfo ¶ added in v0.1.4
func (c *Client) UpdatePackageShippingInfo(packageId string, query easycb.AnyMap, body easycb.AnyMap) (*UpdatePackageShippingInfoRsp, error)
func (*Client) UpdatePrice ¶
func (c *Client) UpdatePrice(productId string, query easycb.AnyMap, body easycb.AnyMap) (*UpdatePriceRsp, error)
func (*Client) UpdateShippingInfo ¶ added in v0.1.4
func (c *Client) UpdateShippingInfo(orderId string, query easycb.AnyMap, body easycb.AnyMap) (*UpdateShippingInfoRsp, error)
func (*Client) UpdateShopWebhooks ¶
func (c *Client) UpdateShopWebhooks(query easycb.AnyMap, body easycb.AnyMap) (*UpdateShopWebhooksRsp, error)
func (*Client) UpdateTargetCollaboration ¶ added in v0.1.7
func (c *Client) UpdateTargetCollaboration(targetCollaborationId string, query easycb.AnyMap, body easycb.AnyMap) (*UpdateTargetCollaborationRsp, error)
func (*Client) UploadBuyerMessagesImage ¶
func (c *Client) UploadBuyerMessagesImage(body easycb.AnyMap) (*UploadBuyerMessagesImageRsp, error)
func (*Client) UploadProductFile ¶
func (c *Client) UploadProductFile(body easycb.AnyMap) (*UploadProductFileRsp, error)
func (*Client) UploadProductImage ¶
func (c *Client) UploadProductImage(body easycb.AnyMap) (*UploadProductImageRsp, error)
type CombinePackageRsp ¶ added in v0.1.4
type CombinePackageRsp struct { BaseRsp Data struct { Errors []struct { Code int `json:"code"` Detail struct { PackageId string `json:"package_id"` } `json:"detail"` Message string `json:"message"` } `json:"errors"` Packages []struct { Id string `json:"id"` OrderIds []string `json:"order_ids"` } `json:"packages"` } `json:"data"` }
type ConfirmPackageShipmentRsp ¶ added in v0.1.9
type Conversation ¶
type Conversation struct { Id string `json:"id"` CanSendMessage bool `json:"can_send_message"` CreateTime int64 `json:"create_time"` LatestMessage struct { Content string `json:"content"` CreateTime int `json:"create_time"` Id string `json:"id"` IsVisible bool `json:"is_visible"` Sender struct { Avatar string `json:"avatar"` ImUserId string `json:"im_user_id"` Nickname string `json:"nickname"` Role string `json:"role"` } `json:"sender"` Type string `json:"type"` } `json:"latest_message"` ParticipantCount int `json:"participant_count"` Participants []struct { Avatar string `json:"avatar"` ImUserId string `json:"im_user_id"` Nickname string `json:"nickname"` Role string `json:"role"` UserId string `json:"user_id"` } `json:"participants"` UnreadCount int `json:"unread_count"` }
type CreateActivityRsp ¶
type CreateCategoryUpgradeTaskRsp ¶
type CreateCategoryUpgradeTaskRsp struct {
BaseRsp
}
type CreateConversationRsp ¶
type CreateConversationWithCreatorRsp ¶ added in v0.1.9
type CreateConversationWithCreatorRsp struct { BaseRsp Data struct { Avatar string `json:"avatar"` ConversationId string `json:"conversation_id"` CreatorImId string `json:"creator_im_id"` IsNew bool `json:"is_new"` UnreadCount int `json:"unread_count"` Username string `json:"username"` } `json:"data"` }
type CreateCustomBrandsRsp ¶
type CreateCustomBrandsRsp struct {
BaseRsp
}
type CreateEngagementTaskRsp ¶ added in v0.1.7
type CreateFirstMileBundleRsp ¶ added in v0.1.4
type CreateFirstMileBundleRsp struct { BaseRsp Data struct { Errors []struct { Code int `json:"code"` Detail struct { OrderId string `json:"order_id"` } `json:"detail"` Message string `json:"message"` } `json:"errors"` FirstMileBundleId string `json:"first_mile_bundle_id"` Url string `json:"url"` } `json:"data"` }
type CreateGlobalProductRsp ¶
type CreateGlobalProductRsp struct { BaseRsp Data struct { GlobalProductId string `json:"global_product_id"` GlobalSkus []struct { Id string `json:"id"` SalesAttributes []struct { Id string `json:"id"` ValueId string `json:"value_id"` } `json:"sales_attributes"` SellerSku string `json:"seller_sku"` } `json:"global_skus"` } `json:"data"` }
type CreateManufacturerRsp ¶
type CreateOpenCollaborationRsp ¶ added in v0.1.7
type CreatePackagesRsp ¶ added in v0.1.4
type CreatePackagesRsp struct { BaseRsp Data struct { CreateTime int `json:"create_time"` Dimension struct { Height string `json:"height"` Length string `json:"length"` Unit string `json:"unit"` Width string `json:"width"` } `json:"dimension"` OrderId string `json:"order_id"` OrderLineItemIds []string `json:"order_line_item_ids"` PackageId string `json:"package_id"` ShippingServiceInfo struct { Currency string `json:"currency"` EarliestDeliveryDays int `json:"earliest_delivery_days"` Id string `json:"id"` LatestDeliveryDays int `json:"latest_delivery_days"` Name string `json:"name"` Price string `json:"price"` ShippingProviderId string `json:"shipping_provider_id"` ShippingProviderName string `json:"shipping_provider_name"` } `json:"shipping_service_info"` Weight struct { Unit string `json:"unit"` Value string `json:"value"` } `json:"weight"` } `json:"data"` }
type CreateProductRsp ¶
type CreateProductRsp struct { BaseRsp Data struct { ProductId string `json:"product_id"` Skus []struct { ExternalSkuId string `json:"external_sku_id"` Id string `json:"id"` SalesAttributes []struct { Id string `json:"id"` ValueId string `json:"value_id"` } `json:"sales_attributes"` SellerSku string `json:"seller_sku"` } `json:"skus"` Warnings []struct { Message string `json:"message"` } `json:"warnings"` } `json:"data"` }
type CreateReturnRsp ¶
type CreateTargetCollaborationRsp ¶ added in v0.1.7
type CreateTargetCollaborationRsp struct { BaseRsp Data struct { TargetCollaboration struct { Id string `json:"id"` } `json:"target_collaboration"` TargetCollaborationConflicts []struct { CreatorUserId string `json:"creator_user_id"` ProductId string `json:"product_id"` } `json:"target_collaboration_conflicts"` } `json:"data"` }
type DeactivateActivityRsp ¶
type DeactivateProductsRsp ¶
type DeleteGlobalProductsRsp ¶
type DeleteProductsRsp ¶
type DeleteShopWebhooksRsp ¶
type DeleteShopWebhooksRsp struct {
BaseRsp
}
type DiagnoseAndOptimizeProductRsp ¶ added in v0.1.9
type DiagnoseAndOptimizeProductRsp struct { BaseRsp Data struct { Diagnoses []struct { DiagnosisResults []struct { Code string `json:"code"` HowToSolve string `json:"how_to_solve"` QualityTier string `json:"quality_tier"` } `json:"diagnosis_results"` Field string `json:"field"` Suggestion struct { Images []struct { Height int `json:"height"` OptimizedUri string `json:"optimized_uri"` OptimizedUrl string `json:"optimized_url"` Uri string `json:"uri"` Url string `json:"url"` Width int `json:"width"` } `json:"images"` SeoWords []struct { Text string `json:"text"` } `json:"seo_words"` SmartTexts []struct { Text string `json:"text"` } `json:"smart_texts"` } `json:"suggestion"` } `json:"diagnoses"` ListingQuality struct { CurrentTier string `json:"current_tier"` RemainingRecommendations int `json:"remaining_recommendations"` } `json:"listing_quality"` } `json:"data"` }
type EditGlobalProductRsp ¶
type EditGlobalProductRsp struct { BaseRsp Data struct { GlobalSkus []struct { Id string `json:"id"` SalesAttributes []struct { Id string `json:"id"` ValueId string `json:"value_id"` } `json:"sales_attributes"` SellerSku string `json:"seller_sku"` } `json:"global_skus"` PublishResults []struct { FailReasons []struct { Message string `json:"message"` } `json:"fail_reasons"` Region string `json:"region"` Status string `json:"status"` } `json:"publish_results"` } `json:"data"` }
type EditOpenCollaborationSampleRuleRsp ¶ added in v0.1.7
type EditOpenCollaborationSampleRuleRsp struct {
BaseRsp
}
type EditOpenCollaborationSettingsRsp ¶ added in v0.1.7
type EditOpenCollaborationSettingsRsp struct {
BaseRsp
}
type EditProductRsp ¶
type EditProductRsp struct { BaseRsp Data struct { ProductId string `json:"product_id"` Skus []struct { ExternalSkuId string `json:"external_sku_id"` Id string `json:"id"` SalesAttributes []struct { Id string `json:"id"` ValueId string `json:"value_id"` } `json:"sales_attributes"` SellerSku string `json:"seller_sku"` } `json:"skus"` Warnings []struct { Message string `json:"message"` } `json:"warnings"` } `json:"data"` }
type FBTMerchantOnboardingRegionItem ¶ added in v0.1.5
type FBTMerchantOnboardingRegionItem struct {
RegionCode string `json:"region_code"`
}
type FbtWarehouseInventoryItem ¶ added in v0.1.5
type FulfillmentUploadDeliveryFileRsp ¶ added in v0.1.4
type FulfillmentUploadDeliveryImageRsp ¶ added in v0.1.4
type GenerateAffiliateProductPromotionLinkRsp ¶ added in v0.1.7
type GetAccessTokenRsp ¶
type GetAccessTokenRsp struct { BaseRsp Data struct { AccessToken string `json:"access_token"` AccessTokenExpireIn int64 `json:"access_token_expire_in"` RefreshToken string `json:"refresh_token"` RefreshTokenExpireIn int64 `json:"refresh_token_expire_in"` OpenId string `json:"open_id"` SellerName string `json:"seller_name"` SellerBaseRegion string `json:"seller_base_region"` UserType int `json:"user_type"` } `json:"data"` }
type GetActiveShopsRsp ¶
type GetActivityRsp ¶
type GetActivityRsp struct { BaseRsp Data struct { ActivityId string `json:"activity_id"` ActivityType string `json:"activity_type"` BeginTime int64 `json:"begin_time"` CreateTime int64 `json:"create_time"` EndTime int64 `json:"end_time"` ProductLevel string `json:"product_level"` Products []struct { ActivityPrice struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"activity_price"` Discount string `json:"discount"` Id string `json:"id"` QuantityLimit int `json:"quantity_limit"` QuantityPerUser int `json:"quantity_per_user"` Skus []struct { ActivityPrice struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"activity_price"` Discount string `json:"discount"` Id string `json:"id"` QuantityLimit int `json:"quantity_limit"` QuantityPerUser int `json:"quantity_per_user"` } `json:"skus"` } `json:"products"` Status string `json:"status"` Title string `json:"title"` UpdateTime int `json:"update_time"` } `json:"data"` }
type GetAfterSaleEligibilityRsp ¶
type GetAfterSaleEligibilityRsp struct { BaseRsp Data struct { SkuEligibility []struct { LineItemEligibility []struct { Eligible bool `json:"eligible"` IneligibleCode int `json:"ineligible_code"` IneligibleReason string `json:"ineligible_reason"` OrderLineItemsIds []string `json:"order_line_items_ids"` RequestType string `json:"request_type"` } `json:"line_item_eligibility"` SkuId string `json:"sku_id"` } `json:"sku_eligibility"` } `json:"data"` }
type GetAgentSettingsRsp ¶
type GetAttributesRsp ¶
type GetAttributesRsp struct { BaseRsp Data struct { Attributes []struct { Id string `json:"id"` IsCustomizable bool `json:"is_customizable"` IsMultipleSelection bool `json:"is_multiple_selection"` IsRequried bool `json:"is_requried"` Name string `json:"name"` RequirementConditions []struct { AttributeId string `json:"attribute_id"` AttributeValueId string `json:"attribute_value_id"` ConditionType string `json:"condition_type"` } `json:"requirement_conditions"` Type string `json:"type"` ValueDataFormat string `json:"value_data_format"` Values []struct { Id string `json:"id"` Name string `json:"name"` } `json:"values"` } `json:"attributes"` } `json:"data"` }
type GetAuthorizedShopRsp ¶
type GetBrandsRsp ¶
type GetBrandsRsp struct { BaseRsp Data struct { Brands []struct { AuthorizedStatus string `json:"authorized_status"` BrandStatus string `json:"brand_status"` Id string `json:"id"` IsT1Brand bool `json:"is_t1_brand"` Name string `json:"name"` } `json:"brands"` NextPageToken string `json:"next_page_token"` TotalCount int `json:"total_count"` } `json:"data"` }
type GetCategoriesRsp ¶
type GetCategoryRulesRsp ¶
type GetCategoryRulesRsp struct { Data struct { Cod struct { IsSupported bool `json:"is_supported"` } `json:"cod"` Epr struct { IsRequired bool `json:"is_required"` } `json:"epr"` PackageDimension struct { IsRequired bool `json:"is_required"` } `json:"package_dimension"` ProductCertifications []struct { Id string `json:"id"` IsRequired bool `json:"is_required"` Name string `json:"name"` RequirementConditions []struct { AttributeId string `json:"attribute_id"` AttributeValueId string `json:"attribute_value_id"` ConditionType string `json:"condition_type"` } `json:"requirement_conditions"` SampleImageUrl string `json:"sample_image_url"` } `json:"product_certifications"` SizeChart struct { IsRequired bool `json:"is_required"` IsSupported bool `json:"is_supported"` } `json:"size_chart"` } `json:"data"` }
type GetConversationListRsp ¶ added in v0.1.9
type GetConversationListRsp struct { BaseRsp Data struct { Conversations []struct { Avatar string `json:"avatar"` CreatorImId string `json:"creator_im_id"` Id string `json:"id"` UnreadCount int `json:"unread_count"` Username string `json:"username"` } `json:"conversations"` HasMore bool `json:"has_more"` NextPageToken string `json:"next_page_token"` } `json:"data"` }
type GetConversationRsp ¶
type GetConversationRsp struct { BaseRsp Data struct { Conversations []Conversation `json:"conversations"` NextPageToken string `json:"next_page_token"` } `json:"data"` }
type GetConversationsRsp ¶
type GetConversationsRsp struct { BaseRsp Data struct { Conversations []Conversation `json:"conversations"` NextPageToken string `json:"next_page_token"` } `json:"data"` }
type GetCouponRsp ¶
type GetCouponRsp struct { BaseRsp Data struct { Coupon struct { ClaimDuration struct { EndTime int64 `json:"end_time"` StartTime int64 `json:"start_time"` } `json:"claim_duration"` CreateTime int64 `json:"create_time"` CreationSource string `json:"creation_source"` Discount struct { MaxDiscount struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"max_discount"` Percentage string `json:"percentage"` ReductionAmount struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"reduction_amount"` Type string `json:"type"` } `json:"discount"` DisplayChannels []string `json:"display_channels"` DisplayType string `json:"display_type"` Id string `json:"id"` LiveTasks []struct { MinWatchTime string `json:"min_watch_time"` Type string `json:"type"` } `json:"live_tasks"` ProductIds []string `json:"product_ids"` ProductScope string `json:"product_scope"` PromoCode string `json:"promo_code"` RedemptionDuration struct { EndTime int64 `json:"end_time"` RelativeTime int64 `json:"relative_time"` StartTime int64 `json:"start_time"` Type string `json:"type"` } `json:"redemption_duration"` SellerTnc string `json:"seller_tnc"` Status string `json:"status"` TargetBuyerSegment string `json:"target_buyer_segment"` Threshold struct { MinSpend struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"min_spend"` Type string `json:"type"` } `json:"threshold"` Title string `json:"title"` UpdateTime int64 `json:"update_time"` UsageLimits struct { RedemptionLimit int `json:"redemption_limit"` SingleBuyerClaimLimit int `json:"single_buyer_claim_limit"` TotalClaimLimit int `json:"total_claim_limit"` } `json:"usage_limits"` UsageStats struct { ClaimedCount int `json:"claimed_count"` RedeemedCount int `json:"redeemed_count"` } `json:"usage_stats"` } `json:"coupon"` } `json:"data"` }
type GetCustomerServicePerformanceRsp ¶
type GetCustomerServicePerformanceRsp struct { BaseRsp Data struct { Performance struct { ResponsePercentage string `json:"response_percentage"` ResponseTimeMins string `json:"response_time_mins"` SatisfactionPercentage string `json:"satisfaction_percentage"` SupportSessionCount int `json:"support_session_count"` } `json:"performance"` } `json:"data"` }
type GetEligibleShippingServiceRsp ¶ added in v0.1.4
type GetEligibleShippingServiceRsp struct { BaseRsp Data struct { Dimension struct { Height string `json:"height"` Length string `json:"length"` Unit string `json:"unit"` Width string `json:"width"` } `json:"dimension"` OrderId string `json:"order_id"` OrderLineId []string `json:"order_line_id"` ShippingServices []struct { Currency string `json:"currency"` EarliestDeliveryDays int `json:"earliest_delivery_days"` Id string `json:"id"` IsDefault bool `json:"is_default"` LatestDeliveryDays int `json:"latest_delivery_days"` Name string `json:"name"` Price string `json:"price"` ShippingProviderId string `json:"shipping_provider_id"` ShippingProviderName string `json:"shipping_provider_name"` } `json:"shipping_services"` Weight struct { Unit string `json:"unit"` Value string `json:"value"` } `json:"weight"` } `json:"data"` }
type GetFBTMerchantOnboardedRegionsRsp ¶ added in v0.1.5
type GetFBTWarehouseListRsp ¶ added in v0.1.5
type GetFBTWarehouseListRsp struct { BaseRsp Data struct { Warehouses []struct { Addresses []struct { AddressLine1 string `json:"address_line_1"` AddressLine2 string `json:"address_line_2"` AddressLine3 string `json:"address_line_3"` City string `json:"city"` District string `json:"district"` PostalCode string `json:"postal_code"` RegionCode string `json:"region_code"` State string `json:"state"` } `json:"addresses"` FbtWarehouseId string `json:"fbt_warehouse_id"` LogisticsServices []struct { Id string `json:"id"` Name string `json:"name"` Subscribed bool `json:"subscribed"` } `json:"logistics_services"` Name string `json:"name"` Subscribed bool `json:"subscribed"` Type string `json:"type"` WarehouseIds []string `json:"warehouse_ids"` } `json:"warehouses"` } `json:"data"` }
type GetGlobalAttributesRsp ¶
type GetGlobalAttributesRsp struct { BaseRsp Data struct { Attributes []struct { Id string `json:"id"` IsCustomizable bool `json:"is_customizable"` IsMultipleSelection bool `json:"is_multiple_selection"` IsRequried bool `json:"is_requried"` Name string `json:"name"` Type string `json:"type"` Values []struct { Id string `json:"id"` Name string `json:"name"` } `json:"values"` } `json:"attributes"` } `json:"data"` }
type GetGlobalCategoriesRsp ¶
type GetGlobalCategoriesRsp struct { BaseRsp Data struct { Categories []struct { Id string `json:"id"` IsLeaf bool `json:"is_leaf"` LocalName string `json:"local_name"` ParentId string `json:"parent_id"` PermissionStatuses []string `json:"permission_statuses"` } `json:"categories"` } `json:"data"` }
type GetGlobalCategoryRulesRsp ¶
type GetGlobalCategoryRulesRsp struct { BaseRsp Data struct { ProductCertifications []struct { Id string `json:"id"` IsRequired bool `json:"is_required"` Name string `json:"name"` OptionalRegions []string `json:"optional_regions"` RequiredRegions []string `json:"required_regions"` SampleImageUrl string `json:"sample_image_url"` } `json:"product_certifications"` SizeChart struct { IsRequired bool `json:"is_required"` IsSupported bool `json:"is_supported"` } `json:"size_chart"` } `json:"data"` }
type GetGlobalProductRsp ¶
type GetGlobalProductRsp struct { BaseRsp Data struct { Brand struct { Id string `json:"id"` } `json:"brand"` Category struct { Id string `json:"id"` } `json:"category"` Certifications []struct { Files []struct { Format string `json:"format"` Id string `json:"id"` Name string `json:"name"` Urls []string `json:"urls"` } `json:"files"` Id string `json:"id"` Images []struct { Height int `json:"height"` Uri string `json:"uri"` Width int `json:"width"` } `json:"images"` Title string `json:"title"` } `json:"certifications"` CreateTime int64 `json:"create_time"` Description string `json:"description"` GlobalSellerId string `json:"global_seller_id"` Id string `json:"id"` MainImages []struct { Height int `json:"height"` Uri string `json:"uri"` Width int `json:"width"` } `json:"main_images"` Manufacturer struct { Address string `json:"address"` Email string `json:"email"` Name string `json:"name"` PhoneNumber string `json:"phone_number"` } `json:"manufacturer"` PackageDimensions struct { Height string `json:"height"` Length string `json:"length"` Unit string `json:"unit"` Width string `json:"width"` } `json:"package_dimensions"` PackageWeight struct { Unit string `json:"unit"` Value string `json:"value"` } `json:"package_weight"` ProductAttributes []struct { Id string `json:"id"` Name string `json:"name"` Values []struct { Id string `json:"id"` Name string `json:"name"` } `json:"values"` } `json:"product_attributes"` Products []struct { Id string `json:"id"` Region string `json:"region"` } `json:"products"` SizeChart struct { Image struct { Height int `json:"height"` Uri string `json:"uri"` Width int `json:"width"` } `json:"image"` Template struct { Id string `json:"id"` } `json:"template"` } `json:"size_chart"` Skus []struct { GlobalQuantity int `json:"global_quantity"` Id string `json:"id"` IdentifierCode struct { Code string `json:"code"` Type string `json:"type"` } `json:"identifier_code"` Inventory []struct { GlobalWarehouseId string `json:"global_warehouse_id"` Quantity int `json:"quantity"` } `json:"inventory"` Price struct { Amount string `json:"amount"` Currency string `json:"currency"` UnitPrice string `json:"unit_price"` } `json:"price"` SalesAttributes []struct { Id string `json:"id"` Name string `json:"name"` SkuImg struct { Height int `json:"height"` ThumbUrls []string `json:"thumb_urls"` Uri string `json:"uri"` Urls []string `json:"urls"` Width int `json:"width"` } `json:"sku_img"` ValueId string `json:"value_id"` ValueName string `json:"value_name"` } `json:"sales_attributes"` SellerSku string `json:"seller_sku"` SkuUnitCount string `json:"sku_unit_count"` } `json:"skus"` Title string `json:"title"` UpdateTime int64 `json:"update_time"` Video struct { Id string `json:"id"` } `json:"video"` } `json:"data"` }
type GetInboundOrderRsp ¶ added in v0.1.5
type GetInboundOrderRsp struct { BaseRsp Data struct { InboundOrders []struct { ActualArriveTime int64 `json:"actual_arrive_time"` Carriers []struct { CarrierName string `json:"carrier_name"` TrackingNumber string `json:"tracking_number"` } `json:"carriers"` CreateTime int64 `json:"create_time"` ExpectArriveTime int64 `json:"expect_arrive_time"` Id string `json:"id"` Merchant struct { Id string `json:"id"` Name string `json:"name"` } `json:"merchant"` OrderOperationLogs []struct { OperateTime int64 `json:"operate_time"` OrderStatus string `json:"order_status"` } `json:"order_operation_logs"` PlannedGoods []struct { Id string `json:"id"` Name string `json:"name"` Quantity int `json:"quantity"` ReferenceCode string `json:"reference_code"` SkuIds []string `json:"sku_ids"` } `json:"planned_goods"` ReceivedBatches []struct { DefectiveQuantity int `json:"defective_quantity"` GoodsId string `json:"goods_id"` Id string `json:"id"` NormalQuantity int `json:"normal_quantity"` ProductIds []string `json:"product_ids"` SkuIds []string `json:"sku_ids"` TotalQuantity int `json:"total_quantity"` } `json:"received_batches"` ShipTime int `json:"ship_time"` Type string `json:"type"` Warehouse struct { FbtWarehouseId string `json:"fbt_warehouse_id"` Name string `json:"name"` Type string `json:"type"` WarehouseIds []string `json:"warehouse_ids"` } `json:"warehouse"` } `json:"inbound_orders"` } `json:"data"` }
type GetLatestUnreadMessagesRsp ¶ added in v0.1.9
type GetLatestUnreadMessagesRsp struct { BaseRsp Data struct { NewestMessageList []struct { Content string `json:"content"` ConversationId string `json:"conversation_id"` SenderId string `json:"sender_id"` Type string `json:"type"` UnreadMessageCount int `json:"unread_message_count"` } `json:"newest_message_list"` } `json:"data"` }
type GetMarketplaceCreatorPerformanceRsp ¶ added in v0.1.7
type GetMarketplaceCreatorPerformanceRsp struct { BaseRsp Data struct { Creator struct { Avatar struct { Url string `json:"url"` } `json:"avatar"` AvgCommissionRate int `json:"avg_commission_rate"` AvgCommissionRateRange struct { MaximumAmount int `json:"maximum_amount"` MinimumAmount int `json:"minimum_amount"` } `json:"avg_commission_rate_range"` AvgEcLiveCommentCount int `json:"avg_ec_live_comment_count"` AvgEcLiveLikeCount int `json:"avg_ec_live_like_count"` AvgEcLiveShareCount int `json:"avg_ec_live_share_count"` AvgEcLiveViewCount int `json:"avg_ec_live_view_count"` AvgEcVideoCommentCount int `json:"avg_ec_video_comment_count"` AvgEcVideoLikeCount int `json:"avg_ec_video_like_count"` AvgEcVideoPlayCount int `json:"avg_ec_video_play_count"` AvgEcVideoShareCount int `json:"avg_ec_video_share_count"` AvgGmvPerBuyer struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"avg_gmv_per_buyer"` AvgGmvPerBuyerRange struct { Currency string `json:"currency"` MaximumAmount string `json:"maximum_amount"` MinimumAmount string `json:"minimum_amount"` } `json:"avg_gmv_per_buyer_range"` BioDescription string `json:"bio_description"` BrandCollaborationCount int `json:"brand_collaboration_count"` CategoryGmvDistribution []struct { CategoryId string `json:"category_id"` Value string `json:"value"` } `json:"category_gmv_distribution"` CategoryIds []string `json:"category_ids"` ContentGmvDistribution []struct { ContentType string `json:"content_type"` Value string `json:"value"` } `json:"content_gmv_distribution"` EcLiveCount int `json:"ec_live_count"` EcLiveEngagementRate string `json:"ec_live_engagement_rate"` EcVideoCount int `json:"ec_video_count"` FollowerCount int `json:"follower_count"` Gmv struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"gmv"` GmvRange struct { Currency string `json:"currency"` MaximumAmount string `json:"maximum_amount"` MinimumAmount string `json:"minimum_amount"` } `json:"gmv_range"` Gpm struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"gpm"` GpmRange struct { Currency string `json:"currency"` MaximumAmount string `json:"maximum_amount"` MinimumAmount string `json:"minimum_amount"` } `json:"gpm_range"` LiveGmv struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"live_gmv"` LiveGpm struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"live_gpm"` LiveGpmRange struct { Currency string `json:"currency"` MaximumAmount string `json:"maximum_amount"` MinimumAmount string `json:"minimum_amount"` } `json:"live_gpm_range"` Nickname string `json:"nickname"` ProductOriginalPriceRange struct { Currency string `json:"currency"` MaximumAmount string `json:"maximum_amount"` MinimumAmount string `json:"minimum_amount"` } `json:"product_original_price_range"` ProfileTtUri string `json:"profile_tt_uri"` PromotedProductNum int `json:"promoted_product_num"` SelectionRegion string `json:"selection_region"` TopCollaboratedBrandIds []string `json:"top_collaborated_brand_ids"` UnitsSold int `json:"units_sold"` UnitsSoldRange struct { MaximumAmount int `json:"maximum_amount"` MinimumAmount int `json:"minimum_amount"` } `json:"units_sold_range"` Username string `json:"username"` VideoGmv struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"video_gmv"` VideoGpm struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"video_gpm"` VideoGpmRange struct { Currency string `json:"currency"` MaximumAmount string `json:"maximum_amount"` MinimumAmount string `json:"minimum_amount"` } `json:"video_gpm_range"` } `json:"creator"` } `json:"data"` }
type GetMessageInTheConversationRsp ¶ added in v0.1.9
type GetMessageInTheConversationRsp struct { BaseRsp Data struct { HasMore bool `json:"has_more"` Messages []struct { ConversationIndex string `json:"conversation_index"` MessageBody struct { Content string `json:"content"` ConversationId string `json:"conversation_id"` CreateTime int64 `json:"create_time"` Id string `json:"id"` SenderId string `json:"sender_id"` Type string `json:"type"` } `json:"message_body"` } `json:"messages"` NextPageToken string `json:"next_page_token"` } `json:"data"` }
type GetMessageTemplatesRsp ¶ added in v0.1.7
type GetMessageTemplatesRsp struct { BaseRsp Data struct { MessageTemplates []struct { CouponCardRules struct { CouponType []string `json:"coupon_type"` MaxCount int `json:"max_count"` MinCount int `json:"min_count"` } `json:"coupon_card_rules"` Id string `json:"id"` MessageBody string `json:"message_body"` MessageTitle string `json:"message_title"` ProductCardRules struct { MaxCount int `json:"max_count"` MinCount int `json:"min_count"` } `json:"product_card_rules"` } `json:"message_templates"` } `json:"data"` }
type GetOpenCollaborationCreatorContentDetailRsp ¶ added in v0.1.7
type GetOpenCollaborationCreatorContentDetailRsp struct { BaseRsp Data struct { CreatorContentDetails []struct { CreatorProfile struct { Avatar struct { Url string `json:"url"` } `json:"avatar"` FollowerCount int `json:"follower_count"` Nickname string `json:"nickname"` Username string `json:"username"` } `json:"creator_profile"` LiveCount int `json:"live_count"` PromotionEndTime int64 `json:"promotion_end_time"` PromotionStatus string `json:"promotion_status"` VideoCount int `json:"video_count"` } `json:"creator_content_details"` NextPageToken string `json:"next_page_token"` Product struct { Id string `json:"id"` ImageUrl string `json:"image_url"` } `json:"product"` TotalCount int `json:"total_count"` } `json:"data"` }
type GetOpenCollaborationSampleRulesRsp ¶ added in v0.1.7
type GetOpenCollaborationSampleRulesRsp struct { BaseRsp Data struct { SampleRules []struct { AvailableQuantity int `json:"available_quantity"` EndTime int64 `json:"end_time"` IsSampleTimeUnlimited bool `json:"is_sample_time_unlimited"` ProductId string `json:"product_id"` SampleQuota int `json:"sample_quota"` StartTime int64 `json:"start_time"` Status string `json:"status"` Thresholds struct { AvgEcVideoViews int `json:"avg_ec_video_views"` CategoryIds []string `json:"category_ids"` MinimumFollowerCount int `json:"minimum_follower_count"` MinimumGmv int `json:"minimum_gmv"` PredictedFulfillmentRank string `json:"predicted_fulfillment_rank"` } `json:"thresholds"` } `json:"sample_rules"` } `json:"data"` }
type GetOpenCollaborationSettingsRsp ¶ added in v0.1.7
type GetOrderDetailRsp ¶
type GetOrderListRsp ¶
type GetOrderSplitAttributesRsp ¶ added in v0.1.4
type GetOrderStatementTransactionsRsp ¶
type GetOrderStatementTransactionsRsp struct { BaseRsp Data struct { OrderCreateTime int64 `json:"order_create_time"` OrderId string `json:"order_id"` StatementTransactions []struct { ActualReturnShippingFeeAmount string `json:"actual_return_shipping_fee_amount"` ActualShippingFeeAmount string `json:"actual_shipping_fee_amount"` AdjustmentAmount string `json:"adjustment_amount"` AffiliateAdsCommissionAmount string `json:"affiliate_ads_commission_amount"` AffiliateCommissionAmount string `json:"affiliate_commission_amount"` AffiliateCommissionBeforePit string `json:"affiliate_commission_before_pit"` AffiliatePartnerCommissionAmount string `json:"affiliate_partner_commission_amount"` AfterSellerDiscountsSubtotalAmount string `json:"after_seller_discounts_subtotal_amount"` Currency string `json:"currency"` CustomerOrderRefundAmount string `json:"customer_order_refund_amount"` CustomerPaidShippingFeeAmount string `json:"customer_paid_shipping_fee_amount"` CustomerPaidShippingFeeRefundAmount string `json:"customer_paid_shipping_fee_refund_amount"` CustomerPaymentAmount string `json:"customer_payment_amount"` CustomerRefundAmount string `json:"customer_refund_amount"` CustomerShippingFeeAmount string `json:"customer_shipping_fee_amount"` CustomerShippingFeeOffsetAmount string `json:"customer_shipping_fee_offset_amount"` FbmShippingCostAmount string `json:"fbm_shipping_cost_amount"` FbtFulfillmentFeeAmount string `json:"fbt_fulfillment_fee_amount"` FbtShippingCostAmount string `json:"fbt_shipping_cost_amount"` FeeAmount string `json:"fee_amount"` GrossSalesAmount string `json:"gross_sales_amount"` GrossSalesRefundAmount string `json:"gross_sales_refund_amount"` Id string `json:"id"` NetSalesAmount string `json:"net_sales_amount"` PitAmount string `json:"pit_amount"` PlatformCommissionAmount string `json:"platform_commission_amount"` PlatformDiscountAmount string `json:"platform_discount_amount"` PlatformDiscountRefundAmount string `json:"platform_discount_refund_amount"` PlatformRefundSubsidyAmount string `json:"platform_refund_subsidy_amount"` PlatformShippingFeeDiscountAmount string `json:"platform_shipping_fee_discount_amount"` PromoShippingIncentiveAmount string `json:"promo_shipping_incentive_amount"` ReferralFeeAmount string `json:"referral_fee_amount"` RefundAdministrationFeeAmount string `json:"refund_administration_fee_amount"` RefundShippingCostDiscountAmount string `json:"refund_shipping_cost_discount_amount"` RetailDeliveryFeeAmount string `json:"retail_delivery_fee_amount"` RetailDeliveryFeePaymentAmount string `json:"retail_delivery_fee_payment_amount"` RetailDeliveryFeeRefundAmount string `json:"retail_delivery_fee_refund_amount"` ReturnShippingFeeAmount string `json:"return_shipping_fee_amount"` RevenueAmount string `json:"revenue_amount"` SalesTaxAmount string `json:"sales_tax_amount"` SalesTaxPaymentAmount string `json:"sales_tax_payment_amount"` SalesTaxRefundAmount string `json:"sales_tax_refund_amount"` SellerDiscountAmount string `json:"seller_discount_amount"` SellerDiscountRefundAmount string `json:"seller_discount_refund_amount"` SettlementAmount string `json:"settlement_amount"` ShippingCostAmount string `json:"shipping_cost_amount"` ShippingCostDiscountAmount string `json:"shipping_cost_discount_amount"` ShippingFeeAmount string `json:"shipping_fee_amount"` ShippingFeeSubsidyAmount string `json:"shipping_fee_subsidy_amount"` ShippingInsuranceFeeAmount string `json:"shipping_insurance_fee_amount"` SignatureConfirmationFeeAmount string `json:"signature_confirmation_fee_amount"` SkuStatementTransactions []struct { ActualReturnShippingFeeAmount string `json:"actual_return_shipping_fee_amount"` ActualShippingFeeAmount string `json:"actual_shipping_fee_amount"` AdjustmentAmount string `json:"adjustment_amount"` AffiliateAdsCommissionAmount string `json:"affiliate_ads_commission_amount"` AffiliateCommissionAmount string `json:"affiliate_commission_amount"` AffiliateCommissionBeforePit string `json:"affiliate_commission_before_pit"` AffiliatePartnerCommissionAmount string `json:"affiliate_partner_commission_amount"` AfterSellerDiscountsSubtotalAmount string `json:"after_seller_discounts_subtotal_amount"` Currency string `json:"currency"` CustomerOrderRefundAmount string `json:"customer_order_refund_amount"` CustomerPaidShippingFeeAmount string `json:"customer_paid_shipping_fee_amount"` CustomerPaidShippingFeeRefundAmount string `json:"customer_paid_shipping_fee_refund_amount"` CustomerPaymentAmount string `json:"customer_payment_amount"` CustomerRefundAmount string `json:"customer_refund_amount"` CustomerShippingFeeAmount string `json:"customer_shipping_fee_amount"` CustomerShippingFeeOffsetAmount string `json:"customer_shipping_fee_offset_amount"` FbmShippingCostAmount string `json:"fbm_shipping_cost_amount"` FbtFulfillmentFeeAmount string `json:"fbt_fulfillment_fee_amount"` FbtShippingCostAmount string `json:"fbt_shipping_cost_amount"` FeeAmount string `json:"fee_amount"` GrossSalesAmount string `json:"gross_sales_amount"` GrossSalesRefundAmount string `json:"gross_sales_refund_amount"` NetSalesAmount string `json:"net_sales_amount"` PitAmount string `json:"pit_amount"` PlatformCommissionAmount string `json:"platform_commission_amount"` PlatformDiscountAmount string `json:"platform_discount_amount"` PlatformDiscountRefundAmount string `json:"platform_discount_refund_amount"` PlatformRefundSubsidyAmount string `json:"platform_refund_subsidy_amount"` PlatformShippingFeeDiscountAmount string `json:"platform_shipping_fee_discount_amount"` ProductName string `json:"product_name"` PromoShippingIncentiveAmount string `json:"promo_shipping_incentive_amount"` Quantity int `json:"quantity"` ReferralFeeAmount string `json:"referral_fee_amount"` RefundAdministrationFeeAmount string `json:"refund_administration_fee_amount"` RefundShippingCostDiscountAmount string `json:"refund_shipping_cost_discount_amount"` RetailDeliveryFeeAmount string `json:"retail_delivery_fee_amount"` RetailDeliveryFeePaymentAmount string `json:"retail_delivery_fee_payment_amount"` RetailDeliveryFeeRefundAmount string `json:"retail_delivery_fee_refund_amount"` ReturnShippingFeeAmount string `json:"return_shipping_fee_amount"` RevenueAmount string `json:"revenue_amount"` SalesTaxAmount string `json:"sales_tax_amount"` SalesTaxPaymentAmount string `json:"sales_tax_payment_amount"` SalesTaxRefundAmount string `json:"sales_tax_refund_amount"` SellerDiscountAmount string `json:"seller_discount_amount"` SellerDiscountRefundAmount string `json:"seller_discount_refund_amount"` SettlementAmount string `json:"settlement_amount"` ShippingCostAmount string `json:"shipping_cost_amount"` ShippingCostDiscountAmount string `json:"shipping_cost_discount_amount"` ShippingFeeAmount string `json:"shipping_fee_amount"` ShippingFeeSubsidyAmount string `json:"shipping_fee_subsidy_amount"` ShippingInsuranceFeeAmount string `json:"shipping_insurance_fee_amount"` SignatureConfirmationFeeAmount string `json:"signature_confirmation_fee_amount"` SkuId string `json:"sku_id"` SkuName string `json:"sku_name"` TransactionFeeAmount string `json:"transaction_fee_amount"` } `json:"sku_statement_transactions"` StatementId string `json:"statement_id"` StatementTime int64 `json:"statement_time"` Status string `json:"status"` TransactionFeeAmount string `json:"transaction_fee_amount"` } `json:"statement_transactions"` } `json:"data"` }
type GetPackageDetailRsp ¶ added in v0.1.4
type GetPackageDetailRsp struct { BaseRsp Data struct { CreateTime int64 `json:"create_time"` DeliveryOptionId string `json:"delivery_option_id"` DeliveryOptionName string `json:"delivery_option_name"` Dimension struct { Height string `json:"height"` Length string `json:"length"` Unit string `json:"unit"` Width string `json:"width"` } `json:"dimension"` HandoverMethod string `json:"handover_method"` HasMultiSkus bool `json:"has_multi_skus"` LastMileTrackingNumber string `json:"last_mile_tracking_number"` NoteTag string `json:"note_tag"` OrderLineItemIds []string `json:"order_line_item_ids"` Orders []struct { Id string `json:"id"` Skus []struct { Id string `json:"id"` ImageUrl string `json:"image_url"` Name string `json:"name"` Quantity int `json:"quantity"` } `json:"skus"` } `json:"orders"` PackageId string `json:"package_id"` PackageStatus string `json:"package_status"` PickupSlot struct { EndTime int64 `json:"end_time"` StartTime int64 `json:"start_time"` } `json:"pickup_slot"` RecipientAddress struct { AddressDetail string `json:"address_detail"` AddressLine1 string `json:"address_line1"` AddressLine2 string `json:"address_line2"` AddressLine3 string `json:"address_line3"` AddressLine4 string `json:"address_line4"` FullAddress string `json:"full_address"` Name string `json:"name"` PhoneNumber string `json:"phone_number"` PostalCode string `json:"postal_code"` RegionCode string `json:"region_code"` } `json:"recipient_address"` SenderAddress struct { AddressDetail string `json:"address_detail"` AddressLine1 string `json:"address_line1"` AddressLine2 string `json:"address_line2"` AddressLine3 string `json:"address_line3"` AddressLine4 string `json:"address_line4"` FullAddress string `json:"full_address"` Name string `json:"name"` PhoneNumber string `json:"phone_number"` PostalCode string `json:"postal_code"` RegionCode string `json:"region_code"` } `json:"sender_address"` ShippingProviderId string `json:"shipping_provider_id"` ShippingProviderName string `json:"shipping_provider_name"` ShippingType string `json:"shipping_type"` SplitAndCombineTag string `json:"split_and_combine_tag"` TrackingNumber string `json:"tracking_number"` UpdateTime int64 `json:"update_time"` Weight struct { Unit string `json:"unit"` Value string `json:"value"` } `json:"weight"` } `json:"data"` }
type GetPackageHandoverTimeSlotsRsp ¶ added in v0.1.4
type GetPackageHandoverTimeSlotsRsp struct { BaseRsp Data struct { CanDropOff bool `json:"can_drop_off"` CanPickup bool `json:"can_pickup"` CanVanCollection bool `json:"can_van_collection"` DropOffPointUrl string `json:"drop_off_point_url"` PickupSlots []struct { Avaliable bool `json:"avaliable"` EndTime int64 `json:"end_time"` StartTime int64 `json:"start_time"` } `json:"pickup_slots"` } `json:"data"` }
type GetPackageShippingDocumentRsp ¶ added in v0.1.4
type GetPaymentsRsp ¶
type GetPaymentsRsp struct { BaseRsp Data struct { NextPageToken string `json:"next_page_token"` Payments []struct { Amount struct { Currency string `json:"currency"` Value string `json:"value"` } `json:"amount"` BankAccount string `json:"bank_account"` CreateTime int64 `json:"create_time"` ExchangeRate string `json:"exchange_rate"` Id string `json:"id"` PaidTime int64 `json:"paid_time"` PaymentAmountBeforeExchange struct { Currency string `json:"currency"` Value string `json:"value"` } `json:"payment_amount_before_exchange"` ReserveAmount struct { Currency string `json:"currency"` Value string `json:"value"` } `json:"reserve_amount"` SettlementAmount struct { Currency string `json:"currency"` Value string `json:"value"` } `json:"settlement_amount"` Status string `json:"status"` } `json:"payments"` } `json:"data"` }
type GetPriceDetailRsp ¶
type GetPriceDetailRsp struct { BaseRsp Data struct { CodFee string `json:"cod_fee"` CodFeeNetAmount string `json:"cod_fee_net_amount"` Currency string `json:"currency"` LineItems []struct { CodFee string `json:"cod_fee"` CodFeeAmount string `json:"cod_fee_amount"` Currency string `json:"currency"` Id string `json:"id"` NetPriceAmount string `json:"net_price_amount"` Payment string `json:"payment"` ShippingFeeDeductionPlatform string `json:"shipping_fee_deduction_platform"` ShippingFeeDeductionPlatformVoucher string `json:"shipping_fee_deduction_platform_voucher"` ShippingFeeDeductionSeller string `json:"shipping_fee_deduction_seller"` ShippingListPrice string `json:"shipping_list_price"` ShippingSalePrice string `json:"shipping_sale_price"` SkuGiftNetPrice string `json:"sku_gift_net_price"` SkuGiftOriginalPrice string `json:"sku_gift_original_price"` SkuListPrice string `json:"sku_list_price"` SkuSalePrice string `json:"sku_sale_price"` Subtotal string `json:"subtotal"` SubtotalDeductionPlatform string `json:"subtotal_deduction_platform"` SubtotalDeductionSeller string `json:"subtotal_deduction_seller"` SubtotalTaxAmount string `json:"subtotal_tax_amount"` TaxAmount string `json:"tax_amount"` TaxRate string `json:"tax_rate"` Total string `json:"total"` VoucherDeductionPlatform string `json:"voucher_deduction_platform"` VoucherDeductionSeller string `json:"voucher_deduction_seller"` } `json:"line_items"` NetPriceAmount string `json:"net_price_amount"` Payment string `json:"payment"` ShippingFeeDeductionPlatform string `json:"shipping_fee_deduction_platform"` ShippingFeeDeductionPlatformVoucher string `json:"shipping_fee_deduction_platform_voucher"` ShippingFeeDeductionSeller string `json:"shipping_fee_deduction_seller"` ShippingListPrice string `json:"shipping_list_price"` ShippingSalePrice string `json:"shipping_sale_price"` SkuGiftNetPrice string `json:"sku_gift_net_price"` SkuGiftOriginalPrice string `json:"sku_gift_original_price"` SkuListPrice string `json:"sku_list_price"` SkuSalePrice string `json:"sku_sale_price"` Subtotal string `json:"subtotal"` SubtotalDeductionPlatform string `json:"subtotal_deduction_platform"` SubtotalDeductionSeller string `json:"subtotal_deduction_seller"` SubtotalTaxAmount string `json:"subtotal_tax_amount"` TaxAmount string `json:"tax_amount"` TaxRate string `json:"tax_rate"` Total string `json:"total"` VoucherDeductionPlatform string `json:"voucher_deduction_platform"` VoucherDeductionSeller string `json:"voucher_deduction_seller"` } `json:"data"` }
type GetProductRsp ¶
type GetProductRsp struct { BaseRsp Data struct { AuditFailedReasons []struct { Position string `json:"position"` Reasons []string `json:"reasons"` Suggestions []string `json:"suggestions"` } `json:"audit_failed_reasons"` Brand struct { Id string `json:"id"` Name string `json:"name"` } `json:"brand"` CategoryChains []struct { Id string `json:"id"` IsLeaf bool `json:"is_leaf"` LocalName string `json:"local_name"` ParentId string `json:"parent_id"` } `json:"category_chains"` Certifications []struct { Files []struct { Format string `json:"format"` Id string `json:"id"` Name string `json:"name"` Urls []string `json:"urls"` } `json:"files"` Id string `json:"id"` Images []struct { Height int `json:"height"` ThumbUrls []string `json:"thumb_urls"` Uri string `json:"uri"` Urls []string `json:"urls"` Width int `json:"width"` } `json:"images"` Title string `json:"title"` } `json:"certifications"` CreateTime int `json:"create_time"` DeliveryOptions []struct { Id string `json:"id"` IsAvailable bool `json:"is_available"` Name string `json:"name"` } `json:"delivery_options"` Description string `json:"description"` ExternalProductId string `json:"external_product_id"` Id string `json:"id"` IsCodAllowed bool `json:"is_cod_allowed"` MainImages []struct { Height int `json:"height"` ThumbUrls []string `json:"thumb_urls"` Uri string `json:"uri"` Urls []string `json:"urls"` Width int `json:"width"` } `json:"main_images"` PackageDimensions struct { Height string `json:"height"` Length string `json:"length"` Unit string `json:"unit"` Width string `json:"width"` } `json:"package_dimensions"` PackageWeight struct { Unit string `json:"unit"` Value string `json:"value"` } `json:"package_weight"` ProductAttributes []struct { Id string `json:"id"` Name string `json:"name"` Values []struct { Id string `json:"id"` Name string `json:"name"` } `json:"values"` } `json:"product_attributes"` SizeChart struct { Image struct { Height int `json:"height"` ThumbUrls []string `json:"thumb_urls"` Uri string `json:"uri"` Urls []string `json:"urls"` Width int `json:"width"` } `json:"image"` Template struct { Id string `json:"id"` } `json:"template"` } `json:"size_chart"` Skus []struct { ExternalSkuId string `json:"external_sku_id"` Id string `json:"id"` IdentifierCode struct { Code string `json:"code"` Type string `json:"type"` } `json:"identifier_code"` Inventory []struct { Quantity int `json:"quantity"` WarehouseId string `json:"warehouse_id"` } `json:"inventory"` Price struct { Currency string `json:"currency"` SalePrice string `json:"sale_price"` TaxExclusivePrice string `json:"tax_exclusive_price"` } `json:"price"` SalesAttributes []struct { Id string `json:"id"` Name string `json:"name"` SkuImg struct { Height int `json:"height"` ThumbUrls []string `json:"thumb_urls"` Uri string `json:"uri"` Urls []string `json:"urls"` Width int `json:"width"` } `json:"sku_img"` ValueId string `json:"value_id"` ValueName string `json:"value_name"` } `json:"sales_attributes"` SellerSku string `json:"seller_sku"` } `json:"skus"` Status string `json:"status"` Title string `json:"title"` UpdateTime int `json:"update_time"` Video struct { CoverUrl string `json:"cover_url"` Format string `json:"format"` Height int `json:"height"` Id string `json:"id"` Size int `json:"size"` Url string `json:"url"` Width int `json:"width"` } `json:"video"` } `json:"data"` }
type GetProductsSEOWordsRsp ¶
type GetRejectReasonsRsp ¶
type GetReturnRecordsRsp ¶
type GetReturnRecordsRsp struct { BaseRsp Data struct { Records []struct { CreateTime int64 `json:"create_time"` Description string `json:"description"` Event string `json:"event"` Images []struct { Height int `json:"height"` Url string `json:"url"` Width int `json:"width"` } `json:"images"` Note string `json:"note"` ReasonText string `json:"reason_text"` Role string `json:"role"` Videos []struct { Cover string `json:"cover"` DurationMillis int `json:"duration_millis"` Height int `json:"height"` Url string `json:"url"` Width int `json:"width"` } `json:"videos"` } `json:"records"` } `json:"data"` }
type GetSellerPermissionsRsp ¶
type GetShippingProvidersRsp ¶
type GetShopPerformanceRsp ¶ added in v0.1.3
type GetShopPerformanceRsp struct { BaseRsp Data struct { LatestAvailableDate string `json:"latest_available_date"` Performance struct { ComparisonIntervals []struct { AvgOrderValue struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"avg_order_value"` AvgProductPageVisitorBreakdowns []struct { Amount int `json:"amount"` Type string `json:"type"` } `json:"avg_product_page_visitor_breakdowns"` AvgProductPageVisitors int `json:"avg_product_page_visitors"` BuyerBreakdowns []struct { Amount int `json:"amount"` Type string `json:"type"` } `json:"buyer_breakdowns"` Buyers int `json:"buyers"` CancellationsAndReturns int `json:"cancellations_and_returns"` EndDate string `json:"end_date"` Gmv struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"gmv"` GmvBreakdowns []struct { Amount string `json:"amount"` Currency string `json:"currency"` Type string `json:"type"` } `json:"gmv_breakdowns"` Orders int `json:"orders"` ProductImpressionBreakdowns []struct { Amount int `json:"amount"` Type string `json:"type"` } `json:"product_impression_breakdowns"` ProductImpressions int `json:"product_impressions"` ProductPageViewBreakdowns []struct { Amount int `json:"amount"` Type string `json:"type"` } `json:"product_page_view_breakdowns"` ProductPageViews int `json:"product_page_views"` Refunds struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"refunds"` SkuOrders int `json:"sku_orders"` StartDate string `json:"start_date"` UnitsSold int `json:"units_sold"` } `json:"comparison_intervals"` Intervals []struct { AvgOrderValue struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"avg_order_value"` AvgProductPageVisitorBreakdowns []struct { Amount int `json:"amount"` Type string `json:"type"` } `json:"avg_product_page_visitor_breakdowns"` AvgProductPageVisitors int `json:"avg_product_page_visitors"` BuyerBreakdowns []struct { Amount int `json:"amount"` Type string `json:"type"` } `json:"buyer_breakdowns"` Buyers int `json:"buyers"` CancellationsAndReturns int `json:"cancellations_and_returns"` EndDate string `json:"end_date"` Gmv struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"gmv"` GmvBreakdowns []struct { Amount string `json:"amount"` Currency string `json:"currency"` Type string `json:"type"` } `json:"gmv_breakdowns"` Orders int `json:"orders"` ProductImpressionBreakdowns []struct { Amount int `json:"amount"` Type string `json:"type"` } `json:"product_impression_breakdowns"` ProductImpressions int `json:"product_impressions"` ProductPageViewBreakdowns []struct { Amount int `json:"amount"` Type string `json:"type"` } `json:"product_page_view_breakdowns"` ProductPageViews int `json:"product_page_views"` Refunds struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"refunds"` SkuOrders int `json:"sku_orders"` StartDate string `json:"start_date"` UnitsSold int `json:"units_sold"` } `json:"intervals"` } `json:"performance"` } `json:"data"` }
type GetShopProductPerformanceListRsp ¶ added in v0.1.3
type GetShopProductPerformanceListRsp struct { BaseRsp Data struct { LatestAvailableDate string `json:"latest_available_date"` NextPageToken string `json:"next_page_token"` Products []struct { ClickThroughRate string `json:"click_through_rate"` Gmv struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"gmv"` Id string `json:"id"` Orders int `json:"orders"` UnitsSold int `json:"units_sold"` } `json:"products"` TotalCount int `json:"total_count"` } `json:"data"` }
type GetShopProductPerformanceRsp ¶ added in v0.1.3
type GetShopProductPerformanceRsp struct { BaseRsp Data struct { LatestAvailableDate string `json:"latest_available_date"` Performance struct { ComparisonIntervals []struct { AvgPageVisitorBreakdowns []struct { Amount int `json:"amount"` Type string `json:"type"` } `json:"avg_page_visitor_breakdowns"` AvgPageVisitors int `json:"avg_page_visitors"` ClickThroughRate string `json:"click_through_rate"` ClickThroughRateBreakdowns []struct { Amount string `json:"amount"` Type string `json:"type"` } `json:"click_through_rate_breakdowns"` EndDate string `json:"end_date"` Gmv struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"gmv"` GmvBreakdowns []struct { Amount string `json:"amount"` Currency string `json:"currency"` Type string `json:"type"` } `json:"gmv_breakdowns"` ImpressionBreakdowns []struct { Amount int `json:"amount"` Type string `json:"type"` } `json:"impression_breakdowns"` Impressions int `json:"impressions"` Orders int `json:"orders"` PageViewBreakdowns []struct { Amount int `json:"amount"` Type string `json:"type"` } `json:"page_view_breakdowns"` PageViews int `json:"page_views"` StartDate string `json:"start_date"` UnitSoldBreakdowns []struct { Amount int `json:"amount"` Type string `json:"type"` } `json:"unit_sold_breakdowns"` UnitsSold int `json:"units_sold"` } `json:"comparison_intervals"` Intervals []struct { AvgPageVisitorBreakdowns []struct { Amount int `json:"amount"` Type string `json:"type"` } `json:"avg_page_visitor_breakdowns"` AvgPageVisitors int `json:"avg_page_visitors"` ClickThroughRate string `json:"click_through_rate"` ClickThroughRateBreakdowns []struct { Amount string `json:"amount"` Type string `json:"type"` } `json:"click_through_rate_breakdowns"` EndDate string `json:"end_date"` Gmv struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"gmv"` GmvBreakdowns []struct { Amount string `json:"amount"` Currency string `json:"currency"` Type string `json:"type"` } `json:"gmv_breakdowns"` ImpressionBreakdowns []struct { Amount int `json:"amount"` Type string `json:"type"` } `json:"impression_breakdowns"` Impressions int `json:"impressions"` Orders int `json:"orders"` PageViewBreakdowns []struct { Amount int `json:"amount"` Type string `json:"type"` } `json:"page_view_breakdowns"` PageViews int `json:"page_views"` StartDate string `json:"start_date"` UnitSoldBreakdowns []struct { Amount int `json:"amount"` Type string `json:"type"` } `json:"unit_sold_breakdowns"` UnitsSold int `json:"units_sold"` } `json:"intervals"` } `json:"performance"` } `json:"data"` }
type GetShopSKUPerformanceListRsp ¶ added in v0.1.3
type GetShopSKUPerformanceListRsp struct { BaseRsp Data struct { LatestAvailableDate string `json:"latest_available_date"` NextPageToken string `json:"next_page_token"` Skus []struct { Gmv struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"gmv"` Id int64 `json:"id"` ProductId int64 `json:"product_id"` SkuOrders int64 `json:"sku_orders"` UnitsSold int `json:"units_sold"` } `json:"skus"` TotalCount int `json:"total_count"` } `json:"data"` }
type GetShopSKUPerformanceRsp ¶ added in v0.1.3
type GetShopSKUPerformanceRsp struct { BaseRsp Data struct { LatestAvailableDate string `json:"latest_available_date"` Performance struct { ComparisonIntervals []struct { EndDate string `json:"end_date"` Gmv struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"gmv"` GmvBreakdown []struct { Amount string `json:"amount"` Currency string `json:"currency"` Type string `json:"type"` } `json:"gmv_breakdown"` SkuOrders int `json:"sku_orders"` StartDate string `json:"start_date"` UnitsSold int `json:"units_sold"` UnitsSoldBreakdown []struct { Amount int `json:"amount"` Type string `json:"type"` } `json:"units_sold_breakdown"` } `json:"comparison_intervals"` Intervals []struct { EndDate string `json:"end_date"` Gmv struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"gmv"` GmvBreakdown []struct { Amount string `json:"amount"` Currency string `json:"currency"` Type string `json:"type"` } `json:"gmv_breakdown"` SkuOrders int `json:"sku_orders"` StartDate string `json:"start_date"` UnitsSold int `json:"units_sold"` UnitsSoldBreakdown []struct { Amount int `json:"amount"` Type string `json:"type"` } `json:"units_sold_breakdown"` } `json:"intervals"` ProductId int `json:"product_id"` } `json:"performance"` } `json:"data"` }
type GetShopVideoPerformanceDetailsRsp ¶ added in v0.1.3
type GetShopVideoPerformanceDetailsRsp struct { BaseRsp Data struct { EngagementData struct { TotalComments int `json:"total_comments"` TotalLikes int `json:"total_likes"` TotalShares int `json:"total_shares"` TotalViews int `json:"total_views"` } `json:"engagement_data"` LatestAvailableDate string `json:"latest_available_date"` Performance struct { ComparisonIntervals []struct { ClickThroughRate string `json:"click_through_rate"` DailyAvgBuyers string `json:"daily_avg_buyers"` EndDate string `json:"end_date"` Gmv struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"gmv"` StartDate string `json:"start_date"` Views int `json:"views"` } `json:"comparison_intervals"` Intervals []struct { ClickThroughRate string `json:"click_through_rate"` DailyAvgBuyers string `json:"daily_avg_buyers"` EndDate string `json:"end_date"` Gmv struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"gmv"` StartDate string `json:"start_date"` Views int `json:"views"` } `json:"intervals"` } `json:"performance"` } `json:"data"` }
type GetShopVideoPerformanceListRsp ¶ added in v0.1.3
type GetShopVideoPerformanceListRsp struct { BaseRsp Data struct { LatestAvailableDate string `json:"latest_available_date"` NextPageToken string `json:"next_page_token"` TotalCount int `json:"total_count"` Videos []struct { ClickThroughRate string `json:"click_through_rate"` Gmv struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"gmv"` Id string `json:"id"` Products []struct { Id string `json:"id"` Name string `json:"name"` } `json:"products"` SkuOrders int `json:"sku_orders"` Title string `json:"title"` UnitsSold int `json:"units_sold"` Username string `json:"username"` Views int `json:"views"` } `json:"videos"` } `json:"data"` }
type GetShopVideoPerformanceOverviewRsp ¶ added in v0.1.3
type GetShopVideoPerformanceOverviewRsp struct { BaseRsp Data struct { LatestAvailableDate string `json:"latest_available_date"` Performance struct { ComparisonIntervals []struct { ClickThroughRate string `json:"click_through_rate"` EndDate string `json:"end_date"` Gmv struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"gmv"` SkuOrders int `json:"sku_orders"` StartDate string `json:"start_date"` UnitsSold int `json:"units_sold"` } `json:"comparison_intervals"` Intervals []struct { ClickThroughRate string `json:"click_through_rate"` EndDate string `json:"end_date"` Gmv struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"gmv"` SkuOrders int `json:"sku_orders"` StartDate string `json:"start_date"` UnitsSold int `json:"units_sold"` } `json:"intervals"` } `json:"performance"` } `json:"data"` }
type GetShopVideoProductPerformanceListRsp ¶ added in v0.1.3
type GetShopVideoProductPerformanceListRsp struct { BaseRsp Data struct { LatestAvailableDate string `json:"latest_available_date"` NextPageToken string `json:"next_page_token"` Products []struct { DailyAvgBuyers string `json:"daily_avg_buyers"` Gmv struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"gmv"` Id string `json:"id"` Name string `json:"name"` UnitsSold int `json:"units_sold"` } `json:"products"` TotalCount int `json:"total_count"` } `json:"data"` }
type GetShopWebhooksRsp ¶
type GetStatementTransactionsRsp ¶
type GetStatementTransactionsRsp struct { BaseRsp Data struct { AdjustmentAmount string `json:"adjustment_amount"` Currency string `json:"currency"` FeeAmount string `json:"fee_amount"` NetSalesAmount string `json:"net_sales_amount"` NextPageToken string `json:"next_page_token"` RevenueAmount string `json:"revenue_amount"` SettlementAmount string `json:"settlement_amount"` ShippingCostAmount string `json:"shipping_cost_amount"` StatementId string `json:"statement_id"` StatementTime int64 `json:"statement_time"` StatementTransactions []struct { ActualReturnShippingFeeAmount string `json:"actual_return_shipping_fee_amount"` ActualShippingFeeAmount string `json:"actual_shipping_fee_amount"` AdjustmentAmount string `json:"adjustment_amount"` AdjustmentId string `json:"adjustment_id"` AdjustmentOrderId string `json:"adjustment_order_id"` AffiliateAdsCommissionAmount string `json:"affiliate_ads_commission_amount"` AffiliateCommissionAmount string `json:"affiliate_commission_amount"` AffiliateCommissionBeforePit string `json:"affiliate_commission_before_pit"` AffiliatePartnerCommissionAmount string `json:"affiliate_partner_commission_amount"` AfterSellerDiscountsSubtotalAmount string `json:"after_seller_discounts_subtotal_amount"` Currency string `json:"currency"` CustomerOrderRefundAmount string `json:"customer_order_refund_amount"` CustomerPaidShippingFeeAmount string `json:"customer_paid_shipping_fee_amount"` CustomerPaidShippingFeeRefundAmount string `json:"customer_paid_shipping_fee_refund_amount"` CustomerPaymentAmount string `json:"customer_payment_amount"` CustomerRefundAmount string `json:"customer_refund_amount"` CustomerShippingFeeAmount string `json:"customer_shipping_fee_amount"` CustomerShippingFeeOffsetAmount string `json:"customer_shipping_fee_offset_amount"` FbmShippingCostAmount string `json:"fbm_shipping_cost_amount"` FbtFulfillmentFeeAmount string `json:"fbt_fulfillment_fee_amount"` FbtShippingCostAmount string `json:"fbt_shipping_cost_amount"` FeeAmount string `json:"fee_amount"` GrossSalesAmount string `json:"gross_sales_amount"` GrossSalesRefundAmount string `json:"gross_sales_refund_amount"` Id string `json:"id"` NetSalesAmount string `json:"net_sales_amount"` OrderCreateTime int64 `json:"order_create_time"` OrderId string `json:"order_id"` PitAmount string `json:"pit_amount"` PlatformCommissionAmount string `json:"platform_commission_amount"` PlatformDiscountAmount string `json:"platform_discount_amount"` PlatformDiscountRefundAmount string `json:"platform_discount_refund_amount"` PlatformRefundSubsidyAmount string `json:"platform_refund_subsidy_amount"` PlatformShippingFeeDiscountAmount string `json:"platform_shipping_fee_discount_amount"` PromoShippingIncentiveAmount string `json:"promo_shipping_incentive_amount"` ReferralFeeAmount string `json:"referral_fee_amount"` RefundAdministrationFeeAmount string `json:"refund_administration_fee_amount"` RefundShippingCostDiscountAmount string `json:"refund_shipping_cost_discount_amount"` RetailDeliveryFeeAmount string `json:"retail_delivery_fee_amount"` RetailDeliveryFeePaymentAmount string `json:"retail_delivery_fee_payment_amount"` RetailDeliveryFeeRefundAmount string `json:"retail_delivery_fee_refund_amount"` ReturnShippingFeeAmount string `json:"return_shipping_fee_amount"` RevenueAmount string `json:"revenue_amount"` SalesTaxAmount string `json:"sales_tax_amount"` SalesTaxPaymentAmount string `json:"sales_tax_payment_amount"` SalesTaxRefundAmount string `json:"sales_tax_refund_amount"` SellerDiscountAmount string `json:"seller_discount_amount"` SellerDiscountRefundAmount string `json:"seller_discount_refund_amount"` SettlementAmount string `json:"settlement_amount"` ShippingCostAmount string `json:"shipping_cost_amount"` ShippingCostDiscountAmount string `json:"shipping_cost_discount_amount"` ShippingFeeAmount string `json:"shipping_fee_amount"` ShippingFeeSubsidyAmount string `json:"shipping_fee_subsidy_amount"` ShippingInsuranceFeeAmount string `json:"shipping_insurance_fee_amount"` SignatureConfirmationFeeAmount string `json:"signature_confirmation_fee_amount"` TransactionFeeAmount string `json:"transaction_fee_amount"` Type string `json:"type"` } `json:"statement_transactions"` TotalCount int `json:"total_count"` } `json:"data"` }
type GetStatementsRsp ¶
type GetStatementsRsp struct { BaseRsp Data struct { NextPageToken string `json:"next_page_token"` Statements []struct { AdjustmentAmount string `json:"adjustment_amount"` Currency string `json:"currency"` FeeAmount string `json:"fee_amount"` Id string `json:"id"` NetSalesAmount string `json:"net_sales_amount"` PaymentId string `json:"payment_id"` PaymentStatus string `json:"payment_status"` RevenueAmount string `json:"revenue_amount"` SettlementAmount string `json:"settlement_amount"` ShippingCostAmount string `json:"shipping_cost_amount"` StatementTime int64 `json:"statement_time"` } `json:"statements"` } `json:"data"` }
type GetTaskPerformancesRsp ¶ added in v0.1.7
type GetTaskPerformancesRsp struct { BaseRsp Data struct { TaskPerformances []struct { ClaimedCouponsCount int `json:"claimed_coupons_count"` GmvAmount string `json:"gmv_amount"` Id string `json:"id"` OrderCount int `json:"order_count"` ReadRecipientCount int `json:"read_recipient_count"` SentRecipientCount int `json:"sent_recipient_count"` Status string `json:"status"` } `json:"task_performances"` } `json:"data"` }
type GetTrackingRsp ¶
type GetWarehouseDeliveryOptionsRsp ¶
type GetWarehouseDeliveryOptionsRsp struct { BaseRsp Data struct { DeliveryOptions []struct { Description string `json:"description"` DimensionLimit struct { MaxHeight int `json:"max_height"` MaxLength int `json:"max_length"` MaxWidth int `json:"max_width"` Unit string `json:"unit"` } `json:"dimension_limit"` Id string `json:"id"` Name string `json:"name"` Platform []string `json:"platform"` Type string `json:"type"` WeightLimit struct { MaxWeight int `json:"max_weight"` MinWeight int `json:"min_weight"` Unit string `json:"unit"` } `json:"weight_limit"` } `json:"delivery_options"` } `json:"data"` }
type GetWarehouseListRsp ¶
type GetWarehouseListRsp struct { BaseRsp Data struct { Warehouses []struct { Address struct { City string `json:"city"` ContactPerson string `json:"contact_person"` Distict string `json:"distict"` FullAddress string `json:"full_address"` Geolocation struct { Latitude string `json:"latitude"` Longitude string `json:"longitude"` } `json:"geolocation"` PhoneNumber string `json:"phone_number"` PostalCode string `json:"postal_code"` Region string `json:"region"` RegionCode string `json:"region_code"` State string `json:"state"` Town string `json:"town"` } `json:"address"` EffectStatus string `json:"effect_status"` Id string `json:"id"` IsDefault bool `json:"is_default"` Name string `json:"name"` SubType string `json:"sub_type"` Type string `json:"type"` } `json:"warehouses"` } `json:"data"` }
type GetWithdrawalsRsp ¶
type GetWithdrawalsRsp struct { BaseRsp Data struct { NextPageToken string `json:"next_page_token"` TotalCount int `json:"total_count"` Withdrawals []struct { Amount string `json:"amount"` CreateTime int `json:"create_time"` Currency string `json:"currency"` Id string `json:"id"` Status string `json:"status"` Type string `json:"type"` } `json:"withdrawals"` } `json:"data"` }
type InventorySearchRsp ¶
type InventorySearchRsp struct { BaseRsp Data struct { Inventory []struct { ProductId string `json:"product_id"` Skus []struct { Id string `json:"id"` SellerSku string `json:"seller_sku"` TotalAvailableInventoryDistribution struct { CampaignInventory []struct { CampaignName string `json:"campaign_name"` Quantity int `json:"quantity"` } `json:"campaign_inventory"` CreatorInventory []struct { CreatorName string `json:"creator_name"` Quantity int `json:"quantity"` } `json:"creator_inventory"` InShopInventory struct { Quantity int `json:"quantity"` } `json:"in_shop_inventory"` } `json:"total_available_inventory_distribution"` TotalAvailableQuantity int `json:"total_available_quantity"` TotalCommittedQuantity int `json:"total_committed_quantity"` WarehouseInventory []struct { AvailableQuantity int `json:"available_quantity"` CommittedQuantity int `json:"committed_quantity"` WarehouseId string `json:"warehouse_id"` } `json:"warehouse_inventory"` } `json:"skus"` } `json:"inventory"` } `json:"data"` }
type ListingSchemasRsp ¶
type ListingSchemasRsp struct { BaseRsp Data struct { Errors []struct { Code int `json:"code"` Detail struct { CategoryId int `json:"category_id"` } `json:"detail"` Message string `json:"message"` } `json:"errors"` ListingSchemas []struct { CategoryId int `json:"category_id"` Fields []struct { ComplexValues []struct { Id string `json:"id"` Name string `json:"name"` Options []struct { Id string `json:"id"` Name string `json:"name"` } `json:"options"` Rules []struct { Type string `json:"type"` Value string `json:"value"` } `json:"rules"` } `json:"complex_values"` Id string `json:"id"` Name string `json:"name"` Options []struct { Id string `json:"id"` Name string `json:"name"` } `json:"options"` Rules []struct { Type string `json:"type"` Value string `json:"value"` } `json:"rules"` } `json:"fields"` } `json:"listing_schemas"` } `json:"data"` }
type MarkConversationReadRsp ¶ added in v0.1.9
type MarkPackageAsShippedRsp ¶ added in v0.1.4
type Message ¶
type Message struct { Id string `json:"id"` Content string `json:"content"` CreateTime int64 `json:"create_time"` IsVisible bool `json:"is_visible"` Sender struct { Avatar string `json:"avatar"` ImUserId string `json:"im_user_id"` Nickname string `json:"nickname"` Role string `json:"role"` } `json:"sender"` Type string `json:"type"` }
type OptimizedImagesRsp ¶
type OptimizedImagesRsp struct { BaseRsp Data struct { Images []struct { Height int `json:"height"` OptimizeStatus string `json:"optimize_status"` OptimizedUri string `json:"optimized_uri"` OptimizedUrl string `json:"optimized_url"` OriginalUri string `json:"original_uri"` OriginalUrl string `json:"original_url"` Width int `json:"width"` } `json:"images"` } `json:"data"` }
type Order ¶
type Order struct { Id string `json:"id"` BuyerEmail string `json:"buyer_email"` BuyerMessage string `json:"buyer_message"` CancelOrderSlaTime int64 `json:"cancel_order_sla_time"` CancelReason string `json:"cancel_reason"` CancelTime int64 `json:"cancel_time"` CancellationInitiator string `json:"cancellation_initiator"` CollectionDueTime int64 `json:"collection_due_time"` CollectionTime int64 `json:"collection_time"` Cpf string `json:"cpf"` CreateTime int64 `json:"create_time"` DeliveryDueTime int64 `json:"delivery_due_time"` DeliveryOptionId string `json:"delivery_option_id"` DeliveryOptionName string `json:"delivery_option_name"` DeliveryOptionRequiredDeliveryTime int64 `json:"delivery_option_required_delivery_time"` DeliverySlaTime int64 `json:"delivery_sla_time"` DeliveryTime int64 `json:"delivery_time"` FulfillmentType string `json:"fulfillment_type"` HasUpdatedRecipientAddress bool `json:"has_updated_recipient_address"` IsBuyerRequestCancel bool `json:"is_buyer_request_cancel"` IsCod bool `json:"is_cod"` IsOnHoldOrder bool `json:"is_on_hold_order"` IsReplacementOrder bool `json:"is_replacement_order"` IsSampleOrder bool `json:"is_sample_order"` LineItems []struct { Id string `json:"id"` CancelReason string `json:"cancel_reason"` CancelUser string `json:"cancel_user"` Currency string `json:"currency"` DisplayStatus string `json:"display_status"` IsGift bool `json:"is_gift"` ItemTax []struct { TaxAmount string `json:"tax_amount"` TaxRate string `json:"tax_rate"` TaxType string `json:"tax_type"` } `json:"item_tax"` OriginalPrice string `json:"original_price"` PackageId string `json:"package_id"` PackageStatus string `json:"package_status"` PlatformDiscount string `json:"platform_discount"` ProductId string `json:"product_id"` ProductName string `json:"product_name"` RetailDeliveryFee string `json:"retail_delivery_fee"` RtsTime int64 `json:"rts_time"` SalePrice string `json:"sale_price"` SellerDiscount string `json:"seller_discount"` SellerSku string `json:"seller_sku"` ShippingProviderId string `json:"shipping_provider_id"` ShippingProviderName string `json:"shipping_provider_name"` SkuId string `json:"sku_id"` SkuImage string `json:"sku_image"` SkuName string `json:"sku_name"` SkuType string `json:"sku_type"` SmallOrderFee string `json:"small_order_fee"` TrackingNumber string `json:"tracking_number"` } `json:"line_items"` NeedUploadInvoice string `json:"need_upload_invoice"` Packages []struct { Id string `json:"id"` } `json:"packages"` PaidTime int64 `json:"paid_time"` Payment struct { Currency string `json:"currency"` OriginalShippingFee string `json:"original_shipping_fee"` OriginalTotalProductPrice string `json:"original_total_product_price"` PlatformDiscount string `json:"platform_discount"` ProductTax string `json:"product_tax"` RetailDeliveryFee string `json:"retail_delivery_fee"` SellerDiscount string `json:"seller_discount"` ShippingFee string `json:"shipping_fee"` ShippingFeePlatformDiscount string `json:"shipping_fee_platform_discount"` ShippingFeeSellerDiscount string `json:"shipping_fee_seller_discount"` ShippingFeeTax string `json:"shipping_fee_tax"` SmallOrderFee string `json:"small_order_fee"` SubTotal string `json:"sub_total"` Tax string `json:"tax"` TotalAmount string `json:"total_amount"` } `json:"payment"` PaymentMethodName string `json:"payment_method_name"` RecipientAddress struct { AddressDetail string `json:"address_detail"` AddressLine1 string `json:"address_line1"` AddressLine2 string `json:"address_line2"` AddressLine3 string `json:"address_line3"` AddressLine4 string `json:"address_line4"` DeliveryPreferences struct { DropOffLocation string `json:"drop_off_location"` } `json:"delivery_preferences"` DistrictInfo []struct { AddressLevel string `json:"address_level"` AddressLevelName string `json:"address_level_name"` AddressName string `json:"address_name"` } `json:"district_info"` FullAddress string `json:"full_address"` Name string `json:"name"` PhoneNumber string `json:"phone_number"` PostalCode string `json:"postal_code"` RegionCode string `json:"region_code"` } `json:"recipient_address"` ReplacedOrderId string `json:"replaced_order_id"` RequestCancelTime int64 `json:"request_cancel_time"` RtsSlaTime int64 `json:"rts_sla_time"` RtsTime int64 `json:"rts_time"` SellerNote string `json:"seller_note"` ShippingDueTime int64 `json:"shipping_due_time"` ShippingProvider string `json:"shipping_provider"` ShippingProviderId string `json:"shipping_provider_id"` ShippingType string `json:"shipping_type"` SplitOrCombineTag string `json:"split_or_combine_tag"` Status string `json:"status"` TrackingNumber string `json:"tracking_number"` TtsSlaTime int64 `json:"tts_sla_time"` UpdateTime int64 `json:"update_time"` UserId string `json:"user_id"` WarehouseId string `json:"warehouse_id"` }
type PackageUpdatePackageItem ¶ added in v0.1.5
type PartialEditManufacturerRsp ¶
type PartialEditManufacturerRsp struct {
BaseRsp
}
type PartialEditProductRsp ¶
type PartialEditProductRsp struct { BaseRsp Data struct { ProductId string `json:"product_id"` Skus []struct { ExternalSkuId string `json:"external_sku_id"` Id string `json:"id"` SalesAttributes []struct { Id string `json:"id"` ValueId string `json:"value_id"` } `json:"sales_attributes"` SellerSku string `json:"seller_sku"` } `json:"skus"` } `json:"data"` }
type PartialEditResponsiblePersonRsp ¶
type PartialEditResponsiblePersonRsp struct {
BaseRsp
}
type ProductInformationIssueDiagnosisRsp ¶
type ProductInformationIssueDiagnosisRsp struct { BaseRsp Data struct { Products []struct { Diagnoses []struct { DiagnosisResults []struct { Code string `json:"code"` HowToSolve string `json:"how_to_solve"` QualityTier string `json:"quality_tier"` } `json:"diagnosis_results"` Field string `json:"field"` Suggestion struct { Images []struct { Height int `json:"height"` OptimizedUri string `json:"optimized_uri"` OptimizedUrl string `json:"optimized_url"` Uri string `json:"uri"` Url string `json:"url"` Width int `json:"width"` } `json:"images"` SeoWords []struct { Text string `json:"text"` } `json:"seo_words"` SmartTexts []struct { Text string `json:"text"` } `json:"smart_texts"` } `json:"suggestion"` } `json:"diagnoses"` Id string `json:"id"` ListingQuality struct { CurrentTier string `json:"current_tier"` RemainingRecommendations int `json:"remaining_recommendations"` } `json:"listing_quality"` } `json:"products"` } `json:"data"` }
type PublishGlobalProductRsp ¶
type PublishGlobalProductRsp struct { BaseRsp Data struct { Products []struct { Id string `json:"id"` Region string `json:"region"` ShopId string `json:"shop_id"` Skus []struct { Id string `json:"id"` RelatedGlobalSkuId string `json:"related_global_sku_id"` SaleAttributes []struct { Id string `json:"id"` ValueId string `json:"value_id"` } `json:"sale_attributes"` SellerSku string `json:"seller_sku"` } `json:"skus"` } `json:"products"` PublishResult []struct { FailReasons []struct { Message string `json:"message"` } `json:"fail_reasons"` Region string `json:"region"` Status string `json:"status"` } `json:"publish_result"` } `json:"data"` }
type QueryTargetCollaborationDetailRsp ¶ added in v0.1.7
type QueryTargetCollaborationDetailRsp struct { BaseRsp Data struct { TargetCollaboration struct { ContentCreatorCount int `json:"content_creator_count"` CreatorInvitedCount int `json:"creator_invited_count"` Creators []struct { Avatar struct { Url string `json:"url"` } `json:"avatar"` CollaborationStatus string `json:"collaboration_status"` ContentProductCount int `json:"content_product_count"` Nickname string `json:"nickname"` ProductEffectiveStatus string `json:"product_effective_status"` SelectionRegion string `json:"selection_region"` ShowcaseProductCount int `json:"showcase_product_count"` Username string `json:"username"` } `json:"creators"` EndTime int64 `json:"end_time"` FreeSampleRule struct { HasFreeSample bool `json:"has_free_sample"` IsSampleApprovalExempt bool `json:"is_sample_approval_exempt"` } `json:"free_sample_rule"` Id string `json:"id"` Message string `json:"message"` Name string `json:"name"` ProductCount int `json:"product_count"` Products []struct { CollaborationStatus string `json:"collaboration_status"` Commission struct { Currency string `json:"currency"` EffectiveTime string `json:"effective_time"` MaximumAmount string `json:"maximum_amount"` MinimumAmount string `json:"minimum_amount"` Rate int `json:"rate"` } `json:"commission"` CommissionEffectiveStatus string `json:"commission_effective_status"` Id string `json:"id"` MainImageUrl string `json:"main_image_url"` OriginalPrice struct { Currency string `json:"currency"` MaximumAmount string `json:"maximum_amount"` MinimumAmount string `json:"minimum_amount"` } `json:"original_price"` Status string `json:"status"` Title string `json:"title"` } `json:"products"` SellerContactInfo struct { Email string `json:"email"` } `json:"seller_contact_info"` ShowcaseCreatorCount int `json:"showcase_creator_count"` StartTime int64 `json:"start_time"` Type string `json:"type"` UpdateTime int64 `json:"update_time"` } `json:"target_collaboration"` } `json:"data"` }
type ReadMessageRsp ¶
type ReadMessageRsp struct { BaseRsp Data struct{} `json:"data"` }
type RecommendCategoryRsp ¶
type RecommendCategoryRsp struct { BaseRsp Data struct { Categories []struct { Id string `json:"id"` IsLeaf bool `json:"is_leaf"` Level int `json:"level"` Name string `json:"name"` PermissionStatuses []string `json:"permission_statuses"` } `json:"categories"` LeafCategoryId string `json:"leaf_category_id"` } `json:"data"` }
type RecoverProductsRsp ¶
type RefreshAccessTokenRsp ¶
type RefreshAccessTokenRsp struct { BaseRsp Data struct { AccessToken string `json:"access_token"` AccessTokenExpireIn int64 `json:"access_token_expire_in"` RefreshToken string `json:"refresh_token"` RefreshTokenExpireIn int64 `json:"refresh_token_expire_in"` OpenId string `json:"open_id"` SellerName string `json:"seller_name"` SellerBaseRegion string `json:"seller_base_region"` UserType int `json:"user_type"` } `json:"data"` }
type RejectCancellationRsp ¶
type RejectCancellationRsp struct {
BaseRsp
}
type RejectReturnRsp ¶
type RejectReturnRsp struct {
BaseRsp
}
type RemoveCreatorAffiliateFromCollaborationRsp ¶ added in v0.1.7
type RemoveCreatorAffiliateFromCollaborationRsp struct {
BaseRsp
}
type RemoveOpenCollaborationRsp ¶ added in v0.1.7
type RemoveTargetCollaborationRsp ¶ added in v0.1.7
type RemoveTargetCollaborationRsp struct {
BaseRsp
}
type SearchActivitiesRsp ¶
type SearchActivitiesRsp struct { BaseRsp Data struct { Activities []struct { ActivityType string `json:"activity_type"` BeginTime int64 `json:"begin_time"` CreateTime int64 `json:"create_time"` EndTime int64 `json:"end_time"` Id string `json:"id"` ProductLevel string `json:"product_level"` Status string `json:"status"` Title string `json:"title"` UpdateTime int64 `json:"update_time"` } `json:"activities"` NextPageToken string `json:"next_page_token"` TotalCount int `json:"total_count"` } `json:"data"` }
type SearchCancellationsRsp ¶
type SearchCancellationsRsp struct { BaseRsp Data struct { Cancellations []struct { CancelId string `json:"cancel_id"` CancelLineItems []struct { CancelLineItemId string `json:"cancel_line_item_id"` OrderLineItemId string `json:"order_line_item_id"` ProductImage struct { Height int `json:"height"` Url string `json:"url"` Width int `json:"width"` } `json:"product_image"` ProductName string `json:"product_name"` RefundAmount struct { BuyerServiceFee string `json:"buyer_service_fee"` Currency string `json:"currency"` RefundShippingFee string `json:"refund_shipping_fee"` RefundSubtotal string `json:"refund_subtotal"` RefundTax string `json:"refund_tax"` RefundTotal string `json:"refund_total"` RetailDeliveryFee string `json:"retail_delivery_fee"` } `json:"refund_amount"` SellerSku string `json:"seller_sku"` SkuId string `json:"sku_id"` SkuName string `json:"sku_name"` } `json:"cancel_line_items"` CancelReason string `json:"cancel_reason"` CancelReasonText string `json:"cancel_reason_text"` CancelStatus string `json:"cancel_status"` CancelType string `json:"cancel_type"` CreateTime int64 `json:"create_time"` OrderId string `json:"order_id"` RefundAmount struct { BuyerServiceFee string `json:"buyer_service_fee"` Currency string `json:"currency"` RefundShippingFee string `json:"refund_shipping_fee"` RefundSubtotal string `json:"refund_subtotal"` RefundTax string `json:"refund_tax"` RefundTotal string `json:"refund_total"` RetailDeliveryFee string `json:"retail_delivery_fee"` } `json:"refund_amount"` Role string `json:"role"` SellerNextActionResponse []struct { Action string `json:"action"` Deadline int64 `json:"deadline"` } `json:"seller_next_action_response"` UpdateTime int64 `json:"update_time"` } `json:"cancellations"` NextPageToken string `json:"next_page_token"` TotalCount int `json:"total_count"` } `json:"data"` }
type SearchCombinablePackagesRsp ¶ added in v0.1.4
type SearchCouponsRsp ¶
type SearchCouponsRsp struct { BaseRsp Data struct { Coupons []struct { ClaimDuration struct { EndTime int64 `json:"end_time"` StartTime int64 `json:"start_time"` } `json:"claim_duration"` CreateTime int64 `json:"create_time"` CreationSource string `json:"creation_source"` Discount struct { MaxDiscount struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"max_discount"` Percentage string `json:"percentage"` ReductionAmount struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"reduction_amount"` Type string `json:"type"` } `json:"discount"` DisplayType string `json:"display_type"` Id string `json:"id"` ProductScope string `json:"product_scope"` PromoCode string `json:"promo_code"` RedemptionDuration struct { EndTime int64 `json:"end_time"` RelativeTime int64 `json:"relative_time"` StartTime int64 `json:"start_time"` Type string `json:"type"` } `json:"redemption_duration"` Status string `json:"status"` TargetBuyerSegment string `json:"target_buyer_segment"` Threshold struct { MinSpend struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"min_spend"` Type string `json:"type"` } `json:"threshold"` Title string `json:"title"` UpdateTime int64 `json:"update_time"` UsageLimits struct { RedemptionLimit int `json:"redemption_limit"` SingleBuyerClaimLimit int `json:"single_buyer_claim_limit"` TotalClaimLimit int `json:"total_claim_limit"` } `json:"usage_limits"` } `json:"coupons"` NextPageToken string `json:"next_page_token"` TotalCount int `json:"total_count"` } `json:"data"` }
type SearchFBTInventoryRecordRsp ¶ added in v0.1.5
type SearchFBTInventoryRecordRsp struct { BaseRsp Data struct { InventoryRecords []struct { ChangedQuantity int `json:"changed_quantity"` CreateTime int64 `json:"create_time"` FbtWarehouseId string `json:"fbt_warehouse_id"` FinalOnHandQuantity int `json:"final_on_hand_quantity"` Goods struct { Id string `json:"id"` Name string `json:"name"` ReferenceCode string `json:"reference_code"` } `json:"goods"` InitialOnHandQuantity int `json:"initial_on_hand_quantity"` InventoryGoodsType string `json:"inventory_goods_type"` Order struct { Id string `json:"id"` Type string `json:"type"` } `json:"order"` } `json:"inventory_records"` NextPageToken string `json:"next_page_token"` TotalCount int `json:"total_count"` } `json:"data"` }
type SearchFBTInventoryRsp ¶ added in v0.1.5
type SearchFBTInventoryRsp struct { BaseRsp Data struct { Inventory []struct { FbtWarehouseId string `json:"fbt_warehouse_id"` Goods struct { Id string `json:"id"` Name string `json:"name"` ReferenceCode string `json:"reference_code"` Skus []struct { Id string `json:"id"` OnHandDetail struct { AvailableQuantity int `json:"available_quantity"` ReservedQuantity int `json:"reserved_quantity"` TotalQuantity int `json:"total_quantity"` } `json:"on_hand_detail"` } `json:"skus"` } `json:"goods"` InTransitQuantity int `json:"in_transit_quantity"` OnHandDetail struct { AvailableQuantity int `json:"available_quantity"` ReservedQuantity int `json:"reserved_quantity"` TotalQuantity int `json:"total_quantity"` UnfulfillableQuantity int `json:"unfulfillable_quantity"` } `json:"on_hand_detail"` } `json:"inventory"` NextPageToken string `json:"next_page_token"` TotalCount int `json:"total_count"` } `json:"data"` }
type SearchGlobalProductsRsp ¶
type SearchGlobalProductsRsp struct { BaseRsp Data struct { GlobalProducts []struct { CreateTime int `json:"create_time"` Id string `json:"id"` Skus []struct { Id string `json:"id"` SellerSku string `json:"seller_sku"` } `json:"skus"` Status string `json:"status"` Title string `json:"title"` UpdateTime int `json:"update_time"` } `json:"global_products"` NextPageToken string `json:"next_page_token"` TotalCount int `json:"total_count"` } `json:"data"` }
type SearchGoodsInfoRsp ¶ added in v0.1.5
type SearchGoodsInfoRsp struct { BaseRsp Data struct { Goods []struct { Barcodes []struct { Code string `json:"code"` Type string `json:"type"` } `json:"barcodes"` Id string `json:"id"` ImageUrl string `json:"image_url"` LotExpirationInfo struct { Addresses struct { AddressLine1 string `json:"address_line_1"` AddressLine2 string `json:"address_line_2"` AddressLine3 string `json:"address_line_3"` City string `json:"city"` District string `json:"district"` Name string `json:"name"` PhoneNumber string `json:"phone_number"` PostalCode string `json:"postal_code"` RegionCode string `json:"region_code"` State string `json:"state"` } `json:"addresses"` ExpirationAlertDays int `json:"expiration_alert_days"` HandlingMethod string `json:"handling_method"` InboundCutoffDays int `json:"inbound_cutoff_days"` IsExpirationManagement bool `json:"is_expiration_management"` IsLotControl bool `json:"is_lot_control"` ReturnCycle string `json:"return_cycle"` SalesCutoffDays int `json:"sales_cutoff_days"` ShelfLifeDays int `json:"shelf_life_days"` } `json:"lot_expiration_info"` MerchantDeclarationInfo struct { Dimension struct { Height string `json:"height"` Length string `json:"length"` Unit string `json:"unit"` Width string `json:"width"` } `json:"dimension"` Weight struct { Unit string `json:"unit"` Value string `json:"value"` } `json:"weight"` } `json:"merchant_declaration_info"` Name string `json:"name"` ReferenceCode string `json:"reference_code"` Skus []struct { Id string `json:"id"` ImageUrl string `json:"image_url"` Matched bool `json:"matched"` Name string `json:"name"` Product struct { Id string `json:"id"` ImageUrl string `json:"image_url"` Name string `json:"name"` } `json:"product"` Regions []string `json:"regions"` } `json:"skus"` WarehouseConfirmationInfo struct { Dimension struct { Height string `json:"height"` Length string `json:"length"` Unit string `json:"unit"` Width string `json:"width"` } `json:"dimension"` Weight struct { Unit string `json:"unit"` Value string `json:"value"` } `json:"weight"` } `json:"warehouse_confirmation_info"` } `json:"goods"` NextPageToken string `json:"next_page_token"` TotalCount int `json:"total_count"` } `json:"data"` }
type SearchManufacturersRsp ¶
type SearchManufacturersRsp struct { BaseRsp Data struct { Manufacturers []struct { Address string `json:"address"` Email string `json:"email"` Id string `json:"id"` Name string `json:"name"` PhoneNumber struct { CountryCode string `json:"country_code"` LocalNumber string `json:"local_number"` } `json:"phone_number"` RegisteredTradeName string `json:"registered_trade_name"` } `json:"manufacturers"` NextPageToken string `json:"next_page_token"` TotalCount int `json:"total_count"` } `json:"data"` }
type SearchOpenCollaborationRsp ¶ added in v0.1.7
type SearchOpenCollaborationRsp struct { BaseRsp Data struct { NextPageToken string `json:"next_page_token"` OpenCollaborations []struct { ContentCreatorCount int `json:"content_creator_count"` CurrentCommission struct { EndTime int64 `json:"end_time"` Rate int `json:"rate"` StartTime int64 `json:"start_time"` } `json:"current_commission"` Id string `json:"id"` Product struct { Id string `json:"id"` Inventory int `json:"inventory"` MainImageUrl string `json:"main_image_url"` OriginalPrice struct { Currency string `json:"currency"` MaximumAmount string `json:"maximum_amount"` MinimumAmount string `json:"minimum_amount"` } `json:"original_price"` Status string `json:"status"` Title string `json:"title"` } `json:"product"` ShowcaseCreatorCount int `json:"showcase_creator_count"` Status string `json:"status"` } `json:"open_collaborations"` TotalCount int `json:"total_count"` } `json:"data"` }
type SearchOrderByExternalOrderReferenceRsp ¶
type SearchOrderByExternalOrderReferenceRsp struct { BaseRsp Data struct { Orders []struct { ExternalOrder struct { Id string `json:"id"` LineItems []struct { Id string `json:"id"` OriginId string `json:"origin_id"` } `json:"line_items"` Platform string `json:"platform"` } `json:"external_order"` Id string `json:"id"` } `json:"orders"` } `json:"data"` }
type SearchPackageRsp ¶ added in v0.1.4
type SearchPackageRsp struct { BaseRsp Data struct { NextPageToken string `json:"next_page_token"` Packages []struct { CreateTime int64 `json:"create_time"` Id string `json:"id"` OrderLineItemIds []string `json:"order_line_item_ids"` Orders []struct { Id string `json:"id"` Skus []struct { Id string `json:"id"` ImageUrl string `json:"image_url"` Name string `json:"name"` Quantity int `json:"quantity"` } `json:"skus"` } `json:"orders"` ShippingProviderId string `json:"shipping_provider_id"` ShippingProviderName string `json:"shipping_provider_name"` Status string `json:"status"` TrackingNumber string `json:"tracking_number"` UpdateTime int64 `json:"update_time"` } `json:"packages"` TotalCount int `json:"total_count"` } `json:"data"` }
type SearchProductsRsp ¶
type SearchProductsRsp struct { BaseRsp Data struct { NextPageToken string `json:"next_page_token"` Products []struct { Audit struct { Status string `json:"status"` } `json:"audit"` CreateTime int64 `json:"create_time"` Id string `json:"id"` IntegratedPlatformStatuses []struct { Platform string `json:"platform"` Status string `json:"status"` } `json:"integrated_platform_statuses"` IsNotForSale bool `json:"is_not_for_sale"` ListingQualityTier string `json:"listing_quality_tier"` ProductSyncFailReasons []string `json:"product_sync_fail_reasons"` RecommendedCategories []struct { Id string `json:"id"` LocalName string `json:"local_name"` } `json:"recommended_categories"` SalesRegions []string `json:"sales_regions"` Skus []struct { Id string `json:"id"` Inventory []struct { Quantity int `json:"quantity"` WarehouseId string `json:"warehouse_id"` } `json:"inventory"` Price struct { Currency string `json:"currency"` SalePrice string `json:"sale_price"` TaxExclusivePrice string `json:"tax_exclusive_price"` } `json:"price"` SellerSku string `json:"seller_sku"` } `json:"skus"` Status string `json:"status"` Title string `json:"title"` UpdateTime int64 `json:"update_time"` } `json:"products"` TotalCount int `json:"total_count"` } `json:"data"` }
type SearchResponsiblePersonsRsp ¶
type SearchResponsiblePersonsRsp struct { BaseRsp Data struct { NextPageToken string `json:"next_page_token"` ResponsiblePersons []struct { Address struct { City string `json:"city"` Country string `json:"country"` District string `json:"district"` PostalCode string `json:"postal_code"` Province string `json:"province"` StreetAddressLine1 string `json:"street_address_line1"` StreetAddressLine2 string `json:"street_address_line2"` } `json:"address"` Email string `json:"email"` Id string `json:"id"` Name string `json:"name"` PhoneNumber struct { CountryCode string `json:"country_code"` LocalNumber string `json:"local_number"` } `json:"phone_number"` } `json:"responsible_persons"` TotalCount int `json:"total_count"` } `json:"data"` }
type SearchReturnsRsp ¶
type SearchReturnsRsp struct { BaseRsp Data struct { NextPageToken string `json:"next_page_token"` ReturnOrders []struct { ArbitrationStatus string `json:"arbitration_status"` BuyerRejectedPartialRefund bool `json:"buyer_rejected_partial_refund"` CanBuyerKeepItem bool `json:"can_buyer_keep_item"` CombinedReturnId string `json:"combined_return_id"` CreateTime int64 `json:"create_time"` DiscountAmount []struct { Currency string `json:"currency"` ProductPlatformDiscount string `json:"product_platform_discount"` ProductSellerDiscount string `json:"product_seller_discount"` ShippingFeePlatformDiscount string `json:"shipping_fee_platform_discount"` ShippingFeeSellerDiscount string `json:"shipping_fee_seller_discount"` } `json:"discount_amount"` HandoverMethod string `json:"handover_method"` IsCombinedReturn string `json:"is_combined_return"` NextReturnId string `json:"next_return_id"` OrderId string `json:"order_id"` PartialRefund struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"partial_refund"` PreReturnId string `json:"pre_return_id"` RefundAmount struct { BuyerServiceFee string `json:"buyer_service_fee"` Currency string `json:"currency"` RefundShippingFee string `json:"refund_shipping_fee"` RefundSubtotal string `json:"refund_subtotal"` RefundTax string `json:"refund_tax"` RefundTotal string `json:"refund_total"` RetailDeliveryFee string `json:"retail_delivery_fee"` } `json:"refund_amount"` ReturnId string `json:"return_id"` ReturnLineItems []struct { OrderLineItemId string `json:"order_line_item_id"` ProductImage struct { Height int `json:"height"` Url string `json:"url"` Width int `json:"width"` } `json:"product_image"` ProductName string `json:"product_name"` RefundAmount struct { BuyerServiceFee string `json:"buyer_service_fee"` Currency string `json:"currency"` RefundShippingFee string `json:"refund_shipping_fee"` RefundSubtotal string `json:"refund_subtotal"` RefundTax string `json:"refund_tax"` RefundTotal string `json:"refund_total"` RetailDeliveryFee string `json:"retail_delivery_fee"` } `json:"refund_amount"` ReturnLineItemId string `json:"return_line_item_id"` SellerSku string `json:"seller_sku"` SkuId string `json:"sku_id"` SkuName string `json:"sku_name"` } `json:"return_line_items"` ReturnMethod string `json:"return_method"` ReturnProviderId string `json:"return_provider_id"` ReturnProviderName string `json:"return_provider_name"` ReturnReason string `json:"return_reason"` ReturnReasonText string `json:"return_reason_text"` ReturnShippingDocumentType string `json:"return_shipping_document_type"` ReturnStatus string `json:"return_status"` ReturnTrackingNumber string `json:"return_tracking_number"` ReturnType string `json:"return_type"` ReturnWarehouseAddress struct { FullAddress string `json:"full_address"` } `json:"return_warehouse_address"` Role string `json:"role"` SellerNextActionResponse []struct { Action string `json:"action"` Deadline int64 `json:"deadline"` } `json:"seller_next_action_response"` SellerProposedReturnType string `json:"seller_proposed_return_type"` ShipmentType string `json:"shipment_type"` ShippingFeeAmount []struct { BuyerPaidReturnShippingFee string `json:"buyer_paid_return_shipping_fee"` Currency string `json:"currency"` PlatformPaidReturnShippingFee string `json:"platform_paid_return_shipping_fee"` SellerPaidReturnShippingFee string `json:"seller_paid_return_shipping_fee"` } `json:"shipping_fee_amount"` UpdateTime int64 `json:"update_time"` } `json:"return_orders"` TotalCount int `json:"total_count"` } `json:"data"` }
type SearchSellerAffiliateOrdersRsp ¶ added in v0.1.7
type SearchSellerAffiliateOrdersRsp struct { BaseRsp Data struct { NextPageToken string `json:"next_page_token"` Orders []struct { CreateTime int64 `json:"create_time"` DeliveryTime int64 `json:"delivery_time"` Id string `json:"id"` Skus []struct { ActualCommissionBase struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"actual_commission_base"` ActualPaidCommission struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"actual_paid_commission"` ActualPaidShopAdsCommission struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"actual_paid_shop_ads_commission"` CampaignId string `json:"campaign_id"` CommissionRate string `json:"commission_rate"` ContentId string `json:"content_id"` ContentType string `json:"content_type"` CreatorUsername string `json:"creator_username"` EstimatedCommissionBase struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"estimated_commission_base"` EstimatedPaidCommission struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"estimated_paid_commission"` EstimatedPaidShopAdsCommission struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"estimated_paid_shop_ads_commission"` OpenCollaborationId string `json:"open_collaboration_id"` Price struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"price"` ProductId string `json:"product_id"` Quantity int `json:"quantity"` RefundedQuantity int `json:"refunded_quantity"` ReturnedQuantity int `json:"returned_quantity"` ShopAdsCommissionRate string `json:"shop_ads_commission_rate"` TargetCollaborationId string `json:"target_collaboration_id"` } `json:"skus"` Status string `json:"status"` } `json:"orders"` TotalCount int `json:"total_count"` } `json:"data"` }
type SearchSizeChartsRsp ¶
type SearchSizeChartsRsp struct { BaseRsp Data struct { NextPageToken string `json:"next_page_token"` SizeChart []struct { Images []struct { Locale string `json:"locale"` Uri string `json:"uri"` Url string `json:"url"` } `json:"images"` TemplateId string `json:"template_id"` TemplateName string `json:"template_name"` } `json:"size_chart"` TotalCount int `json:"total_count"` } `json:"data"` }
type SearchTargetCollaborationsRsp ¶ added in v0.1.7
type SearchTargetCollaborationsRsp struct { BaseRsp Data struct { NextPageToken string `json:"next_page_token"` TargetCollaborations []struct { ContentCreatorCount int `json:"content_creator_count"` CreatorInivitedCount int `json:"creator_inivited_count"` EndTime int64 `json:"end_time"` FreeSampleRule struct { HasFreeSample bool `json:"has_free_sample"` IsSampleApprovalExempt bool `json:"is_sample_approval_exempt"` } `json:"free_sample_rule"` Id string `json:"id"` Message string `json:"message"` Name string `json:"name"` ProductCount int `json:"product_count"` ShowcaseCreatorCount int `json:"showcase_creator_count"` StartTime int64 `json:"start_time"` Type string `json:"type"` UpdateTime int64 `json:"update_time"` } `json:"target_collaborations"` TotalCount int `json:"total_count"` } `json:"data"` }
type SellerReviewSampleApplicationsRsp ¶ added in v0.1.7
type SellerReviewSampleApplicationsRsp struct {
BaseRsp
}
type SellerSearchAffiliateOpenCollaborationProductRsp ¶ added in v0.1.7
type SellerSearchAffiliateOpenCollaborationProductRsp struct { BaseRsp Data struct { NextPageToken string `json:"next_page_token"` Products []struct { CategoryChains []struct { Id string `json:"id"` IsLeaf bool `json:"is_leaf"` LocalName string `json:"local_name"` ParentId string `json:"parent_id"` } `json:"category_chains"` Commission struct { Amount string `json:"amount"` Currency string `json:"currency"` Rate int `json:"rate"` } `json:"commission"` DetailLink string `json:"detail_link"` HasInventory bool `json:"has_inventory"` Id string `json:"id"` MainImageUrl string `json:"main_image_url"` OriginalPrice struct { Currency string `json:"currency"` MaximumAmount string `json:"maximum_amount"` MinimumAmount string `json:"minimum_amount"` } `json:"original_price"` SaleRegion string `json:"sale_region"` SalesPrice struct { Currency string `json:"currency"` MaximumAmount string `json:"maximum_amount"` MinimumAmount string `json:"minimum_amount"` } `json:"sales_price"` Shop struct { Name string `json:"name"` } `json:"shop"` Title string `json:"title"` UnitsSold int `json:"units_sold"` } `json:"products"` TotalCount int `json:"total_count"` } `json:"data"` }
type SellerSearchCreatorOnMarketplaceRsp ¶ added in v0.1.7
type SellerSearchCreatorOnMarketplaceRsp struct { BaseRsp Data struct { Creators []struct { Avatar struct { Url string `json:"url"` } `json:"avatar"` AvgEcLiveUv int `json:"avg_ec_live_uv"` AvgEcVideoViewCount int `json:"avg_ec_video_view_count"` CategoryIds []string `json:"category_ids"` FollowerCount int `json:"follower_count"` Gmv struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"gmv"` GmvRange struct { Currency string `json:"currency"` MaximumAmount string `json:"maximum_amount"` MinimumAmount string `json:"minimum_amount"` } `json:"gmv_range"` LiveGmv struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"live_gmv"` Nickname string `json:"nickname"` SelectionRegion string `json:"selection_region"` TopFollowerDemographics struct { AgeRanges []string `json:"age_ranges"` MajorGender struct { Gender string `json:"gender"` Percentage int `json:"percentage"` } `json:"major_gender"` } `json:"top_follower_demographics"` UnitsSoldRange struct { MaximumAmount int `json:"maximum_amount"` MinimumAmount int `json:"minimum_amount"` } `json:"units_sold_range"` Username string `json:"username"` VideoGmv struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"video_gmv"` } `json:"creators"` NextPageToken string `json:"next_page_token"` SearchKey string `json:"search_key"` } `json:"data"` }
type SellerSearchSampleApplicationsFulfillmentsRsp ¶ added in v0.1.7
type SellerSearchSampleApplicationsFulfillmentsRsp struct { BaseRsp Data struct { Fulfillments []struct { Content struct { CommentCount int `json:"comment_count"` CreateTime int64 `json:"create_time"` Description string `json:"description"` Format string `json:"format"` Id string `json:"id"` LikeCount int `json:"like_count"` LiveEndTime int64 `json:"live_end_time"` PageLink string `json:"page_link"` PaidOrderCount int `json:"paid_order_count"` Url string `json:"url"` ViewCount int `json:"view_count"` } `json:"content"` Product struct { Id string `json:"id"` MainImageUrl string `json:"main_image_url"` } `json:"product"` } `json:"fulfillments"` } `json:"data"` }
type SellerSearchSampleApplicationsRsp ¶ added in v0.1.7
type SellerSearchSampleApplicationsRsp struct { BaseRsp Data struct { NextPageToken string `json:"next_page_token"` SampleApplications []struct { ApproveExpirationTime int64 `json:"approve_expiration_time"` AvailableQuantity int `json:"available_quantity"` CommissionRate string `json:"commission_rate"` Creator struct { AvatarUrl string `json:"avatar_url"` ContentCount int `json:"content_count"` EcVideoView int `json:"ec_video_view"` FollowerCount int `json:"follower_count"` FulfillmentPercentage string `json:"fulfillment_percentage"` Gmv struct { Amount string `json:"amount"` Currency string `json:"currency"` } `json:"gmv"` Nickname string `json:"nickname"` UserId string `json:"user_id"` Username string `json:"username"` } `json:"creator"` DisapprovableReasons []string `json:"disapprovable_reasons"` FulfillmentStatus string `json:"fulfillment_status"` Id string `json:"id"` IsApprovable bool `json:"is_approvable"` OrderId string `json:"order_id"` PartnerName string `json:"partner_name"` Product struct { Id string `json:"id"` SkuId string `json:"sku_id"` SkuImageUrl string `json:"sku_image_url"` SkuName string `json:"sku_name"` Title string `json:"title"` } `json:"product"` ShipmentExpirationTime int `json:"shipment_expiration_time"` Status string `json:"status"` TrackingNumber string `json:"tracking_number"` } `json:"sample_applications"` TotalCount int `json:"total_count"` } `json:"data"` }
type SendEngagementMessageRsp ¶ added in v0.1.7
type SendIMMessageRsp ¶ added in v0.1.9
type SendMessageRsp ¶
type ShipPackageRsp ¶ added in v0.1.4
type ShipPackageRsp struct {
BaseRsp
}
type SplitOrdersRsp ¶ added in v0.1.4
type UnCombinePackagesRsp ¶ added in v0.1.4
type UpdateActivityRsp ¶
type UpdateAgentSettingsRsp ¶
type UpdateAgentSettingsRsp struct {
BaseRsp
}
type UpdateGlobalInventoryRsp ¶
type UpdateGlobalInventoryRsp struct {
BaseRsp
}
type UpdateInventoryRsp ¶
type UpdateInventoryRsp struct { BaseRsp Data struct { Errors []struct { Code int `json:"code"` Detail struct { ExtraErrors []struct { Code int `json:"code"` Message string `json:"message"` WarehouseId string `json:"warehouse_id"` } `json:"extra_errors"` SkuId string `json:"sku_id"` } `json:"detail"` Message string `json:"message"` } `json:"errors"` } `json:"data"` }
type UpdatePackageDeliveryStatusRsp ¶ added in v0.1.4
type UpdatePackageShippingInfoRsp ¶ added in v0.1.4
type UpdatePackageShippingInfoRsp struct {
BaseRsp
}
type UpdatePriceRsp ¶
type UpdatePriceRsp struct {
BaseRsp
}
type UpdateShippingInfoRsp ¶ added in v0.1.4
type UpdateShippingInfoRsp struct {
BaseRsp
}
type UpdateShopWebhooksRsp ¶
type UpdateShopWebhooksRsp struct {
BaseRsp
}
type UpdateTargetCollaborationRsp ¶ added in v0.1.7
type UpdateTargetCollaborationRsp struct { BaseRsp Data struct { TargetCollaborationConflicts []struct { CreatorUserId string `json:"creator_user_id"` ProductId string `json:"product_id"` } `json:"target_collaboration_conflicts"` UpdateFailed struct { AddCreatorIds []string `json:"add_creator_ids"` AddProducts struct { CommissionRate int `json:"commission_rate"` Id string `json:"id"` } `json:"add_products"` ChangeCommissions struct { CommissionRate int `json:"commission_rate"` ProductId string `json:"product_id"` } `json:"change_commissions"` EndTime int64 `json:"end_time"` Name string `json:"name"` RemoveCreatorIds []string `json:"remove_creator_ids"` RemoveProductIds []string `json:"remove_product_ids"` SellerContactInfo struct { Email string `json:"email"` } `json:"seller_contact_info"` } `json:"update_failed"` } `json:"data"` }
type UploadProductFileRsp ¶
type UploadProductImageRsp ¶
type WebhookCancellationStatusChange ¶ added in v0.1.5
type WebhookCancellationStatusChange struct { BaseWebhook ShopId string `json:"shop_id"` Data WebhookCancellationStatusChangeData `json:"data"` }
type WebhookCancellationStatusChangeData ¶ added in v0.1.5
type WebhookCreatorDeauthorization ¶ added in v0.1.5
type WebhookCreatorDeauthorization struct {}
type WebhookCreatorDeauthorizationData ¶ added in v0.1.5
type WebhookCreatorDeauthorizationData struct {
}type WebhookFBTInventoryUpdate ¶ added in v0.1.5
type WebhookFBTInventoryUpdate struct { BaseWebhook SellerOpenId string `json:"seller_open_id"` Data WebhookFBTInventoryUpdateData `json:"data"` }
type WebhookFBTInventoryUpdateData ¶ added in v0.1.5
type WebhookFBTInventoryUpdateData struct { GoodsId string `json:"goods_id"` SkuId string `json:"sku_id"` FbtWarehouseInventory []FbtWarehouseInventoryItem `json:"fbt_warehouse_inventory"` UpdateTime int64 `json:"update_time"` }
type WebhookFBTMerchantOnboarding ¶ added in v0.1.5
type WebhookFBTMerchantOnboarding struct { BaseWebhook SellerOpenId string `json:"seller_open_id"` Data WebhookFBTMerchantOnboardingData `json:"data"` }
type WebhookFBTMerchantOnboardingData ¶ added in v0.1.5
type WebhookFBTMerchantOnboardingData struct { OnboardedRegions []FBTMerchantOnboardingRegionItem `json:"onboarded_regions"` UpdateTime int64 `json:"update_time"` }
type WebhookGoodsMatch ¶ added in v0.1.5
type WebhookGoodsMatch struct { BaseWebhook SellerOpenId string `json:"seller_open_id"` Data WebhookGoodsMatchData `json:"data"` }
type WebhookGoodsMatchData ¶ added in v0.1.5
type WebhookInboundFBTOrderStatusChange ¶ added in v0.1.5
type WebhookInboundFBTOrderStatusChange struct { BaseWebhook SellerOpenId string `json:"seller_open_id"` Data WebhookInboundFBTOrderStatusChangeData `json:"data"` }
type WebhookInboundFBTOrderStatusChangeData ¶ added in v0.1.5
type WebhookInventoryStatusChange ¶ added in v0.1.5
type WebhookInventoryStatusChange struct { BaseWebhook ShopId string `json:"shop_id"` Data WebhookInventoryStatusChangeData `json:"data"` }
type WebhookInventoryStatusChangeData ¶ added in v0.1.5
type WebhookInventoryStatusChangeData struct { ProductId string `json:"product_id"` SkuId string `json:"sku_id"` TriggerReason struct { AlertType string `json:"alert_type"` LeadDays int `json:"lead_days"` } `json:"trigger_reason"` CurrentInventoryStatus string `json:"current_inventory_status"` InventoryDistribution struct { TotalQuantity int `json:"total_quantity"` AvailableQuantity int `json:"available_quantity"` CreatorReservedQuantity int `json:"creator_reserved_quantity"` CampaignReservedQuantity int `json:"campaign_reserved_quantity"` CommittedQuantity int `json:"committed_quantity"` } `json:"inventory_distribution"` UpdateTime int64 `json:"update_time"` }
type WebhookNewConversation ¶ added in v0.1.5
type WebhookNewConversation struct { BaseWebhook ShopId string `json:"shop_id"` Data WebhookNewConversationData `json:"data"` }
type WebhookNewConversationData ¶ added in v0.1.5
type WebhookNewMessage ¶ added in v0.1.5
type WebhookNewMessage struct { BaseWebhook ShopId string `json:"shop_id"` Data WebhookNewMessageData `json:"data"` }
type WebhookNewMessageData ¶ added in v0.1.5
type WebhookNewMessageData struct { Content string `json:"content"` ConversationId string `json:"conversation_id"` CreateTime int64 `json:"create_time"` IsVisible bool `json:"is_visible"` MessageId string `json:"message_id"` Index string `json:"index"` Type string `json:"type"` Sender struct { ImUserId string `json:"im_user_id"` Role string `json:"role"` } `json:"sender"` }
type WebhookOpportunityMatchingStatusChange ¶ added in v0.1.5
type WebhookOpportunityMatchingStatusChange struct { BaseWebhook ShopId string `json:"shop_id"` Data WebhookOpportunityMatchingStatusChangeData `json:"data"` }
type WebhookOpportunityMatchingStatusChangeData ¶ added in v0.1.5
type WebhookOpportunityMatchingStatusChangeData struct { ExternalProductId string `json:"external_product_id"` OpportunityMatchingStatus string `json:"opportunity_matching_status"` OpportunityIds []string `json:"opportunity_ids"` OpportunityMatchingEndTime int `json:"opportunity_matching_end_time"` UpdateTime int64 `json:"update_time"` }
type WebhookOrderStatusChange ¶ added in v0.1.5
type WebhookOrderStatusChange struct { BaseWebhook ShopId string `json:"shop_id"` Data WebhookOrderStatusChangeData `json:"data"` }
type WebhookOrderStatusChangeData ¶ added in v0.1.5
type WebhookPackageUpdate ¶ added in v0.1.5
type WebhookPackageUpdate struct { BaseWebhook ShopId string `json:"shop_id"` Data WebhookPackageUpdateData `json:"data"` }
type WebhookPackageUpdateData ¶ added in v0.1.5
type WebhookPackageUpdateData struct { ScType string `json:"sc_type"` RoleType string `json:"role_type"` PackageList []PackageUpdatePackageItem `json:"package_list"` UpdateTime int64 `json:"update_time"` }
type WebhookProductCategoryChange ¶ added in v0.1.5
type WebhookProductCategoryChange struct { BaseWebhook ShopId string `json:"shop_id"` Data WebhookProductCategoryChangeData `json:"data"` }
type WebhookProductCategoryChangeData ¶ added in v0.1.5
type WebhookProductCreation ¶ added in v0.1.5
type WebhookProductCreation struct { BaseWebhook ShopId string `json:"shop_id"` Data WebhookProductCreationData `json:"data"` }
type WebhookProductCreationData ¶ added in v0.1.5
type WebhookProductInformationChange ¶ added in v0.1.5
type WebhookProductInformationChange struct { BaseWebhook ShopId string `json:"shop_id"` Data WebhookProductInformationChangeData `json:"data"` }
type WebhookProductInformationChangeData ¶ added in v0.1.5
type WebhookProductStatusChange ¶ added in v0.1.5
type WebhookProductStatusChange struct { BaseWebhook ShopId string `json:"shop_id"` Data WebhookProductStatusChangeData `json:"data"` }
type WebhookProductStatusChangeData ¶ added in v0.1.5
type WebhookRecipientAddressUpdate ¶ added in v0.1.5
type WebhookRecipientAddressUpdate struct { BaseWebhook ShopId string `json:"shop_id"` Data WebhookRecipientAddressUpdateData `json:"data"` }
type WebhookRecipientAddressUpdateData ¶ added in v0.1.5
type WebhookReturnStatusChange ¶ added in v0.1.5
type WebhookReturnStatusChange struct { BaseWebhook ShopId string `json:"shop_id"` Data WebhookReturnStatusChangeData `json:"data"` }
type WebhookReturnStatusChangeData ¶ added in v0.1.5
type WebhookReturnStatusChangeData struct { OrderId string `json:"order_id"` ReturnRole string `json:"return_role"` ReturnType string `json:"return_type"` ReturnStatus string `json:"return_status"` ReturnId string `json:"return_id"` CreateTime int64 `json:"create_time"` UpdateTime int64 `json:"update_time"` }
type WebhookSellerDeauthorization ¶ added in v0.1.5
type WebhookSellerDeauthorization struct {}
type WebhookSellerDeauthorizationData ¶ added in v0.1.5
type WebhookSellerDeauthorizationData struct {
}type WebhookShoppableContentPosting ¶ added in v0.1.5
type WebhookShoppableContentPosting struct { BaseWebhook CreatorOpenId string `json:"creator_open_id"` Data WebhookShoppableContentPostingData `json:"data"` }
type WebhookShoppableContentPostingData ¶ added in v0.1.5
type WebhookSizeChartChange ¶ added in v0.1.5
type WebhookSizeChartChange struct { BaseWebhook SellerOpenId string `json:"seller_open_id"` Data WebhookSizeChartChangeData `json:"data"` }
type WebhookSizeChartChangeData ¶ added in v0.1.5
type WebhookUpcomingAuthorizationExpiration ¶ added in v0.1.5
type WebhookUpcomingAuthorizationExpiration struct { BaseWebhook ShopId string `json:"shop_id"` Data WebhookUpcomingAuthorizationExpirationData `json:"data"` }
type WebhookUpcomingAuthorizationExpirationData ¶ added in v0.1.5
Source Files
¶
- affiliate_seller.go
- aftersale.go
- analytics.go
- authorization.go
- chat.go
- client.go
- conf.go
- constant.go
- customer_engagement.go
- event.go
- finance.go
- fulfillment.go
- fulfillment_fbt.go
- logistics.go
- model.go
- model_affiliate_seller.go
- model_aftersale.go
- model_analytics.go
- model_authorization.go
- model_chat.go
- model_customer_engagement.go
- model_event.go
- model_finance.go
- model_fulfillment.go
- model_fulfillment_fbt.go
- model_logistics.go
- model_order.go
- model_product.go
- model_promotion.go
- model_seller.go
- model_supply_chain.go
- model_webhook.go
- order.go
- product.go
- promotion.go
- request.go
- seller.go
- sign.go
- supply_chain.go
Click to show internal directories.
Click to hide internal directories.