├── .gitattributes ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── Fulfillment.go ├── Fulfillment_.go ├── Fulfillment_integ_test.go ├── Fulfillment_test.go ├── LICENSE ├── README.md ├── Taskfile.yml ├── auth.go ├── auth_integ_test.go ├── auth_test.go ├── client.go ├── error.go ├── error_test.go ├── finance.go ├── finance_.go ├── finance_integ_test.go ├── finance_test.go ├── go.mod ├── go.sum ├── helper.go ├── helper_integ_test.go ├── helper_test.go ├── logistics.go ├── logistics_.go ├── logistics_integ_test.go ├── logistics_test.go ├── option.go ├── order.go ├── order_.go ├── order_integ_test.go ├── order_test.go ├── product.go ├── product_.go ├── product_integ_test.go ├── product_test.go ├── request.go ├── response.go ├── respsonse_test.go ├── reverseorder.go ├── reverseorder_.go ├── reverseorder_integ_test.go ├── reverseorder_test.go ├── shop.go ├── shop_.go ├── shop_integ_test.go ├── shop_test.go └── testdata ├── finance ├── get_order_settlements.json ├── search_settlements.json └── search_transactions.json ├── fulfillment ├── [10]RemovePackageOrder.json ├── [11]ConfirmPreCombinePkg.json ├── [12]SearchPreCombinePkg.json ├── [1]ConfirmOrderSplit.json ├── [2]VerifyOrderSplit.json ├── [3]GetPackageShippingDocument.json ├── [4]UpdatePackageShippingInfo.json ├── [5]GetPackageShippingInfo.json ├── [6]GetPackageDetail.json ├── [7]SearchPackage.json ├── [8]ShipPackage.json └── [9]GetPackagePickupConfig.json ├── get_access_token.json ├── logistics ├── [1]GetShippingInfo.json ├── [2]UpdateShippingInfo.json ├── [3]GetShippingDocument.json ├── [4]GetSubscribedDelivery.json ├── [5]GetWarehouseList.json └── [6]GetShippingProvider.json ├── order ├── cancel_order.json ├── order_detail.json ├── order_list.json └── ship_order.json ├── product ├── [10]get_product_detail.json ├── [11]update_price.json ├── [12]update_stock.json ├── [13]deactivate_products.json ├── [14]delete_products.json ├── [15]recover_product.json ├── [16]activate_product.json ├── [1]get_category.json ├── [2]get_attribute.json ├── [3]get_category_rule.json ├── [4]get_brand.json ├── [5]upload_img.json ├── [6]upload_file.json ├── [7]create_product.json ├── [8]edit_product.json ├── [9]get_product_list.json ├── pic-teapot.jpeg └── sample.pdf ├── refresh_token.json ├── reverseorder ├── confirm_reverse.json ├── get_reverse_list.json ├── get_reverse_reason.json └── reject_reverse.json └── shop └── get_authorized_shop.json /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/.gitignore -------------------------------------------------------------------------------- /Fulfillment.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/Fulfillment.go -------------------------------------------------------------------------------- /Fulfillment_.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/Fulfillment_.go -------------------------------------------------------------------------------- /Fulfillment_integ_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/Fulfillment_integ_test.go -------------------------------------------------------------------------------- /Fulfillment_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/Fulfillment_test.go -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/README.md -------------------------------------------------------------------------------- /Taskfile.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/Taskfile.yml -------------------------------------------------------------------------------- /auth.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/auth.go -------------------------------------------------------------------------------- /auth_integ_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/auth_integ_test.go -------------------------------------------------------------------------------- /auth_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/auth_test.go -------------------------------------------------------------------------------- /client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/client.go -------------------------------------------------------------------------------- /error.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/error.go -------------------------------------------------------------------------------- /error_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/error_test.go -------------------------------------------------------------------------------- /finance.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/finance.go -------------------------------------------------------------------------------- /finance_.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/finance_.go -------------------------------------------------------------------------------- /finance_integ_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/finance_integ_test.go -------------------------------------------------------------------------------- /finance_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/finance_test.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/go.sum -------------------------------------------------------------------------------- /helper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/helper.go -------------------------------------------------------------------------------- /helper_integ_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/helper_integ_test.go -------------------------------------------------------------------------------- /helper_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/helper_test.go -------------------------------------------------------------------------------- /logistics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/logistics.go -------------------------------------------------------------------------------- /logistics_.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/logistics_.go -------------------------------------------------------------------------------- /logistics_integ_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/logistics_integ_test.go -------------------------------------------------------------------------------- /logistics_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/logistics_test.go -------------------------------------------------------------------------------- /option.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/option.go -------------------------------------------------------------------------------- /order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/order.go -------------------------------------------------------------------------------- /order_.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/order_.go -------------------------------------------------------------------------------- /order_integ_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/order_integ_test.go -------------------------------------------------------------------------------- /order_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/order_test.go -------------------------------------------------------------------------------- /product.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/product.go -------------------------------------------------------------------------------- /product_.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/product_.go -------------------------------------------------------------------------------- /product_integ_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/product_integ_test.go -------------------------------------------------------------------------------- /product_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/product_test.go -------------------------------------------------------------------------------- /request.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/request.go -------------------------------------------------------------------------------- /response.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/response.go -------------------------------------------------------------------------------- /respsonse_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/respsonse_test.go -------------------------------------------------------------------------------- /reverseorder.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/reverseorder.go -------------------------------------------------------------------------------- /reverseorder_.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/reverseorder_.go -------------------------------------------------------------------------------- /reverseorder_integ_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/reverseorder_integ_test.go -------------------------------------------------------------------------------- /reverseorder_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/reverseorder_test.go -------------------------------------------------------------------------------- /shop.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/shop.go -------------------------------------------------------------------------------- /shop_.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/shop_.go -------------------------------------------------------------------------------- /shop_integ_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/shop_integ_test.go -------------------------------------------------------------------------------- /shop_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/shop_test.go -------------------------------------------------------------------------------- /testdata/finance/get_order_settlements.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/finance/get_order_settlements.json -------------------------------------------------------------------------------- /testdata/finance/search_settlements.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/finance/search_settlements.json -------------------------------------------------------------------------------- /testdata/finance/search_transactions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/finance/search_transactions.json -------------------------------------------------------------------------------- /testdata/fulfillment/[10]RemovePackageOrder.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/fulfillment/[10]RemovePackageOrder.json -------------------------------------------------------------------------------- /testdata/fulfillment/[11]ConfirmPreCombinePkg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/fulfillment/[11]ConfirmPreCombinePkg.json -------------------------------------------------------------------------------- /testdata/fulfillment/[12]SearchPreCombinePkg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/fulfillment/[12]SearchPreCombinePkg.json -------------------------------------------------------------------------------- /testdata/fulfillment/[1]ConfirmOrderSplit.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/fulfillment/[1]ConfirmOrderSplit.json -------------------------------------------------------------------------------- /testdata/fulfillment/[2]VerifyOrderSplit.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/fulfillment/[2]VerifyOrderSplit.json -------------------------------------------------------------------------------- /testdata/fulfillment/[3]GetPackageShippingDocument.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/fulfillment/[3]GetPackageShippingDocument.json -------------------------------------------------------------------------------- /testdata/fulfillment/[4]UpdatePackageShippingInfo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/fulfillment/[4]UpdatePackageShippingInfo.json -------------------------------------------------------------------------------- /testdata/fulfillment/[5]GetPackageShippingInfo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/fulfillment/[5]GetPackageShippingInfo.json -------------------------------------------------------------------------------- /testdata/fulfillment/[6]GetPackageDetail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/fulfillment/[6]GetPackageDetail.json -------------------------------------------------------------------------------- /testdata/fulfillment/[7]SearchPackage.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/fulfillment/[7]SearchPackage.json -------------------------------------------------------------------------------- /testdata/fulfillment/[8]ShipPackage.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/fulfillment/[8]ShipPackage.json -------------------------------------------------------------------------------- /testdata/fulfillment/[9]GetPackagePickupConfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/fulfillment/[9]GetPackagePickupConfig.json -------------------------------------------------------------------------------- /testdata/get_access_token.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/get_access_token.json -------------------------------------------------------------------------------- /testdata/logistics/[1]GetShippingInfo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/logistics/[1]GetShippingInfo.json -------------------------------------------------------------------------------- /testdata/logistics/[2]UpdateShippingInfo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/logistics/[2]UpdateShippingInfo.json -------------------------------------------------------------------------------- /testdata/logistics/[3]GetShippingDocument.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/logistics/[3]GetShippingDocument.json -------------------------------------------------------------------------------- /testdata/logistics/[4]GetSubscribedDelivery.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/logistics/[4]GetSubscribedDelivery.json -------------------------------------------------------------------------------- /testdata/logistics/[5]GetWarehouseList.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/logistics/[5]GetWarehouseList.json -------------------------------------------------------------------------------- /testdata/logistics/[6]GetShippingProvider.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/logistics/[6]GetShippingProvider.json -------------------------------------------------------------------------------- /testdata/order/cancel_order.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/order/cancel_order.json -------------------------------------------------------------------------------- /testdata/order/order_detail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/order/order_detail.json -------------------------------------------------------------------------------- /testdata/order/order_list.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/order/order_list.json -------------------------------------------------------------------------------- /testdata/order/ship_order.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/order/ship_order.json -------------------------------------------------------------------------------- /testdata/product/[10]get_product_detail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/product/[10]get_product_detail.json -------------------------------------------------------------------------------- /testdata/product/[11]update_price.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/product/[11]update_price.json -------------------------------------------------------------------------------- /testdata/product/[12]update_stock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/product/[12]update_stock.json -------------------------------------------------------------------------------- /testdata/product/[13]deactivate_products.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/product/[13]deactivate_products.json -------------------------------------------------------------------------------- /testdata/product/[14]delete_products.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/product/[14]delete_products.json -------------------------------------------------------------------------------- /testdata/product/[15]recover_product.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/product/[15]recover_product.json -------------------------------------------------------------------------------- /testdata/product/[16]activate_product.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/product/[16]activate_product.json -------------------------------------------------------------------------------- /testdata/product/[1]get_category.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/product/[1]get_category.json -------------------------------------------------------------------------------- /testdata/product/[2]get_attribute.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/product/[2]get_attribute.json -------------------------------------------------------------------------------- /testdata/product/[3]get_category_rule.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/product/[3]get_category_rule.json -------------------------------------------------------------------------------- /testdata/product/[4]get_brand.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/product/[4]get_brand.json -------------------------------------------------------------------------------- /testdata/product/[5]upload_img.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/product/[5]upload_img.json -------------------------------------------------------------------------------- /testdata/product/[6]upload_file.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/product/[6]upload_file.json -------------------------------------------------------------------------------- /testdata/product/[7]create_product.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/product/[7]create_product.json -------------------------------------------------------------------------------- /testdata/product/[8]edit_product.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/product/[8]edit_product.json -------------------------------------------------------------------------------- /testdata/product/[9]get_product_list.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/product/[9]get_product_list.json -------------------------------------------------------------------------------- /testdata/product/pic-teapot.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/product/pic-teapot.jpeg -------------------------------------------------------------------------------- /testdata/product/sample.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/product/sample.pdf -------------------------------------------------------------------------------- /testdata/refresh_token.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/refresh_token.json -------------------------------------------------------------------------------- /testdata/reverseorder/confirm_reverse.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/reverseorder/confirm_reverse.json -------------------------------------------------------------------------------- /testdata/reverseorder/get_reverse_list.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/reverseorder/get_reverse_list.json -------------------------------------------------------------------------------- /testdata/reverseorder/get_reverse_reason.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/reverseorder/get_reverse_reason.json -------------------------------------------------------------------------------- /testdata/reverseorder/reject_reverse.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/reverseorder/reject_reverse.json -------------------------------------------------------------------------------- /testdata/shop/get_authorized_shop.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfans/tiktok/HEAD/testdata/shop/get_authorized_shop.json --------------------------------------------------------------------------------