{ "consumes": [ "application/json" ], "produces": [ "application/json" ], "schemes": [ "http", "https" ], "swagger": "2.0", "info": { "title": "API Document", "version": "v1" }, "paths": { "/api/admin.Account/CreateAdminUser": { "post": { "tags": [ "Account" ], "summary": "CreateAdminUser", "operationId": "admin.Account-CreateAdminUser", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuCreateAdminUserRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuCreateAdminUserResponse" } } } } }, "/api/admin.Account/CreatePartner": { "post": { "tags": [ "Account" ], "summary": "CreatePartner", "operationId": "admin.Account-CreatePartner", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuCreatePartnerRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/baPartner" } } } } }, "/api/admin.Account/DeleteAdminUser": { "post": { "tags": [ "Account" ], "summary": "DeleteAdminUser", "operationId": "admin.Account-DeleteAdminUser", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuDeleteAdminUserRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuDeleteAdminUserResponse" } } } } }, "/api/admin.Account/GenerateAPIKey": { "post": { "tags": [ "Account" ], "summary": "GenerateAPIKey", "operationId": "admin.Account-GenerateAPIKey", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuGenerateAPIKeyRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuGenerateAPIKeyResponse" } } } } }, "/api/admin.Account/GetAPIKey": { "post": { "tags": [ "Account" ], "summary": "GetAPIKey", "operationId": "admin.Account-GetAPIKey", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuGetAPIKeyRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuGetAPIKeyResponse" } } } } }, "/api/admin.Account/GetAdminUsers": { "post": { "tags": [ "Account" ], "summary": "GetAdminUsers", "operationId": "admin.Account-GetAdminUsers", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuGetAdminUsersRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuGetAdminUserResponse" } } } } }, "/api/admin.Account/UpdateAdminUser": { "post": { "tags": [ "Account" ], "summary": "UpdateAdminUser", "operationId": "admin.Account-UpdateAdminUser", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuUpdateAdminUserRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuUpdateAdminUserResponse" } } } } }, "/api/admin.AccountUser/GetAccountUsers": { "post": { "tags": [ "AccountUser" ], "summary": "GetAccountUsers", "operationId": "admin.AccountUser-GetAccountUsers", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuGetAccountUsersRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuGetAccountUsersResponse" } } } } }, "/api/admin.Connection/ConfirmConnection": { "post": { "tags": [ "Connection" ], "summary": "ConfirmConnection", "operationId": "admin.Connection-ConfirmConnection", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.Connection/CreateBuiltinConnection": { "post": { "tags": [ "Connection" ], "summary": "CreateBuiltinConnection", "operationId": "admin.Connection-CreateBuiltinConnection", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/qdCreateBuiltinConnectionRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdConnection" } } } } }, "/api/admin.Connection/DisableConnection": { "post": { "tags": [ "Connection" ], "summary": "DisableConnection", "operationId": "admin.Connection-DisableConnection", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.Connection/GetBuiltinShopConnections": { "post": { "tags": [ "Connection" ], "summary": "GetBuiltinShopConnections", "operationId": "admin.Connection-GetBuiltinShopConnections", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktEmpty" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdGetShopConnectionsResponse" } } } } }, "/api/admin.Connection/GetConnectDirectShipmentShopSetting": { "post": { "tags": [ "Connection" ], "summary": "GetConnectDirectShipmentShopSetting", "operationId": "admin.Connection-GetConnectDirectShipmentShopSetting", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/qdGetConnectDirectShipmentShopSettingRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdGetConnectDirectShipmentSettingResponse" } } } } }, "/api/admin.Connection/GetConnectionServices": { "post": { "tags": [ "Connection" ], "summary": "GetConnectionServices", "operationId": "admin.Connection-GetConnectionServices", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdGetConnectionServicesResponse" } } } } }, "/api/admin.Connection/GetConnections": { "post": { "tags": [ "Connection" ], "summary": "GetConnections", "operationId": "admin.Connection-GetConnections", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/qdGetConnectionsRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdGetConnectionsResponse" } } } } }, "/api/admin.Connection/UpdateConnectDirectShipmentShopSetting": { "post": { "tags": [ "Connection" ], "summary": "UpdateConnectDirectShipmentShopSetting", "operationId": "admin.Connection-UpdateConnectDirectShipmentShopSetting", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/qdUpdateDirectShipmentSettingRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdUpdateDirectShipmentSettingResponse" } } } } }, "/api/admin.Connection/UpdateShopConnection": { "post": { "tags": [ "Connection" ], "summary": "UpdateShopConnection", "operationId": "admin.Connection-UpdateShopConnection", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/qdUpdateShopConnectionRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.Credit/ConfirmCredit": { "post": { "tags": [ "Credit" ], "summary": "ConfirmCredit", "operationId": "admin.Credit-ConfirmCredit", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuConfirmCreditRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.Credit/CreateCredit": { "post": { "tags": [ "Credit" ], "summary": "CreateCredit", "operationId": "admin.Credit-CreateCredit", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuCreateCreditRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/baCredit" } } } } }, "/api/admin.Credit/DeleteCredit": { "post": { "tags": [ "Credit" ], "summary": "DeleteCredit", "operationId": "admin.Credit-DeleteCredit", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktRemovedResponse" } } } } }, "/api/admin.Credit/GetCredit": { "post": { "tags": [ "Credit" ], "summary": "GetCredit", "operationId": "admin.Credit-GetCredit", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuGetCreditRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/baCredit" } } } } }, "/api/admin.Credit/GetCredits": { "post": { "tags": [ "Credit" ], "summary": "GetCredits", "operationId": "admin.Credit-GetCredits", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuGetCreditsRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/baCreditsResponse" } } } } }, "/api/admin.Etelecom/ActivateTenant": { "post": { "tags": [ "Etelecom" ], "summary": "ActivateTenant", "operationId": "admin.Etelecom-ActivateTenant", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/riActivateTenantRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.Etelecom/AddHotlineToTenant": { "post": { "tags": [ "Etelecom" ], "summary": "AddHotlineToTenant", "operationId": "admin.Etelecom-AddHotlineToTenant", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/riAddHotlineToTenantRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.Etelecom/CreateHotline": { "post": { "tags": [ "Etelecom" ], "summary": "CreateHotline", "operationId": "admin.Etelecom-CreateHotline", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/riCreateHotlineRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/riHotline" } } } } }, "/api/admin.Etelecom/CreateTenant": { "post": { "tags": [ "Etelecom" ], "summary": "CreateTenant", "operationId": "admin.Etelecom-CreateTenant", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/riAdminCreateTenantRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/riTenant" } } } } }, "/api/admin.Etelecom/DeleteHotline": { "post": { "tags": [ "Etelecom" ], "summary": "DeleteHotline", "operationId": "admin.Etelecom-DeleteHotline", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktDeletedResponse" } } } } }, "/api/admin.Etelecom/GetHotlines": { "post": { "tags": [ "Etelecom" ], "summary": "GetHotlines", "operationId": "admin.Etelecom-GetHotlines", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/riGetHotLinesRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/riGetHotLinesResponse" } } } } }, "/api/admin.Etelecom/GetTenants": { "post": { "tags": [ "Etelecom" ], "summary": "GetTenants", "operationId": "admin.Etelecom-GetTenants", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/riGetTenantsRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/riGetTenantsResponse" } } } } }, "/api/admin.Etelecom/GetUserSettings": { "post": { "tags": [ "Etelecom" ], "summary": "GetUserSettings", "operationId": "admin.Etelecom-GetUserSettings", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/riGetUserSettingsRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/riUserSettingsResponse" } } } } }, "/api/admin.Etelecom/RemoveHotlineOutOfTenant": { "post": { "tags": [ "Etelecom" ], "summary": "RemoveHotlineOutOfTenant", "operationId": "admin.Etelecom-RemoveHotlineOutOfTenant", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/riRemoveHotlineOutOfTenantRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktRemovedResponse" } } } } }, "/api/admin.Etelecom/UpdateHotline": { "post": { "tags": [ "Etelecom" ], "summary": "UpdateHotline", "operationId": "admin.Etelecom-UpdateHotline", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/riUpdateHotlineRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.Etelecom/UpdateUserSetting": { "post": { "tags": [ "Etelecom" ], "summary": "UpdateUserSetting", "operationId": "admin.Etelecom-UpdateUserSetting", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/riUpdateUserSettingRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.Fulfillment/AddShippingFee": { "post": { "tags": [ "Fulfillment" ], "summary": "AddShippingFee", "operationId": "admin.Fulfillment-AddShippingFee", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuAddShippingFeeRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.Fulfillment/GetFulfillment": { "post": { "tags": [ "Fulfillment" ], "summary": "GetFulfillment", "operationId": "admin.Fulfillment-GetFulfillment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdFulfillment" } } } } }, "/api/admin.Fulfillment/GetFulfillments": { "post": { "tags": [ "Fulfillment" ], "summary": "GetFulfillments", "operationId": "admin.Fulfillment-GetFulfillments", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuGetFulfillmentsRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdFulfillmentsResponse" } } } } }, "/api/admin.Fulfillment/UpdateFulfillmentCODAmount": { "post": { "tags": [ "Fulfillment" ], "summary": "UpdateFulfillmentCODAmount", "operationId": "admin.Fulfillment-UpdateFulfillmentCODAmount", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuUpdateFulfillmentCODAmountRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.Fulfillment/UpdateFulfillmentInfo": { "post": { "tags": [ "Fulfillment" ], "summary": "UpdateFulfillmentInfo", "operationId": "admin.Fulfillment-UpdateFulfillmentInfo", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuUpdateFulfillmentInfoRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.Fulfillment/UpdateFulfillmentShippingFees": { "post": { "tags": [ "Fulfillment" ], "summary": "UpdateFulfillmentShippingFees", "operationId": "admin.Fulfillment-UpdateFulfillmentShippingFees", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuUpdateFulfillmentShippingFeesRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.Fulfillment/UpdateFulfillmentShippingState": { "post": { "tags": [ "Fulfillment" ], "summary": "UpdateFulfillmentShippingState", "operationId": "admin.Fulfillment-UpdateFulfillmentShippingState", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuUpdateFulfillmentShippingStateRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.Invoice/CreateInvoiceForSubscription": { "post": { "tags": [ "Invoice" ], "summary": "CreateInvoiceForSubscription", "operationId": "admin.Invoice-CreateInvoiceForSubscription", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/qdCreateInvoiceForSubscriptionRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdInvoice" } } } } }, "/api/admin.Invoice/DeleteInvoice": { "post": { "tags": [ "Invoice" ], "summary": "DeleteInvoice", "operationId": "admin.Invoice-DeleteInvoice", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/qdSubscriptionIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktDeletedResponse" } } } } }, "/api/admin.Invoice/GetInvoices": { "post": { "tags": [ "Invoice" ], "summary": "GetInvoices", "operationId": "admin.Invoice-GetInvoices", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/qdGetInvoicesRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdGetInvoicesResponse" } } } } }, "/api/admin.Invoice/ManualPaymentInvoice": { "post": { "tags": [ "Invoice" ], "summary": "ManualPaymentInvoice", "operationId": "admin.Invoice-ManualPaymentInvoice", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/qdManualPaymentInvoiceRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.Location/CreateCustomRegion": { "post": { "tags": [ "Location" ], "summary": "CreateCustomRegion", "operationId": "admin.Location-CreateCustomRegion", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuCreateCustomRegionRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuCustomRegion" } } } } }, "/api/admin.Location/DeleteCustomRegion": { "post": { "tags": [ "Location" ], "summary": "DeleteCustomRegion", "operationId": "admin.Location-DeleteCustomRegion", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktDeletedResponse" } } } } }, "/api/admin.Location/GetCustomRegion": { "post": { "tags": [ "Location" ], "summary": "GetCustomRegion", "operationId": "admin.Location-GetCustomRegion", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuCustomRegion" } } } } }, "/api/admin.Location/GetCustomRegions": { "post": { "tags": [ "Location" ], "summary": "GetCustomRegions", "operationId": "admin.Location-GetCustomRegions", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktEmpty" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuGetCustomRegionsResponse" } } } } }, "/api/admin.Location/UpdateCustomRegion": { "post": { "tags": [ "Location" ], "summary": "UpdateCustomRegion", "operationId": "admin.Location-UpdateCustomRegion", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuCustomRegion" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.Misc/AdminLoginAsAccount": { "post": { "tags": [ "Misc" ], "summary": "AdminLoginAsAccount", "operationId": "admin.Misc-AdminLoginAsAccount", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuLoginAsAccountRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/baLoginResponse" } } } } }, "/api/admin.Misc/VersionInfo": { "post": { "tags": [ "Misc" ], "summary": "VersionInfo", "operationId": "admin.Misc-VersionInfo", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktEmpty" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktVersionInfoResponse" } } } } }, "/api/admin.MoneyTransaction/ConfirmMoneyTransaction": { "post": { "tags": [ "MoneyTransaction" ], "summary": "ConfirmMoneyTransaction", "operationId": "admin.MoneyTransaction-ConfirmMoneyTransaction", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuConfirmMoneyTransactionRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.MoneyTransaction/ConfirmMoneyTransactionShippingEtop": { "post": { "tags": [ "MoneyTransaction" ], "summary": "ConfirmMoneyTransactionShippingEtop", "operationId": "admin.MoneyTransaction-ConfirmMoneyTransactionShippingEtop", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuConfirmMoneyTransactionShippingEtopRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.MoneyTransaction/ConfirmMoneyTransactionShippingExternals": { "post": { "tags": [ "MoneyTransaction" ], "summary": "ConfirmMoneyTransactionShippingExternals", "operationId": "admin.MoneyTransaction-ConfirmMoneyTransactionShippingExternals", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDsRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.MoneyTransaction/CreateMoneyTransaction": { "post": { "tags": [ "MoneyTransaction" ], "summary": "CreateMoneyTransaction", "operationId": "admin.MoneyTransaction-CreateMoneyTransaction", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuCreateMoneyTransactionRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdMoneyTransaction" } } } } }, "/api/admin.MoneyTransaction/CreateMoneyTransactionShippingEtop": { "post": { "tags": [ "MoneyTransaction" ], "summary": "CreateMoneyTransactionShippingEtop", "operationId": "admin.MoneyTransaction-CreateMoneyTransactionShippingEtop", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDsRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdMoneyTransactionShippingEtop" } } } } }, "/api/admin.MoneyTransaction/DeleteMoneyTransactionShippingEtop": { "post": { "tags": [ "MoneyTransaction" ], "summary": "DeleteMoneyTransactionShippingEtop", "operationId": "admin.MoneyTransaction-DeleteMoneyTransactionShippingEtop", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktDeletedResponse" } } } } }, "/api/admin.MoneyTransaction/DeleteMoneyTransactionShippingExternal": { "post": { "tags": [ "MoneyTransaction" ], "summary": "DeleteMoneyTransactionShippingExternal", "operationId": "admin.MoneyTransaction-DeleteMoneyTransactionShippingExternal", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktRemovedResponse" } } } } }, "/api/admin.MoneyTransaction/GetMoneyTransaction": { "post": { "tags": [ "MoneyTransaction" ], "summary": "GetMoneyTransaction", "operationId": "admin.MoneyTransaction-GetMoneyTransaction", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdMoneyTransaction" } } } } }, "/api/admin.MoneyTransaction/GetMoneyTransactionShippingEtop": { "post": { "tags": [ "MoneyTransaction" ], "summary": "GetMoneyTransactionShippingEtop", "operationId": "admin.MoneyTransaction-GetMoneyTransactionShippingEtop", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdMoneyTransactionShippingEtop" } } } } }, "/api/admin.MoneyTransaction/GetMoneyTransactionShippingEtops": { "post": { "tags": [ "MoneyTransaction" ], "summary": "GetMoneyTransactionShippingEtops", "operationId": "admin.MoneyTransaction-GetMoneyTransactionShippingEtops", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuGetMoneyTransactionShippingEtopsRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdMoneyTransactionShippingEtopsResponse" } } } } }, "/api/admin.MoneyTransaction/GetMoneyTransactionShippingExternal": { "post": { "tags": [ "MoneyTransaction" ], "summary": "GetMoneyTransactionShippingExternal", "operationId": "admin.MoneyTransaction-GetMoneyTransactionShippingExternal", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdMoneyTransactionShippingExternal" } } } } }, "/api/admin.MoneyTransaction/GetMoneyTransactionShippingExternals": { "post": { "tags": [ "MoneyTransaction" ], "summary": "GetMoneyTransactionShippingExternals", "operationId": "admin.MoneyTransaction-GetMoneyTransactionShippingExternals", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuGetMoneyTransactionShippingExternalsRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdMoneyTransactionShippingExternalsResponse" } } } } }, "/api/admin.MoneyTransaction/GetMoneyTransactions": { "post": { "tags": [ "MoneyTransaction" ], "summary": "GetMoneyTransactions", "operationId": "admin.MoneyTransaction-GetMoneyTransactions", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuGetMoneyTransactionsRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdMoneyTransactionsResponse" } } } } }, "/api/admin.MoneyTransaction/RemoveMoneyTransactionShippingExternalLines": { "post": { "tags": [ "MoneyTransaction" ], "summary": "RemoveMoneyTransactionShippingExternalLines", "operationId": "admin.MoneyTransaction-RemoveMoneyTransactionShippingExternalLines", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuRemoveMoneyTransactionShippingExternalLinesRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdMoneyTransactionShippingExternal" } } } } }, "/api/admin.MoneyTransaction/SplitMoneyTransactionShippingExternal": { "post": { "tags": [ "MoneyTransaction" ], "summary": "SplitMoneyTransactionShippingExternal", "operationId": "admin.MoneyTransaction-SplitMoneyTransactionShippingExternal", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuSplitMoneyTxShippingExternalRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.MoneyTransaction/UpdateMoneyTransaction": { "post": { "tags": [ "MoneyTransaction" ], "summary": "UpdateMoneyTransaction", "operationId": "admin.MoneyTransaction-UpdateMoneyTransaction", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuUpdateMoneyTransactionRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdMoneyTransaction" } } } } }, "/api/admin.MoneyTransaction/UpdateMoneyTransactionShippingEtop": { "post": { "tags": [ "MoneyTransaction" ], "summary": "UpdateMoneyTransactionShippingEtop", "operationId": "admin.MoneyTransaction-UpdateMoneyTransactionShippingEtop", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuUpdateMoneyTransactionShippingEtopRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdMoneyTransactionShippingEtop" } } } } }, "/api/admin.MoneyTransaction/UpdateMoneyTransactionShippingExternal": { "post": { "tags": [ "MoneyTransaction" ], "summary": "UpdateMoneyTransactionShippingExternal", "operationId": "admin.MoneyTransaction-UpdateMoneyTransactionShippingExternal", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuUpdateMoneyTransactionShippingExternalRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdMoneyTransactionShippingExternal" } } } } }, "/api/admin.Notification/CreateNotifications": { "post": { "tags": [ "Notification" ], "summary": "CreateNotifications", "operationId": "admin.Notification-CreateNotifications", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuCreateNotificationsRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuCreateNotificationsResponse" } } } } }, "/api/admin.Order/GetOrder": { "post": { "tags": [ "Order" ], "summary": "GetOrder", "operationId": "admin.Order-GetOrder", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdOrder" } } } } }, "/api/admin.Order/GetOrders": { "post": { "tags": [ "Order" ], "summary": "GetOrders", "operationId": "admin.Order-GetOrders", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuGetOrdersRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdOrdersResponse" } } } } }, "/api/admin.Order/GetOrdersByIDs": { "post": { "tags": [ "Order" ], "summary": "GetOrdersByIDs", "operationId": "admin.Order-GetOrdersByIDs", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDsRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdOrdersResponse" } } } } }, "/api/admin.ShipmentPrice/CreateShipmentPrice": { "post": { "tags": [ "ShipmentPrice" ], "summary": "CreateShipmentPrice", "operationId": "admin.ShipmentPrice-CreateShipmentPrice", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuCreateShipmentPriceRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuShipmentPrice" } } } } }, "/api/admin.ShipmentPrice/CreateShipmentPriceList": { "post": { "tags": [ "ShipmentPrice" ], "summary": "CreateShipmentPriceList", "operationId": "admin.ShipmentPrice-CreateShipmentPriceList", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuCreateShipmentPriceListRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuShipmentPriceList" } } } } }, "/api/admin.ShipmentPrice/CreateShipmentPriceListPromotion": { "post": { "tags": [ "ShipmentPrice" ], "summary": "CreateShipmentPriceListPromotion", "operationId": "admin.ShipmentPrice-CreateShipmentPriceListPromotion", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuCreateShipmentPriceListPromotionRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuShipmentPriceListPromotion" } } } } }, "/api/admin.ShipmentPrice/CreateShipmentService": { "post": { "tags": [ "ShipmentPrice" ], "summary": "CreateShipmentService", "operationId": "admin.ShipmentPrice-CreateShipmentService", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuCreateShipmentServiceRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuShipmentService" } } } } }, "/api/admin.ShipmentPrice/CreateShopShipmentPriceList": { "post": { "tags": [ "ShipmentPrice" ], "summary": "CreateShopShipmentPriceList", "operationId": "admin.ShipmentPrice-CreateShopShipmentPriceList", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuCreateShopShipmentPriceList" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuShopShipmentPriceList" } } } } }, "/api/admin.ShipmentPrice/DeleteShipmentPrice": { "post": { "tags": [ "ShipmentPrice" ], "summary": "DeleteShipmentPrice", "operationId": "admin.ShipmentPrice-DeleteShipmentPrice", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktDeletedResponse" } } } } }, "/api/admin.ShipmentPrice/DeleteShipmentPriceList": { "post": { "tags": [ "ShipmentPrice" ], "summary": "DeleteShipmentPriceList", "operationId": "admin.ShipmentPrice-DeleteShipmentPriceList", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktDeletedResponse" } } } } }, "/api/admin.ShipmentPrice/DeleteShipmentPriceListPromotion": { "post": { "tags": [ "ShipmentPrice" ], "summary": "DeleteShipmentPriceListPromotion", "operationId": "admin.ShipmentPrice-DeleteShipmentPriceListPromotion", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktDeletedResponse" } } } } }, "/api/admin.ShipmentPrice/DeleteShipmentService": { "post": { "tags": [ "ShipmentPrice" ], "summary": "DeleteShipmentService", "operationId": "admin.ShipmentPrice-DeleteShipmentService", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktDeletedResponse" } } } } }, "/api/admin.ShipmentPrice/DeleteShopShipmentPriceList": { "post": { "tags": [ "ShipmentPrice" ], "summary": "DeleteShopShipmentPriceList", "operationId": "admin.ShipmentPrice-DeleteShopShipmentPriceList", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuGetShopShipmentPriceListRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktDeletedResponse" } } } } }, "/api/admin.ShipmentPrice/GetShipmentPrice": { "post": { "tags": [ "ShipmentPrice" ], "summary": "GetShipmentPrice", "operationId": "admin.ShipmentPrice-GetShipmentPrice", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuShipmentPrice" } } } } }, "/api/admin.ShipmentPrice/GetShipmentPriceList": { "post": { "tags": [ "ShipmentPrice" ], "summary": "GetShipmentPriceList", "operationId": "admin.ShipmentPrice-GetShipmentPriceList", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuShipmentPriceList" } } } } }, "/api/admin.ShipmentPrice/GetShipmentPriceListPromotion": { "post": { "tags": [ "ShipmentPrice" ], "summary": "GetShipmentPriceListPromotion", "operationId": "admin.ShipmentPrice-GetShipmentPriceListPromotion", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuShipmentPriceListPromotion" } } } } }, "/api/admin.ShipmentPrice/GetShipmentPriceListPromotions": { "post": { "tags": [ "ShipmentPrice" ], "summary": "GetShipmentPriceListPromotions", "operationId": "admin.ShipmentPrice-GetShipmentPriceListPromotions", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuGetShipmentPriceListPromotionsRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuGetShipmentPriceListPromotionsResponse" } } } } }, "/api/admin.ShipmentPrice/GetShipmentPriceLists": { "post": { "tags": [ "ShipmentPrice" ], "summary": "GetShipmentPriceLists", "operationId": "admin.ShipmentPrice-GetShipmentPriceLists", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuGetShipmentPriceListsRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuGetShipmentPriceListsResponse" } } } } }, "/api/admin.ShipmentPrice/GetShipmentPrices": { "post": { "tags": [ "ShipmentPrice" ], "summary": "GetShipmentPrices", "operationId": "admin.ShipmentPrice-GetShipmentPrices", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuGetShipmentPricesRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuGetShipmentPricesResponse" } } } } }, "/api/admin.ShipmentPrice/GetShipmentService": { "post": { "tags": [ "ShipmentPrice" ], "summary": "GetShipmentService", "operationId": "admin.ShipmentPrice-GetShipmentService", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuShipmentService" } } } } }, "/api/admin.ShipmentPrice/GetShipmentServices": { "post": { "tags": [ "ShipmentPrice" ], "summary": "GetShipmentServices", "operationId": "admin.ShipmentPrice-GetShipmentServices", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuGetShipmentServicesRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuGetShipmentServicesResponse" } } } } }, "/api/admin.ShipmentPrice/GetShippingServices": { "post": { "tags": [ "ShipmentPrice" ], "summary": "GetShippingServices", "operationId": "admin.ShipmentPrice-GetShippingServices", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuGetShippingServicesRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdGetShippingServicesResponse" } } } } }, "/api/admin.ShipmentPrice/GetShopShipmentPriceList": { "post": { "tags": [ "ShipmentPrice" ], "summary": "GetShopShipmentPriceList", "operationId": "admin.ShipmentPrice-GetShopShipmentPriceList", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuGetShopShipmentPriceListRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuShopShipmentPriceList" } } } } }, "/api/admin.ShipmentPrice/GetShopShipmentPriceLists": { "post": { "tags": [ "ShipmentPrice" ], "summary": "GetShopShipmentPriceLists", "operationId": "admin.ShipmentPrice-GetShopShipmentPriceLists", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuGetShopShipmentPriceListsRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuGetShopShipmentPriceListsResponse" } } } } }, "/api/admin.ShipmentPrice/SetDefaultShipmentPriceList": { "post": { "tags": [ "ShipmentPrice" ], "summary": "SetDefaultShipmentPriceList", "operationId": "admin.ShipmentPrice-SetDefaultShipmentPriceList", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuActiveShipmentPriceListRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.ShipmentPrice/UpdateShipmentPrice": { "post": { "tags": [ "ShipmentPrice" ], "summary": "UpdateShipmentPrice", "operationId": "admin.ShipmentPrice-UpdateShipmentPrice", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuUpdateShipmentPriceRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuShipmentPrice" } } } } }, "/api/admin.ShipmentPrice/UpdateShipmentPriceList": { "post": { "tags": [ "ShipmentPrice" ], "summary": "UpdateShipmentPriceList", "operationId": "admin.ShipmentPrice-UpdateShipmentPriceList", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuUpdateShipmentPriceListRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.ShipmentPrice/UpdateShipmentPriceListPromotion": { "post": { "tags": [ "ShipmentPrice" ], "summary": "UpdateShipmentPriceListPromotion", "operationId": "admin.ShipmentPrice-UpdateShipmentPriceListPromotion", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuUpdateShipmentPriceListPromotionRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.ShipmentPrice/UpdateShipmentPricesPriorityPoint": { "post": { "tags": [ "ShipmentPrice" ], "summary": "UpdateShipmentPricesPriorityPoint", "operationId": "admin.ShipmentPrice-UpdateShipmentPricesPriorityPoint", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuUpdateShipmentPricesPriorityPointRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.ShipmentPrice/UpdateShipmentService": { "post": { "tags": [ "ShipmentPrice" ], "summary": "UpdateShipmentService", "operationId": "admin.ShipmentPrice-UpdateShipmentService", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuUpdateShipmentServiceRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.ShipmentPrice/UpdateShipmentServicesAvailableLocations": { "post": { "tags": [ "ShipmentPrice" ], "summary": "UpdateShipmentServicesAvailableLocations", "operationId": "admin.ShipmentPrice-UpdateShipmentServicesAvailableLocations", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuUpdateShipmentServicesAvailableLocationsRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.ShipmentPrice/UpdateShipmentServicesBlacklistLocations": { "post": { "tags": [ "ShipmentPrice" ], "summary": "UpdateShipmentServicesBlacklistLocations", "operationId": "admin.ShipmentPrice-UpdateShipmentServicesBlacklistLocations", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuUpdateShipmentServicesBlacklistLocationsRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.ShipmentPrice/UpdateShopShipmentPriceList": { "post": { "tags": [ "ShipmentPrice" ], "summary": "UpdateShopShipmentPriceList", "operationId": "admin.ShipmentPrice-UpdateShopShipmentPriceList", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuUpdateShopShipmentPriceListRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.Shop/GetShop": { "post": { "tags": [ "Shop" ], "summary": "GetShop", "operationId": "admin.Shop-GetShop", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/baShop" } } } } }, "/api/admin.Shop/GetShops": { "post": { "tags": [ "Shop" ], "summary": "GetShops", "operationId": "admin.Shop-GetShops", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuGetShopsRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuGetShopsResponse" } } } } }, "/api/admin.Shop/GetShopsByIDs": { "post": { "tags": [ "Shop" ], "summary": "GetShopsByIDs", "operationId": "admin.Shop-GetShopsByIDs", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDsRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuGetShopsResponse" } } } } }, "/api/admin.Shop/UpdateShopInfo": { "post": { "tags": [ "Shop" ], "summary": "UpdateShopInfo", "operationId": "admin.Shop-UpdateShopInfo", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuUpdateShopInfoRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.Subscription/ActivateSubscription": { "post": { "tags": [ "Subscription" ], "summary": "ActivateSubscription", "operationId": "admin.Subscription-ActivateSubscription", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/qdSubscriptionIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.Subscription/CancelSubscription": { "post": { "tags": [ "Subscription" ], "summary": "CancelSubscription", "operationId": "admin.Subscription-CancelSubscription", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/qdSubscriptionIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.Subscription/CreateSubscription": { "post": { "tags": [ "Subscription" ], "summary": "CreateSubscription", "operationId": "admin.Subscription-CreateSubscription", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/qdCreateSubscriptionRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdSubscription" } } } } }, "/api/admin.Subscription/CreateSubscriptionPlan": { "post": { "tags": [ "Subscription" ], "summary": "CreateSubscriptionPlan", "operationId": "admin.Subscription-CreateSubscriptionPlan", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/qdCreateSubrPlanRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdSubscriptionPlan" } } } } }, "/api/admin.Subscription/CreateSubscriptionProduct": { "post": { "tags": [ "Subscription" ], "summary": "CreateSubscriptionProduct", "operationId": "admin.Subscription-CreateSubscriptionProduct", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/qdCreateSubrProductRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdSubscriptionProduct" } } } } }, "/api/admin.Subscription/DeleteSubscription": { "post": { "tags": [ "Subscription" ], "summary": "DeleteSubscription", "operationId": "admin.Subscription-DeleteSubscription", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/qdSubscriptionIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktDeletedResponse" } } } } }, "/api/admin.Subscription/DeleteSubscriptionPlan": { "post": { "tags": [ "Subscription" ], "summary": "DeleteSubscriptionPlan", "operationId": "admin.Subscription-DeleteSubscriptionPlan", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktDeletedResponse" } } } } }, "/api/admin.Subscription/DeleteSubscriptionProduct": { "post": { "tags": [ "Subscription" ], "summary": "DeleteSubscriptionProduct", "operationId": "admin.Subscription-DeleteSubscriptionProduct", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktDeletedResponse" } } } } }, "/api/admin.Subscription/GetSubscription": { "post": { "tags": [ "Subscription" ], "summary": "GetSubscription", "operationId": "admin.Subscription-GetSubscription", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/qdSubscriptionIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdSubscription" } } } } }, "/api/admin.Subscription/GetSubscriptionPlans": { "post": { "tags": [ "Subscription" ], "summary": "GetSubscriptionPlans", "operationId": "admin.Subscription-GetSubscriptionPlans", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/qdGetSubrPlansRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdGetSubrPlansResponse" } } } } }, "/api/admin.Subscription/GetSubscriptionProducts": { "post": { "tags": [ "Subscription" ], "summary": "GetSubscriptionProducts", "operationId": "admin.Subscription-GetSubscriptionProducts", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktEmpty" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdGetSubrProductsResponse" } } } } }, "/api/admin.Subscription/GetSubscriptions": { "post": { "tags": [ "Subscription" ], "summary": "GetSubscriptions", "operationId": "admin.Subscription-GetSubscriptions", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/qdGetSubscriptionsRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdGetSubscriptionsResponse" } } } } }, "/api/admin.Subscription/UpdateSubscriptionInfo": { "post": { "tags": [ "Subscription" ], "summary": "UpdateSubscriptionInfo", "operationId": "admin.Subscription-UpdateSubscriptionInfo", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/qdUpdateSubscriptionInfoRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.Subscription/UpdateSubscriptionPlan": { "post": { "tags": [ "Subscription" ], "summary": "UpdateSubscriptionPlan", "operationId": "admin.Subscription-UpdateSubscriptionPlan", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/qdUpdateSubrPlanRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.Ticket/AssignTicket": { "post": { "tags": [ "Ticket" ], "summary": "AssignTicket", "operationId": "admin.Ticket-AssignTicket", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuAssignTicketRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/flTicket" } } } } }, "/api/admin.Ticket/CloseTicket": { "post": { "tags": [ "Ticket" ], "summary": "CloseTicket", "operationId": "admin.Ticket-CloseTicket", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuCloseTicketRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/flTicket" } } } } }, "/api/admin.Ticket/ConfirmTicket": { "post": { "tags": [ "Ticket" ], "summary": "ConfirmTicket", "operationId": "admin.Ticket-ConfirmTicket", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuConfirmTicketRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/flTicket" } } } } }, "/api/admin.Ticket/CreateTicket": { "post": { "description": "ticket\n", "tags": [ "Ticket" ], "summary": "CreateTicket", "operationId": "admin.Ticket-CreateTicket", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuCreateTicketRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/flTicket" } } } } }, "/api/admin.Ticket/CreateTicketComment": { "post": { "description": "ticket comment\n", "tags": [ "Ticket" ], "summary": "CreateTicketComment", "operationId": "admin.Ticket-CreateTicketComment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuCreateTicketCommentRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/flTicketComment" } } } } }, "/api/admin.Ticket/CreateTicketLabel": { "post": { "description": "ticket label\n", "tags": [ "Ticket" ], "summary": "CreateTicketLabel", "operationId": "admin.Ticket-CreateTicketLabel", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuCreateTicketLabelRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/flTicketLabel" } } } } }, "/api/admin.Ticket/DeleteTicketComment": { "post": { "tags": [ "Ticket" ], "summary": "DeleteTicketComment", "operationId": "admin.Ticket-DeleteTicketComment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuDeleteTicketCommentRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuDeleteTicketCommentResponse" } } } } }, "/api/admin.Ticket/DeleteTicketLabel": { "post": { "tags": [ "Ticket" ], "summary": "DeleteTicketLabel", "operationId": "admin.Ticket-DeleteTicketLabel", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuDeleteTicketLabelRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuDeleteTicketLabelResponse" } } } } }, "/api/admin.Ticket/GetTicket": { "post": { "tags": [ "Ticket" ], "summary": "GetTicket", "operationId": "admin.Ticket-GetTicket", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuGetTicketRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/flTicket" } } } } }, "/api/admin.Ticket/GetTicketComments": { "post": { "tags": [ "Ticket" ], "summary": "GetTicketComments", "operationId": "admin.Ticket-GetTicketComments", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuGetTicketCommentsRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuGetTicketCommentsResponse" } } } } }, "/api/admin.Ticket/GetTicketLabels": { "post": { "tags": [ "Ticket" ], "summary": "GetTicketLabels", "operationId": "admin.Ticket-GetTicketLabels", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuGetTicketLabelsRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuGetTicketLabelsResponse" } } } } }, "/api/admin.Ticket/GetTickets": { "post": { "tags": [ "Ticket" ], "summary": "GetTickets", "operationId": "admin.Ticket-GetTickets", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuGetTicketsRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuGetTicketsResponse" } } } } }, "/api/admin.Ticket/GetTicketsByRefTicketID": { "post": { "tags": [ "Ticket" ], "summary": "GetTicketsByRefTicketID", "operationId": "admin.Ticket-GetTicketsByRefTicketID", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/flGetTicketsByRefTicketIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/flGetTicketsByRefTicketIDResponse" } } } } }, "/api/admin.Ticket/ReopenTicket": { "post": { "tags": [ "Ticket" ], "summary": "ReopenTicket", "operationId": "admin.Ticket-ReopenTicket", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuReopenTicketRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/flTicket" } } } } }, "/api/admin.Ticket/UnassignTicket": { "post": { "tags": [ "Ticket" ], "summary": "UnassignTicket", "operationId": "admin.Ticket-UnassignTicket", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuAssignTicketRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/flTicket" } } } } }, "/api/admin.Ticket/UpdateTicketComment": { "post": { "tags": [ "Ticket" ], "summary": "UpdateTicketComment", "operationId": "admin.Ticket-UpdateTicketComment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuUpdateTicketCommentRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/flTicketComment" } } } } }, "/api/admin.Ticket/UpdateTicketLabel": { "post": { "tags": [ "Ticket" ], "summary": "UpdateTicketLabel", "operationId": "admin.Ticket-UpdateTicketLabel", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuUpdateTicketLabelRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/flTicketLabel" } } } } }, "/api/admin.Ticket/UpdateTicketRefTicketID": { "post": { "tags": [ "Ticket" ], "summary": "UpdateTicketRefTicketID", "operationId": "admin.Ticket-UpdateTicketRefTicketID", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuUpdateTicketRefTicketIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.Transaction/GetTransactions": { "post": { "tags": [ "Transaction" ], "summary": "GetTransactions", "operationId": "admin.Transaction-GetTransactions", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/qdGetAdminTransactionsRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/qdGetTransactionsResponse" } } } } }, "/api/admin.User/BlockUser": { "post": { "tags": [ "User" ], "summary": "BlockUser", "operationId": "admin.User-BlockUser", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuBlockUserRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/baUser" } } } } }, "/api/admin.User/ChangeUserCredential": { "post": { "tags": [ "User" ], "summary": "ChangeUserCredential", "operationId": "admin.User-ChangeUserCredential", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuChangeUserCredentialRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktUpdatedResponse" } } } } }, "/api/admin.User/GetLatestUserOTP": { "post": { "tags": [ "User" ], "summary": "GetLatestUserOTP", "operationId": "admin.User-GetLatestUserOTP", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuGetLatestUserOTPRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuGetLatestUserOTPResponse" } } } } }, "/api/admin.User/GetUser": { "post": { "tags": [ "User" ], "summary": "GetUser", "operationId": "admin.User-GetUser", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/baUser" } } } } }, "/api/admin.User/GetUsers": { "post": { "tags": [ "User" ], "summary": "GetUsers", "operationId": "admin.User-GetUsers", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuGetUsersRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuUserResponse" } } } } }, "/api/admin.User/GetUsersByIDs": { "post": { "tags": [ "User" ], "summary": "GetUsersByIDs", "operationId": "admin.User-GetUsersByIDs", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ktIDsRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/xuUserResponse" } } } } }, "/api/admin.User/UnblockUser": { "post": { "tags": [ "User" ], "summary": "UnblockUser", "operationId": "admin.User-UnblockUser", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuUnblockUserRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/baUser" } } } } }, "/api/admin.User/UpdateUserRef": { "post": { "tags": [ "User" ], "summary": "UpdateUserRef", "operationId": "admin.User-UpdateUserRef", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/xuUpdateUserRefRequest" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/ktEmpty" } } } } } }, "definitions": { "adAddressType": { "type": "string", "enum": [ "unknown", "general", "warehouse", "shipto", "shipfrom" ] }, "aeCreditClassify": { "type": "string", "enum": [ "shipping", "telecom" ] }, "aeCreditType": { "type": "string", "enum": [ "shop" ] }, "ajCustomRegionRouteType": { "type": "string", "enum": [ "noi_vung", "lien_vung" ] }, "ajProvinceRouteType": { "type": "string", "enum": [ "noi_tinh", "lien_tinh" ] }, "ajRegionRouteType": { "type": "string", "enum": [ "noi_mien", "lien_mien", "can_mien" ] }, "ajUrbanType": { "type": "string", "enum": [ "unknown", "noi_thanh", "ngoai_thanh_1", "ngoai_thanh_2" ] }, "baAddress": { "type": "object", "properties": { "address1": { "type": "string" }, "address2": { "type": "string" }, "coordinates": { "$ref": "#/definitions/baCoordinates" }, "country": { "type": "string" }, "district": { "type": "string" }, "district_code": { "type": "string" }, "email": { "type": "string" }, "exported_fields": { "type": "array", "items": { "type": "string" } }, "first_name": { "description": "**Deprecated:** use full_name instead\n", "type": "string" }, "full_name": { "type": "string" }, "id": { "type": "string", "format": "int64" }, "last_name": { "description": "**Deprecated:** use full_name instead\n", "type": "string" }, "notes": { "$ref": "#/definitions/baAddressNote" }, "phone": { "type": "string" }, "position": { "type": "string" }, "province": { "type": "string" }, "province_code": { "type": "string" }, "type": { "$ref": "#/definitions/adAddressType" }, "ward": { "type": "string" }, "ward_code": { "type": "string" }, "zip": { "type": "string" } } }, "baAddressNote": { "type": "object", "properties": { "lunch_break": { "type": "string" }, "note": { "type": "string" }, "open_time": { "type": "string" }, "other": { "type": "string" } } }, "baAffiliate": { "type": "object", "properties": { "bank_account": { "$ref": "#/definitions/baBankAccount" }, "email": { "type": "string" }, "id": { "type": "string", "format": "int64" }, "is_test": { "type": "boolean" }, "name": { "type": "string" }, "phone": { "type": "string" }, "status": { "$ref": "#/definitions/blStatus" } } }, "baBankAccount": { "type": "object", "properties": { "account_name": { "type": "string" }, "account_number": { "type": "string" }, "branch": { "type": "string" }, "name": { "type": "string" }, "province": { "type": "string" } } }, "baCompanyInfo": { "type": "object", "properties": { "address": { "type": "string" }, "legal_representative": { "$ref": "#/definitions/baContactPerson" }, "name": { "type": "string" }, "tax_code": { "type": "string" }, "website": { "type": "string" } } }, "baContactPerson": { "type": "object", "properties": { "email": { "type": "string" }, "name": { "type": "string" }, "phone": { "type": "string" }, "position": { "type": "string" } } }, "baCoordinates": { "type": "object", "properties": { "latitude": { "type": "integer", "format": "float32" }, "longitude": { "type": "integer", "format": "float32" } } }, "baCredit": { "type": "object", "properties": { "amount": { "type": "integer" }, "classify": { "$ref": "#/definitions/aeCreditClassify" }, "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "int64" }, "paid_at": { "type": "string", "format": "date-time" }, "shop": { "$ref": "#/definitions/baShop" }, "shop_id": { "type": "string", "format": "int64" }, "status": { "$ref": "#/definitions/blStatus" }, "type": { "$ref": "#/definitions/aeCreditType" }, "updated_at": { "type": "string", "format": "date-time" } } }, "baCreditsResponse": { "type": "object", "properties": { "credits": { "type": "array", "items": { "$ref": "#/definitions/baCredit" } }, "paging": { "$ref": "#/definitions/ktPageInfo" } } }, "baLoginAccount": { "description": "Represents an account associated with the current user. It has extra fields to represents relation with the user.\n", "type": "object", "required": [ "id", "name", "type" ], "properties": { "access_token": { "description": "Associated token for the account. It's returned when calling Login or\nSwitchAccount with regenerate_tokens set to true.\n", "type": "string" }, "expires_in": { "description": "The same as access_token.\n", "type": "integer" }, "exported_fields": { "type": "array", "items": { "type": "string" } }, "id": { "type": "string", "format": "int64" }, "image_url": { "type": "string" }, "name": { "type": "string" }, "type": { "$ref": "#/definitions/jjAccountType" }, "url_slug": { "type": "string" }, "user_account": { "$ref": "#/definitions/baUserAccountInfo" } } }, "baLoginResponse": { "type": "object", "required": [ "access_token", "expires_in", "user", "available_accounts" ], "properties": { "access_token": { "type": "string" }, "account": { "$ref": "#/definitions/baLoginAccount" }, "affiliate": { "$ref": "#/definitions/baAffiliate" }, "available_accounts": { "type": "array", "items": { "$ref": "#/definitions/baLoginAccount" } }, "expires_in": { "type": "integer" }, "invitation_accounts": { "type": "array", "items": { "$ref": "#/definitions/baUserAccountInfo" } }, "shop": { "$ref": "#/definitions/baShop" }, "stoken": { "type": "boolean" }, "stoken_expires_at": { "type": "string", "format": "date-time" }, "user": { "$ref": "#/definitions/baUser" } } }, "baPartner": { "type": "object", "properties": { "contact_persons": { "type": "array", "items": { "$ref": "#/definitions/baContactPerson" } }, "email": { "type": "string" }, "id": { "type": "string", "format": "int64" }, "image_url": { "type": "string" }, "is_test": { "type": "boolean" }, "name": { "type": "string" }, "owner_id": { "type": "string", "format": "int64" }, "phone": { "type": "string" }, "public_name": { "type": "string" }, "status": { "$ref": "#/definitions/blStatus" }, "user": { "$ref": "#/definitions/baUser" }, "website_url": { "type": "string" } } }, "baPermission": { "description": "Represents permission of the current user relation with an account.\n", "type": "object", "properties": { "permissions": { "type": "array", "items": { "type": "string" } }, "roles": { "type": "array", "items": { "type": "string" } } } }, "baShippingServiceSelectStrategyItem": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": "string" } } }, "baShop": { "type": "object", "properties": { "address": { "$ref": "#/definitions/baAddress" }, "auto_create_ffm": { "type": "boolean" }, "bank_account": { "$ref": "#/definitions/baBankAccount" }, "block_reason": { "type": "string" }, "code": { "type": "string" }, "company_info": { "$ref": "#/definitions/baCompanyInfo" }, "created_at": { "type": "string", "format": "date-time" }, "email": { "type": "string" }, "exported_fields": { "type": "array", "items": { "type": "string" } }, "ghn_note_code": { "allOf": [ { "description": "**Deprecated:** use try_on instead\n" }, { "$ref": "#/definitions/pjGHNNoteCode" } ] }, "id": { "type": "string", "format": "int64" }, "image_url": { "type": "string" }, "inventory_overstock": { "type": "boolean" }, "is_blocked": { "type": "boolean" }, "is_prior_money_transaction": { "type": "boolean" }, "is_test": { "type": "boolean" }, "money_transaction_count": { "type": "integer" }, "money_transaction_rrule": { "description": "referrence: https://icalendar.org/rrule-tool.html\n", "type": "string" }, "name": { "type": "string" }, "owner_id": { "type": "string", "format": "int64" }, "phone": { "type": "string" }, "product_source_id": { "type": "string", "format": "int64" }, "ship_from_address_id": { "type": "string", "format": "int64" }, "ship_to_address_id": { "type": "string", "format": "int64" }, "shipping_service_select_strategy": { "type": "array", "items": { "$ref": "#/definitions/baShippingServiceSelectStrategyItem" } }, "status": { "$ref": "#/definitions/blStatus" }, "survey_info": { "type": "array", "items": { "$ref": "#/definitions/baSurveyInfo" } }, "try_on": { "$ref": "#/definitions/csTryOnCode" }, "updated_at": { "type": "string", "format": "date-time" }, "user": { "$ref": "#/definitions/baUser" }, "website_url": { "type": "string" } } }, "baSurveyInfo": { "type": "object", "properties": { "answer": { "type": "string" }, "key": { "type": "string" }, "question": { "type": "string" } } }, "baUser": { "description": "Represents a user in eTop system. The user may or may not have associated accounts.\n", "type": "object", "required": [ "id", "full_name", "short_name", "phone", "email", "created_at", "updated_at" ], "properties": { "block_reason": { "type": "string" }, "blocked_at": { "type": "string", "format": "date-time" }, "created_at": { "type": "string", "format": "date-time" }, "email": { "type": "string" }, "email_verification_sent_at": { "type": "string", "format": "date-time" }, "email_verified_at": { "type": "string", "format": "date-time" }, "full_name": { "type": "string" }, "id": { "type": "string", "format": "int64" }, "is_blocked": { "type": "boolean" }, "phone": { "type": "string" }, "phone_verification_sent_at": { "type": "string", "format": "date-time" }, "phone_verified_at": { "type": "string", "format": "date-time" }, "ref_aff": { "type": "string" }, "ref_sale": { "type": "string" }, "short_name": { "type": "string" }, "source": { "$ref": "#/definitions/djUserSource" }, "total_shop": { "type": "integer" }, "updated_at": { "type": "string", "format": "date-time" } } }, "baUserAccountInfo": { "description": "Presents user information inside an account\n", "type": "object", "required": [ "user_id", "user_full_name", "user_short_name", "account_id", "account_name", "account_type", "permission" ], "properties": { "account_id": { "type": "string", "format": "int64" }, "account_name": { "type": "string" }, "account_type": { "$ref": "#/definitions/jjAccountType" }, "disable_reason": { "type": "string" }, "disabled_at": { "type": "string", "format": "date-time" }, "disabled_by": { "type": "string", "format": "int64" }, "invitation_accepted_at": { "type": "string", "format": "date-time" }, "invitation_rejected_at": { "type": "string", "format": "date-time" }, "invitation_sent_at": { "type": "string", "format": "date-time" }, "invitation_sent_by": { "type": "string", "format": "int64" }, "permission": { "$ref": "#/definitions/baPermission" }, "position": { "type": "string" }, "response_status": { "$ref": "#/definitions/blStatus" }, "status": { "$ref": "#/definitions/blStatus" }, "user_full_name": { "type": "string" }, "user_id": { "type": "string", "format": "int64" }, "user_short_name": { "type": "string" } } }, "bdServiceClassify": { "type": "string", "enum": [ "shipping", "telecom", "all" ] }, "bjState": { "type": "string", "enum": [ "default", "created", "assigning", "picking", "delivering", "delivered", "returning", "returned", "unknown", "undeliverable", "cancelled" ] }, "blStatus": { "type": "string", "enum": [ "Z", "P", "N" ] }, "bmStatus": { "type": "string", "enum": [ "Z", "P", "S", "N" ] }, "bnStatus": { "type": "string", "enum": [ "Z", "P", "S", "N", "NS" ] }, "bqSubjectReferral": { "type": "string", "enum": [ "unknown", "credit", "invoice", "subscription", "order" ] }, "bwShippingProvider": { "type": "string", "enum": [ "unknown", "all", "manual", "ghn", "ghtk", "vtpost", "etop", "partner", "ninjavan", "dhl", "ntx" ] }, "cdConnectionMethod": { "description": "Deprecated values: \"topship\"\\n", "type": "string", "enum": [ "unknown", "builtin", "direct" ] }, "cdConnectionProvider": { "type": "string", "enum": [ "unknown", "ghn", "ghtk", "vtpost", "partner", "ahamove", "ninjavan", "dhl", "suitecrm", "portsip", "ntx" ] }, "cdConnectionSubtype": { "type": "string", "enum": [ "unknown", "shipment", "manual", "shipnow" ] }, "cdConnectionType": { "type": "string", "enum": [ "unknown", "shipping", "crm", "telecom" ] }, "cjTransactionType": { "type": "string", "enum": [ "credit", "invoice" ] }, "csTryOnCode": { "type": "string", "enum": [ "unknown", "none", "open", "try" ] }, "djUserSource": { "type": "string", "enum": [ "unknown", "psx", "etop", "topship", "ts_app_android", "ts_app_ios", "ts_app_web", "partner", "etop_app_ios", "etop_app_android", "telecom" ] }, "dkAttribute": { "type": "object", "properties": { "name": { "type": "string" }, "value": { "type": "string" } } }, "dqTicketState": { "type": "string", "enum": [ "new", "received", "processing", "success", "fail", "ignore", "cancel" ] }, "dsUserOTPAction": { "type": "string", "enum": [ "unknown", "reset_password", "register", "verify_phone", "update_phone_first_code", "update_phone_second_code", "update_email_first_code", "update_email_second_code", "verify_email_using_otp", "verify_email", "stoken_update_shop" ] }, "fdFilterType": { "type": "string", "enum": [ "include", "exclude" ] }, "flAccountUserExtended": { "type": "object", "properties": { "account_id": { "type": "string", "format": "int64" }, "deleted": { "type": "boolean" }, "department_id": { "type": "string", "format": "int64" }, "email": { "type": "string" }, "full_name": { "type": "string" }, "permissions": { "type": "array", "items": { "type": "string" } }, "phone": { "type": "string" }, "position": { "type": "string" }, "roles": { "type": "array", "items": { "type": "string" } }, "short_name": { "type": "string" }, "user_id": { "type": "string", "format": "int64" } } }, "flGetTicketsByRefTicketIDRequest": { "type": "object", "properties": { "ref_ticket_id": { "type": "string", "format": "int64" } } }, "flGetTicketsByRefTicketIDResponse": { "type": "object", "properties": { "tickets": { "type": "array", "items": { "$ref": "#/definitions/flTicket" } } } }, "flTicket": { "type": "object", "properties": { "account_id": { "type": "string", "format": "int64" }, "admin_note": { "type": "string" }, "assigned_user_ids": { "type": "array", "items": { "type": "string", "format": "int64" } }, "closed_at": { "type": "string", "format": "date-time" }, "closed_by": { "type": "string", "format": "int64" }, "code": { "type": "string" }, "confirmed_at": { "type": "string", "format": "date-time" }, "confirmed_by": { "type": "string", "format": "int64" }, "created_at": { "type": "string", "format": "date-time" }, "created_by": { "type": "string", "format": "int64" }, "description": { "type": "string" }, "external_id": { "type": "string" }, "from": { "$ref": "#/definitions/flTicketFrom" }, "id": { "type": "string", "format": "int64" }, "label_ids": { "type": "array", "items": { "type": "string", "format": "int64" } }, "note": { "type": "string" }, "ref_code": { "type": "string" }, "ref_id": { "type": "string", "format": "int64" }, "ref_ticket_id": { "type": "string", "format": "int64" }, "ref_type": { "$ref": "#/definitions/ovTicketRefType" }, "source": { "$ref": "#/definitions/fpTicketSource" }, "state": { "$ref": "#/definitions/dqTicketState" }, "status": { "$ref": "#/definitions/bnStatus" }, "title": { "type": "string" }, "type": { "$ref": "#/definitions/iyTicketType" }, "updated_at": { "type": "string", "format": "date-time" }, "updated_by": { "type": "string", "format": "int64" } } }, "flTicketComment": { "type": "object", "properties": { "account_id": { "type": "string", "format": "int64" }, "created_at": { "type": "string", "format": "date-time" }, "created_by": { "type": "string", "format": "int64" }, "deleted_at": { "type": "string", "format": "date-time" }, "deleted_by": { "type": "string", "format": "int64" }, "from": { "$ref": "#/definitions/flTicketFrom" }, "id": { "type": "string", "format": "int64" }, "image_url": { "type": "string" }, "image_urls": { "type": "array", "items": { "type": "string" } }, "message": { "type": "string" }, "parent_id": { "type": "string", "format": "int64" }, "ticket_id": { "type": "string", "format": "int64" }, "updated_at": { "type": "string", "format": "date-time" } } }, "flTicketFrom": { "type": "object", "properties": { "created_by": { "type": "string", "format": "int64" }, "name": { "type": "string" }, "source": { "$ref": "#/definitions/jjAccountType" } } }, "flTicketLabel": { "type": "object", "properties": { "children": { "type": "array", "items": { "$ref": "#/definitions/flTicketLabel" } }, "code": { "type": "string" }, "color": { "type": "string" }, "id": { "type": "string", "format": "int64" }, "name": { "type": "string" }, "parent_id": { "type": "string", "format": "int64" }, "shop_id": { "type": "string", "format": "int64" }, "type": { "$ref": "#/definitions/iyTicketType" } } }, "fmChargeType": { "type": "string", "enum": [ "prepaid", "postpaid", "free" ] }, "fpTicketSource": { "description": "Deprecated values: \"system\"\\n", "type": "string", "enum": [ "pos_web", "pos_app", "shipment_app", "telecom_app_call", "telecom_web", "telecom_ext_call", "telecom_web_call", "shipment_web", "admin", "webphone" ] }, "hbProductSubscriptionType": { "type": "string", "enum": [ "unknown", "ecomify", "telecom-extension" ] }, "iyTicketType": { "type": "string", "enum": [ "unknown", "internal", "system" ] }, "jjAccountType": { "type": "string", "enum": [ "unknown", "partner", "shop", "affiliate", "carrier", "etop" ] }, "kfDate": { "description": "Filter by date value\n\nObject:\n\n - {\"from\":\"2020-01-01T00:00:00Z\",\"to\":\"2020-02-01T00:00:00Z\"}\n\nString:\n\n - \"2020-01-01T00:00:00Z,2010-02-01T00:00:00Z\":\n - \"2020-01-01T00:00:00Z,\":\n - \",2020-01-01T00:00:00Z\":\n", "type": "string" }, "kfFullTextSearch": { "type": "string" }, "kfStrings": { "description": "Filter by string value\n", "type": "string" }, "ktCursorPageInfo": { "type": "object", "properties": { "after": { "type": "string" }, "before": { "type": "string" }, "limit": { "type": "integer" }, "next": { "type": "string" }, "prev": { "type": "string" }, "sort": { "type": "string" } } }, "ktCursorPaging": { "type": "object", "properties": { "after": { "type": "string" }, "before": { "type": "string" }, "limit": { "type": "integer" }, "sort": { "type": "string" } } }, "ktDeletedResponse": { "type": "object", "properties": { "deleted": { "type": "integer" } } }, "ktEmpty": { "type": "object" }, "ktError": { "type": "object", "properties": { "code": { "type": "string" }, "meta": { "type": "object", "additionalProperties": { "type": "string" } }, "msg": { "type": "string" } } }, "ktFilter": { "type": "object", "properties": { "name": { "description": "Comma separated properties: \"name,s_name\"\n", "type": "string" }, "op": { "description": "Can be = ≠ (!=) \u003c ≤ (\u003c=) \u003e ≥ (\u003e=) ⊃ (c) ∈ (in) ∩ (n)\n\n- Text or set: ⊃ ∩\n- Exactly: = ≠ ∈\n- Numeric: = ≠ ∈ \u003c ≤ \u003e ≥\n- Array: = ≠ (only with value is {})\n", "type": "string" }, "value": { "description": "Must always be string\n", "type": "string" } } }, "ktIDRequest": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "string", "format": "int64" } } }, "ktIDsRequest": { "type": "object", "required": [ "ids" ], "properties": { "ids": { "type": "array", "items": { "type": "string", "format": "int64" } } } }, "ktPageInfo": { "type": "object", "properties": { "limit": { "type": "integer" }, "sort": { "type": "array", "items": { "type": "string" } }, "total": { "type": "integer" } } }, "ktPaging": { "type": "object", "properties": { "limit": { "type": "integer" }, "offset": { "type": "integer" }, "sort": { "type": "string" } } }, "ktRemovedResponse": { "type": "object", "properties": { "removed": { "type": "integer" } } }, "ktUpdatedResponse": { "type": "object", "properties": { "updated": { "type": "integer" } } }, "ktVersionInfoResponse": { "type": "object", "properties": { "meta": { "type": "object", "additionalProperties": { "type": "string" } }, "service": { "type": "string" }, "updated_at": { "type": "string", "format": "date-time" }, "version": { "type": "string" } } }, "liCalculationMethodType": { "type": "string", "enum": [ "unknown", "cumulative", "first_satisfy" ] }, "ljCustomerType": { "description": "Deprecated values: \"independent\"\\n", "type": "string", "enum": [ "unknown", "individual", "organization", "anonymous" ] }, "miSubstate": { "type": "string", "enum": [ "default", "pick_fail", "delivery_fail", "devivery_giveup", "return_fail", "cancelling" ] }, "ojFeeType": { "type": "string", "enum": [ "other", "shipping", "tax" ] }, "ovTicketRefType": { "type": "string", "enum": [ "order_trading", "ffm", "money_transaction", "other", "contact" ] }, "pjGHNNoteCode": { "type": "string", "enum": [ "unknown", "CHOTHUHANG", "CHOXEMHANGKHONGTHU", "KHONGCHOXEMHANG" ] }, "pwGender": { "type": "string", "enum": [ "unknown", "male", "female", "other" ] }, "qdConnection": { "type": "object", "properties": { "connection_method": { "$ref": "#/definitions/cdConnectionMethod" }, "connection_provider": { "$ref": "#/definitions/cdConnectionProvider" }, "connection_subtype": { "$ref": "#/definitions/cdConnectionSubtype" }, "connection_type": { "$ref": "#/definitions/cdConnectionType" }, "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "int64" }, "image_url": { "type": "string" }, "name": { "type": "string" }, "status": { "$ref": "#/definitions/blStatus" }, "tracking_url": { "type": "string" }, "updated_at": { "type": "string", "format": "date-time" } } }, "qdConnectionInfo": { "type": "object", "properties": { "id": { "type": "string", "format": "int64" }, "image_url": { "type": "string" }, "name": { "type": "string" } } }, "qdConnectionService": { "type": "object", "properties": { "name": { "type": "string" }, "service_id": { "type": "string" } } }, "qdCreateBuiltinConnectionRequest": { "type": "object", "properties": { "connection_id": { "type": "string", "format": "int64" }, "external_data": { "$ref": "#/definitions/qdShopConnectionExternalData" }, "name": { "type": "string" }, "token": { "type": "string" } } }, "qdCreateInvoiceForSubscriptionRequest": { "type": "object", "properties": { "account_id": { "type": "string", "format": "int64" }, "classify": { "$ref": "#/definitions/bdServiceClassify" }, "customer": { "$ref": "#/definitions/qdSubrCustomer" }, "description": { "type": "string" }, "subscription_id": { "type": "string", "format": "int64" }, "total_amount": { "type": "integer" } } }, "qdCreateSubrPlanRequest": { "type": "object", "properties": { "description": { "type": "string" }, "interval": { "$ref": "#/definitions/skSubscriptionPlanInterval" }, "interval_count": { "type": "integer" }, "name": { "type": "string" }, "price": { "type": "integer" }, "product_id": { "type": "string", "format": "int64" } } }, "qdCreateSubrProductRequest": { "type": "object", "properties": { "description": { "type": "string" }, "image_url": { "type": "string" }, "name": { "type": "string" }, "type": { "$ref": "#/definitions/hbProductSubscriptionType" } } }, "qdCreateSubscriptionRequest": { "type": "object", "properties": { "account_id": { "description": "Bỏ trống field này nếu shop tạo subscription\n", "type": "string", "format": "int64" }, "billing_cycle_anchor_at": { "description": "thời điểm phát sinh hóa đơn (trường hợp tự động gia hạn)\n", "type": "string", "format": "date-time" }, "cancel_at_period_end": { "description": "Hủy subscription khi hết hạn\n", "type": "boolean" }, "customer": { "$ref": "#/definitions/qdSubrCustomer" }, "lines": { "type": "array", "items": { "$ref": "#/definitions/qdSubscriptionLine" } } } }, "qdDeliveryPoint": { "type": "object", "properties": { "lines": { "type": "array", "items": { "$ref": "#/definitions/qdOrderLine" } }, "order_id": { "type": "string", "format": "int64" }, "shipping_address": { "$ref": "#/definitions/qdOrderAddress" }, "shipping_note": { "type": "string" }, "try_on": { "$ref": "#/definitions/csTryOnCode" }, "value_info": { "$ref": "#/definitions/qdValueInfo" }, "weight_info": { "$ref": "#/definitions/qdWeightInfo" } } }, "qdExternalShippingLog": { "type": "object", "properties": { "message": { "type": "string" }, "state_text": { "type": "string" }, "time": { "type": "string" } } }, "qdExternalShippingService": { "type": "object", "properties": { "carrier": { "allOf": [ { "description": "**Deprecated:** use connection instead\n" }, { "$ref": "#/definitions/bwShippingProvider" } ] }, "code": { "type": "string" }, "connection_info": { "$ref": "#/definitions/qdConnectionInfo" }, "estimated_delivery_at": { "type": "string", "format": "date-time" }, "estimated_pickup_at": { "type": "string", "format": "date-time" }, "expected_delivery_at": { "description": "**Deprecated:** use estimated_delivery_at\n", "type": "string", "format": "date-time" }, "expected_pick_at": { "description": "**Deprecated:** use estimated_pickup_at\n", "type": "string", "format": "date-time" }, "exported_fields": { "type": "array", "items": { "type": "string" } }, "external_id": { "description": "**Deprecated:** use code\n", "type": "string" }, "fee": { "type": "integer" }, "name": { "type": "string" }, "provider": { "allOf": [ { "description": "**Deprecated:** use carier\n" }, { "$ref": "#/definitions/bwShippingProvider" } ] }, "service_fee": { "description": "**Deprecated:** use fee\n", "type": "integer" }, "shipment_price_info": { "$ref": "#/definitions/qdShipmentPriceInfo" }, "shipment_service_info": { "$ref": "#/definitions/qdShipmentServiceInfo" } } }, "qdFulfillment": { "type": "object", "properties": { "actual_compensation_amount": { "type": "integer" }, "address_from": { "allOf": [ { "description": "**Deprecated:** use pickup_address instead\n" }, { "$ref": "#/definitions/baAddress" } ] }, "address_to": { "allOf": [ { "description": "**Deprecated:** use shipping_address instead\n" }, { "$ref": "#/definitions/baAddress" } ] }, "admin_note": { "type": "string" }, "basket_value": { "type": "integer" }, "cancel_reason": { "type": "string" }, "cancelled_at": { "type": "string", "format": "date-time" }, "carrier": { "$ref": "#/definitions/bwShippingProvider" }, "chargeable_weight": { "type": "integer" }, "closed_at": { "type": "string", "format": "date-time" }, "cod_amount": { "type": "integer" }, "cod_etop_transfered_at": { "type": "string", "format": "date-time" }, "code": { "type": "string" }, "connection_id": { "type": "string", "format": "int64" }, "created_at": { "type": "string", "format": "date-time" }, "ed_code": { "type": "string" }, "estimated_delivery_at": { "type": "string", "format": "date-time" }, "estimated_pickup_at": { "type": "string", "format": "date-time" }, "etop_discount": { "type": "integer" }, "etop_payment_status": { "$ref": "#/definitions/bmStatus" }, "expected_delivery_at": { "description": "**Deprecated:** use estimated_delivery_at\n", "type": "string", "format": "date-time" }, "expected_pick_at": { "description": "**Deprecated:** use estimated_pickup_at\n", "type": "string", "format": "date-time" }, "exported_fields": { "type": "array", "items": { "type": "string" } }, "id": { "type": "string", "format": "int64" }, "include_insurance": { "type": "boolean" }, "insurance_value": { "type": "integer" }, "lines": { "type": "array", "items": { "$ref": "#/definitions/qdOrderLine" } }, "lines_content": { "type": "string" }, "money_transaction_shipping_external_id": { "type": "string", "format": "int64" }, "money_transaction_shipping_id": { "type": "string", "format": "int64" }, "order": { "$ref": "#/definitions/qdOrder" }, "order_id": { "type": "string", "format": "int64" }, "partner_id": { "type": "string", "format": "int64" }, "pickup_address": { "$ref": "#/definitions/qdOrderAddress" }, "provider_shipping_fee_lines": { "type": "array", "items": { "$ref": "#/definitions/qdShippingFeeLine" } }, "return_address": { "$ref": "#/definitions/qdOrderAddress" }, "self_url": { "type": "string" }, "sh_confirm": { "$ref": "#/definitions/blStatus" }, "shipping_address": { "$ref": "#/definitions/qdOrderAddress" }, "shipping_code": { "type": "string" }, "shipping_fee_customer": { "type": "integer" }, "shipping_fee_shop": { "type": "integer" }, "shipping_fee_shop_lines": { "type": "array", "items": { "$ref": "#/definitions/qdShippingFeeLine" } }, "shipping_fee_shop_transfered_at": { "type": "string", "format": "date-time" }, "shipping_note": { "type": "string" }, "shipping_payment_type": { "$ref": "#/definitions/vmShippingPaymentType" }, "shipping_provider": { "allOf": [ { "description": "**Deprecated:** use carrier instead\n" }, { "$ref": "#/definitions/bwShippingProvider" } ] }, "shipping_service_code": { "type": "string" }, "shipping_service_fee": { "type": "integer" }, "shipping_service_name": { "type": "string" }, "shipping_state": { "$ref": "#/definitions/sfState" }, "shipping_status": { "$ref": "#/definitions/bnStatus" }, "shipping_substate": { "$ref": "#/definitions/miSubstate" }, "shop": { "$ref": "#/definitions/baShop" }, "shop_carrier_id": { "type": "string", "format": "int64" }, "shop_id": { "type": "string", "format": "int64" }, "status": { "$ref": "#/definitions/bnStatus" }, "total_amount": { "description": "**Deprecated:**\n", "type": "integer" }, "total_cod_amount": { "description": "**Deprecated:** use cod_amount\n", "type": "integer" }, "total_items": { "type": "integer" }, "total_weight": { "description": "**Deprecated:** use chargeable_weight\n", "type": "integer" }, "try_on": { "$ref": "#/definitions/csTryOnCode" }, "updated_at": { "type": "string", "format": "date-time" }, "updated_by": { "type": "string", "format": "int64" }, "x_shipping_cancelled_at": { "type": "string", "format": "date-time" }, "x_shipping_code": { "type": "string" }, "x_shipping_created_at": { "type": "string", "format": "date-time" }, "x_shipping_delivered_at": { "type": "string", "format": "date-time" }, "x_shipping_fee": { "type": "integer" }, "x_shipping_id": { "type": "string" }, "x_shipping_logs": { "type": "array", "items": { "$ref": "#/definitions/qdExternalShippingLog" } }, "x_shipping_note": { "type": "string" }, "x_shipping_returned_at": { "type": "string", "format": "date-time" }, "x_shipping_state": { "type": "string" }, "x_shipping_status": { "$ref": "#/definitions/bnStatus" }, "x_shipping_sub_state": { "type": "string" }, "x_shipping_updated_at": { "type": "string", "format": "date-time" }, "x_sort_code": { "type": "string" }, "x_sync_states": { "$ref": "#/definitions/qdFulfillmentSyncStates" }, "x_sync_status": { "$ref": "#/definitions/bmStatus" } } }, "qdFulfillmentSyncStates": { "type": "object", "properties": { "error": { "$ref": "#/definitions/ktError" }, "next_shipping_state": { "$ref": "#/definitions/sfState" }, "sync_at": { "type": "string", "format": "date-time" } } }, "qdFulfillmentsResponse": { "type": "object", "properties": { "fulfillments": { "type": "array", "items": { "$ref": "#/definitions/qdFulfillment" } }, "paging": { "$ref": "#/definitions/ktPageInfo" } } }, "qdGetAdminTransactionsFilter": { "type": "object", "properties": { "account_id": { "type": "string", "format": "int64" }, "date_from": { "type": "string", "format": "date-time" }, "date_to": { "type": "string", "format": "date-time" }, "ref_id": { "type": "string", "format": "int64" }, "ref_type": { "$ref": "#/definitions/bqSubjectReferral" } } }, "qdGetAdminTransactionsRequest": { "type": "object", "properties": { "filter": { "$ref": "#/definitions/qdGetAdminTransactionsFilter" }, "paging": { "$ref": "#/definitions/ktCursorPaging" } } }, "qdGetConnectDirectShipmentSettingResponse": { "type": "object", "properties": { "allow_connect_direct_shipment": { "type": "boolean" }, "shop_id": { "type": "string", "format": "int64" } } }, "qdGetConnectDirectShipmentShopSettingRequest": { "type": "object", "properties": { "shop_id": { "type": "string", "format": "int64" } } }, "qdGetConnectionServicesResponse": { "type": "object", "properties": { "connection_service": { "type": "array", "items": { "$ref": "#/definitions/qdConnectionService" } } } }, "qdGetConnectionsRequest": { "type": "object", "properties": { "connection_method": { "$ref": "#/definitions/cdConnectionMethod" }, "connection_subtype": { "$ref": "#/definitions/cdConnectionSubtype" } } }, "qdGetConnectionsResponse": { "type": "object", "properties": { "connections": { "type": "array", "items": { "$ref": "#/definitions/qdConnection" } } } }, "qdGetInvoicesRequest": { "type": "object", "properties": { "filter": { "$ref": "#/definitions/qdGetShopInvoicesFilter" }, "paging": { "$ref": "#/definitions/ktCursorPaging" } } }, "qdGetInvoicesResponse": { "type": "object", "properties": { "invoices": { "type": "array", "items": { "$ref": "#/definitions/qdInvoice" } }, "paging": { "$ref": "#/definitions/ktCursorPageInfo" } } }, "qdGetShippingServicesResponse": { "type": "object", "properties": { "services": { "type": "array", "items": { "$ref": "#/definitions/qdExternalShippingService" } } } }, "qdGetShopConnectionsResponse": { "type": "object", "properties": { "shop_connections": { "type": "array", "items": { "$ref": "#/definitions/qdShopConnection" } } } }, "qdGetShopInvoicesFilter": { "type": "object", "properties": { "account_id": { "type": "string", "format": "int64" }, "date_from": { "type": "string", "format": "date-time" }, "date_to": { "type": "string", "format": "date-time" }, "ref_id": { "type": "string", "format": "int64" }, "ref_type": { "$ref": "#/definitions/bqSubjectReferral" }, "type": { "$ref": "#/definitions/rjInvoiceType" } } }, "qdGetSubrPlansRequest": { "type": "object", "properties": { "product_id": { "type": "string", "format": "int64" } } }, "qdGetSubrPlansResponse": { "type": "object", "properties": { "subscription_plans": { "type": "array", "items": { "$ref": "#/definitions/qdSubscriptionPlan" } } } }, "qdGetSubrProductsResponse": { "type": "object", "properties": { "subscription_products": { "type": "array", "items": { "$ref": "#/definitions/qdSubscriptionProduct" } } } }, "qdGetSubscriptionsRequest": { "type": "object", "properties": { "account_id": { "type": "string", "format": "int64" }, "filters": { "type": "array", "items": { "$ref": "#/definitions/ktFilter" } }, "paging": { "$ref": "#/definitions/ktPaging" } } }, "qdGetSubscriptionsResponse": { "type": "object", "properties": { "paging": { "$ref": "#/definitions/ktPageInfo" }, "subscriptions": { "type": "array", "items": { "$ref": "#/definitions/qdSubscription" } } } }, "qdGetTransactionsResponse": { "type": "object", "properties": { "paging": { "$ref": "#/definitions/ktCursorPageInfo" }, "transactions": { "type": "array", "items": { "$ref": "#/definitions/qdTransaction" } } } }, "qdInvoice": { "type": "object", "properties": { "account_id": { "type": "string", "format": "int64" }, "classify": { "$ref": "#/definitions/bdServiceClassify" }, "created_at": { "type": "string", "format": "date-time" }, "customer": { "$ref": "#/definitions/qdSubrCustomer" }, "description": { "type": "string" }, "id": { "type": "string", "format": "int64" }, "lines": { "type": "array", "items": { "$ref": "#/definitions/qdInvoiceLine" } }, "payment_id": { "type": "string", "format": "int64" }, "payment_status": { "$ref": "#/definitions/bmStatus" }, "referral_ids": { "type": "array", "items": { "type": "string", "format": "int64" } }, "referral_type": { "$ref": "#/definitions/bqSubjectReferral" }, "status": { "$ref": "#/definitions/bmStatus" }, "total_amount": { "type": "integer" }, "type": { "$ref": "#/definitions/rjInvoiceType" }, "updated_at": { "type": "string", "format": "date-time" } } }, "qdInvoiceLine": { "type": "object", "properties": { "created_at": { "type": "string", "format": "date-time" }, "description": { "type": "string" }, "id": { "type": "string", "format": "int64" }, "invoice_id": { "type": "string", "format": "int64" }, "line_amount": { "type": "integer" }, "price": { "type": "integer" }, "quantity": { "type": "integer" }, "referral_id": { "type": "string", "format": "int64" }, "referral_type": { "$ref": "#/definitions/bqSubjectReferral" }, "updated_at": { "type": "string", "format": "date-time" } } }, "qdManualPaymentInvoiceRequest": { "type": "object", "properties": { "account_id": { "type": "string", "format": "int64" }, "invoice_id": { "type": "string", "format": "int64" }, "total_amount": { "type": "integer" } } }, "qdMoneyTransaction": { "type": "object", "properties": { "bank_account": { "$ref": "#/definitions/baBankAccount" }, "closed_at": { "type": "string", "format": "date-time" }, "code": { "type": "string" }, "confirmed_at": { "type": "string", "format": "date-time" }, "created_at": { "type": "string", "format": "date-time" }, "etop_transfered_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "int64" }, "invoice_number": { "type": "string" }, "money_transaction_shipping_etop_id": { "type": "string", "format": "int64" }, "money_transaction_shipping_external_id": { "type": "string", "format": "int64" }, "note": { "type": "string" }, "provider": { "type": "string" }, "shop_id": { "type": "string", "format": "int64" }, "status": { "$ref": "#/definitions/blStatus" }, "total_amount": { "type": "integer" }, "total_cod": { "type": "integer" }, "total_orders": { "type": "integer" }, "updated_at": { "type": "string", "format": "date-time" } } }, "qdMoneyTransactionShippingEtop": { "type": "object", "properties": { "bank_account": { "$ref": "#/definitions/baBankAccount" }, "code": { "type": "string" }, "confirmed_at": { "type": "string", "format": "date-time" }, "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "int64" }, "invoice_number": { "type": "string" }, "money_transactions": { "description": "**Deprecated:**\n", "type": "array", "items": { "$ref": "#/definitions/qdMoneyTransaction" } }, "note": { "type": "string" }, "status": { "$ref": "#/definitions/blStatus" }, "total_amount": { "type": "integer" }, "total_cod": { "type": "integer" }, "total_fee": { "type": "integer" }, "total_money_tx_shippings": { "type": "integer" }, "total_orders": { "type": "integer" }, "updated_at": { "type": "string", "format": "date-time" } } }, "qdMoneyTransactionShippingEtopsResponse": { "type": "object", "properties": { "money_transaction_shipping_etops": { "type": "array", "items": { "$ref": "#/definitions/qdMoneyTransactionShippingEtop" } }, "paging": { "$ref": "#/definitions/ktPageInfo" } } }, "qdMoneyTransactionShippingExternal": { "type": "object", "properties": { "bank_account": { "$ref": "#/definitions/baBankAccount" }, "code": { "type": "string" }, "connection_id": { "type": "string", "format": "int64" }, "created_at": { "type": "string", "format": "date-time" }, "external_paid_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "int64" }, "invoice_number": { "type": "string" }, "lines": { "type": "array", "items": { "$ref": "#/definitions/qdMoneyTransactionShippingExternalLine" } }, "note": { "type": "string" }, "provider": { "type": "string" }, "status": { "$ref": "#/definitions/blStatus" }, "total_cod": { "type": "integer" }, "total_orders": { "type": "integer" }, "updated_at": { "type": "string", "format": "date-time" } } }, "qdMoneyTransactionShippingExternalLine": { "type": "object", "properties": { "created_at": { "type": "string", "format": "date-time" }, "etop_fulfillment_id": { "type": "string", "format": "int64" }, "etop_fulfillment_id_raw": { "type": "string" }, "external_address": { "type": "string" }, "external_closed_at": { "type": "string", "format": "date-time" }, "external_code": { "type": "string" }, "external_created_at": { "type": "string", "format": "date-time" }, "external_customer": { "type": "string" }, "external_total_cod": { "type": "integer" }, "external_total_shipping_fee": { "type": "integer" }, "fulfillment": { "$ref": "#/definitions/qdFulfillment" }, "id": { "type": "string", "format": "int64" }, "import_error": { "$ref": "#/definitions/ktError" }, "money_transaction_shipping_external_id": { "type": "string", "format": "int64" }, "note": { "type": "string" }, "updated_at": { "type": "string", "format": "date-time" } } }, "qdMoneyTransactionShippingExternalsResponse": { "type": "object", "properties": { "money_transactions": { "type": "array", "items": { "$ref": "#/definitions/qdMoneyTransactionShippingExternal" } }, "paging": { "$ref": "#/definitions/ktPageInfo" } } }, "qdMoneyTransactionsResponse": { "type": "object", "properties": { "money_transactions": { "type": "array", "items": { "$ref": "#/definitions/qdMoneyTransaction" } }, "paging": { "$ref": "#/definitions/ktPageInfo" } } }, "qdOrder": { "type": "object", "properties": { "basket_value": { "type": "integer" }, "billing_address": { "$ref": "#/definitions/qdOrderAddress" }, "cancel_reason": { "type": "string" }, "cancelled_at": { "type": "string", "format": "date-time" }, "closed_at": { "type": "string", "format": "date-time" }, "code": { "type": "string" }, "confirm": { "allOf": [ { "description": "**Deprecated:** replaced by confirm_status\n" }, { "$ref": "#/definitions/blStatus" } ] }, "confirm_status": { "$ref": "#/definitions/blStatus" }, "confirmed_at": { "type": "string", "format": "date-time" }, "created_at": { "type": "string", "format": "date-time" }, "created_by": { "type": "string", "format": "int64" }, "customer": { "$ref": "#/definitions/qdOrderCustomer" }, "customer_address": { "$ref": "#/definitions/qdOrderAddress" }, "customer_id": { "type": "string", "format": "int64" }, "customer_payment_status": { "$ref": "#/definitions/blStatus" }, "discounts": { "type": "array", "items": { "$ref": "#/definitions/qdOrderDiscount" } }, "ed_code": { "description": "the same as external_code\n", "type": "string" }, "etop_payment_status": { "$ref": "#/definitions/bmStatus" }, "exported_fields": { "type": "array", "items": { "type": "string" } }, "external_code": { "type": "string" }, "external_comment_id": { "type": "string" }, "external_id": { "type": "string" }, "external_post_id": { "type": "string" }, "external_url": { "type": "string" }, "fee_lines": { "type": "array", "items": { "$ref": "#/definitions/qdOrderFeeLine" } }, "fulfillment_ids": { "type": "array", "items": { "type": "string", "format": "int64" } }, "fulfillment_shipping_status": { "$ref": "#/definitions/bnStatus" }, "fulfillment_status": { "allOf": [ { "description": "**Deprecated:** replaced by fulfillment_shipping_status\n" }, { "$ref": "#/definitions/bnStatus" } ] }, "fulfillment_type": { "type": "string" }, "fulfillments": { "type": "array", "items": { "$ref": "#/definitions/qdXFulfillment" } }, "ghn_note_code": { "allOf": [ { "description": "**Deprecated:** use try_on_code instead\n" }, { "$ref": "#/definitions/pjGHNNoteCode" } ] }, "id": { "type": "string", "format": "int64" }, "lines": { "type": "array", "items": { "$ref": "#/definitions/qdOrderLine" } }, "order_discount": { "type": "integer" }, "order_note": { "type": "string" }, "partner_id": { "type": "string", "format": "int64" }, "payment_method": { "$ref": "#/definitions/yiPaymentMethod" }, "payment_status": { "$ref": "#/definitions/bmStatus" }, "pre_order": { "type": "boolean" }, "processed_at": { "type": "string", "format": "date-time" }, "received_amount": { "description": "received_amount get from receipt\n", "type": "integer" }, "reference_url": { "type": "string" }, "self_url": { "type": "string" }, "sh_confirm": { "$ref": "#/definitions/blStatus" }, "shipping": { "$ref": "#/definitions/qdOrderShipping" }, "shipping_address": { "$ref": "#/definitions/qdOrderAddress" }, "shipping_fee": { "description": "**Deprecated:** use fee_lines.shipping\n", "type": "integer" }, "shipping_note": { "description": "**Deprecated:** use shop_shipping.shipping_note instead\n", "type": "string" }, "shop_cod": { "description": "@deperecated use shop_shipping.cod_amount instead\n", "type": "integer" }, "shop_id": { "type": "string", "format": "int64" }, "shop_name": { "type": "string" }, "shop_shipping": { "allOf": [ { "description": "**Deprecated:** use shipping instead\n\nOrderShipping provides shipping information for an order to be shipped.\n" }, { "$ref": "#/definitions/qdOrderShipping" } ] }, "shop_shipping_fee": { "description": "@deperecated use fee_lines.shipping instead\n", "type": "integer" }, "source": { "$ref": "#/definitions/xjSource" }, "status": { "$ref": "#/definitions/bnStatus" }, "total_amount": { "type": "integer" }, "total_discount": { "type": "integer" }, "total_fee": { "type": "integer" }, "total_items": { "type": "integer" }, "total_weight": { "type": "integer" }, "updated_at": { "type": "string", "format": "date-time" } } }, "qdOrderAddress": { "type": "object", "properties": { "address1": { "type": "string" }, "address2": { "type": "string" }, "city": { "type": "string" }, "company": { "type": "string" }, "coordinates": { "$ref": "#/definitions/baCoordinates" }, "country": { "type": "string" }, "district": { "type": "string" }, "district_code": { "type": "string" }, "email": { "type": "string" }, "exported_fields": { "type": "array", "items": { "type": "string" } }, "first_name": { "type": "string" }, "full_name": { "type": "string" }, "last_name": { "type": "string" }, "phone": { "type": "string" }, "province": { "type": "string" }, "province_code": { "type": "string" }, "ward": { "type": "string" }, "ward_code": { "type": "string" }, "zip": { "type": "string" } } }, "qdOrderCustomer": { "type": "object", "properties": { "deleted": { "type": "boolean" }, "email": { "type": "string" }, "exported_fields": { "type": "array", "items": { "type": "string" } }, "first_name": { "type": "string" }, "full_name": { "type": "string" }, "gender": { "$ref": "#/definitions/pwGender" }, "last_name": { "type": "string" }, "phone": { "type": "string" }, "type": { "$ref": "#/definitions/ljCustomerType" } } }, "qdOrderDiscount": { "type": "object", "properties": { "amount": { "type": "integer" }, "code": { "type": "string" }, "type": { "type": "string" } } }, "qdOrderFeeLine": { "type": "object", "required": [ "name", "amount" ], "properties": { "amount": { "type": "integer" }, "code": { "type": "string" }, "desc": { "type": "string" }, "name": { "type": "string" }, "type": { "$ref": "#/definitions/ojFeeType" } } }, "qdOrderLine": { "type": "object", "properties": { "attributes": { "type": "array", "items": { "$ref": "#/definitions/dkAttribute" } }, "code": { "type": "string" }, "exported_fields": { "type": "array", "items": { "type": "string" } }, "image_url": { "type": "string" }, "is_outside_etop": { "type": "boolean" }, "list_price": { "type": "integer" }, "meta_fields": { "type": "array", "items": { "$ref": "#/definitions/qdOrderLineMetaField" } }, "order_id": { "type": "string", "format": "int64" }, "payment_price": { "type": "integer" }, "product_id": { "type": "string", "format": "int64" }, "product_name": { "type": "string" }, "quantity": { "type": "integer" }, "retail_price": { "type": "integer" }, "total_discount": { "type": "integer" }, "variant_id": { "type": "string", "format": "int64" } } }, "qdOrderLineMetaField": { "type": "object", "properties": { "key": { "type": "string" }, "name": { "type": "string" }, "value": { "type": "string" } } }, "qdOrderShipping": { "description": "OrderShipping provides shipping information for an order to be shipped.\n", "type": "object", "properties": { "carrier": { "$ref": "#/definitions/bwShippingProvider" }, "chargeable_weight": { "type": "integer" }, "cod_amount": { "type": "integer" }, "exported_fields": { "type": "array", "items": { "type": "string" } }, "gross_weight": { "type": "integer" }, "height": { "type": "integer" }, "include_insurance": { "type": "boolean" }, "length": { "type": "integer" }, "pickup_address": { "$ref": "#/definitions/qdOrderAddress" }, "return_address": { "$ref": "#/definitions/qdOrderAddress" }, "sh_address": { "allOf": [ { "description": "**Deprecated:** use pickup_address\n" }, { "$ref": "#/definitions/qdOrderAddress" } ] }, "shipping_address": { "$ref": "#/definitions/qdOrderAddress" }, "shipping_note": { "type": "string" }, "shipping_provider": { "allOf": [ { "description": "**Deprecated:** use carrier\n" }, { "$ref": "#/definitions/bwShippingProvider" } ] }, "shipping_service_code": { "type": "string" }, "shipping_service_fee": { "type": "integer" }, "shipping_service_name": { "type": "string" }, "try_on": { "$ref": "#/definitions/csTryOnCode" }, "weight": { "description": "**Deprecated:**\n", "type": "integer" }, "width": { "type": "integer" }, "x_service_id": { "description": "**Deprecated:**\n", "type": "string" }, "x_service_name": { "description": "**Deprecated:**\n", "type": "string" }, "x_shipping_fee": { "description": "**Deprecated:**\n", "type": "integer" } } }, "qdOrdersResponse": { "type": "object", "properties": { "orders": { "type": "array", "items": { "$ref": "#/definitions/qdOrder" } }, "paging": { "$ref": "#/definitions/ktPageInfo" } } }, "qdShipmentPriceInfo": { "type": "object", "properties": { "makeup_fee": { "type": "integer" }, "origin_fee": { "type": "integer" }, "shipment_price_id": { "type": "string", "format": "int64" } } }, "qdShipmentServiceInfo": { "type": "object", "properties": { "code": { "type": "string" }, "error_message": { "type": "string" }, "id": { "type": "string", "format": "int64" }, "is_available": { "type": "boolean" }, "name": { "type": "string" } } }, "qdShipnowFulfillment": { "type": "object", "properties": { "cancel_reason": { "type": "string" }, "carrier": { "type": "string" }, "cod_etop_transfered_at": { "type": "string", "format": "date-time" }, "confirm_status": { "$ref": "#/definitions/blStatus" }, "connection_id": { "type": "string", "format": "int64" }, "coupon": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "delivery_points": { "type": "array", "items": { "$ref": "#/definitions/qdDeliveryPoint" } }, "etop_payment_status": { "$ref": "#/definitions/bmStatus" }, "id": { "type": "string", "format": "int64" }, "order_ids": { "type": "array", "items": { "type": "string", "format": "int64" } }, "partner_id": { "type": "string", "format": "int64" }, "pickup_address": { "$ref": "#/definitions/qdOrderAddress" }, "request_pickup_at": { "type": "string", "format": "date-time" }, "shipping_cancelled_at": { "type": "string", "format": "date-time" }, "shipping_code": { "type": "string" }, "shipping_created_at": { "type": "string", "format": "date-time" }, "shipping_delivered_at": { "type": "string", "format": "date-time" }, "shipping_delivering_at": { "type": "string", "format": "date-time" }, "shipping_note": { "type": "string" }, "shipping_picking_at": { "type": "string", "format": "date-time" }, "shipping_service_code": { "type": "string" }, "shipping_service_description": { "type": "string" }, "shipping_service_fee": { "type": "integer" }, "shipping_service_name": { "type": "string" }, "shipping_shared_link": { "type": "string" }, "shipping_state": { "$ref": "#/definitions/bjState" }, "shipping_status": { "$ref": "#/definitions/bnStatus" }, "shop_id": { "type": "string", "format": "int64" }, "status": { "$ref": "#/definitions/bnStatus" }, "updated_at": { "type": "string", "format": "date-time" }, "value_info": { "$ref": "#/definitions/qdValueInfo" }, "weight_info": { "$ref": "#/definitions/qdWeightInfo" } } }, "qdShippingFeeLine": { "type": "object", "properties": { "cost": { "type": "integer" }, "shipping_fee_type": { "$ref": "#/definitions/sdShippingFeeType" } } }, "qdShopConnection": { "type": "object", "properties": { "connection_id": { "type": "string", "format": "int64" }, "created_at": { "type": "string", "format": "date-time" }, "deleted_at": { "type": "string", "format": "date-time" }, "external_data": { "$ref": "#/definitions/qdShopConnectionExternalData" }, "is_global": { "type": "boolean" }, "shop_id": { "type": "string", "format": "int64" }, "status": { "$ref": "#/definitions/blStatus" }, "updated_at": { "type": "string", "format": "date-time" } } }, "qdShopConnectionExternalData": { "type": "object", "properties": { "email": { "type": "string" }, "identifier": { "type": "string" }, "shop_id": { "type": "string" }, "user_id": { "type": "string" } } }, "qdShopConnectionTelecomData": { "type": "object", "properties": { "password": { "type": "string" }, "tenant_domain": { "type": "string" }, "tenant_host": { "type": "string" }, "tenant_token": { "type": "string" }, "username": { "type": "string" } } }, "qdSubrCustomer": { "type": "object", "properties": { "email": { "type": "string" }, "full_name": { "type": "string" }, "phone": { "type": "string" } } }, "qdSubscription": { "type": "object", "properties": { "account_id": { "type": "string", "format": "int64" }, "billing_cycle_anchor_at": { "type": "string", "format": "date-time" }, "cancel_at_period_end": { "type": "boolean" }, "created_at": { "type": "string", "format": "date-time" }, "current_period_end_at": { "type": "string", "format": "date-time" }, "current_period_start_at": { "type": "string", "format": "date-time" }, "customer": { "$ref": "#/definitions/qdSubrCustomer" }, "id": { "type": "string", "format": "int64" }, "lines": { "type": "array", "items": { "$ref": "#/definitions/qdSubscriptionLine" } }, "started_at": { "type": "string", "format": "date-time" }, "status": { "$ref": "#/definitions/blStatus" }, "updated_at": { "type": "string", "format": "date-time" } } }, "qdSubscriptionIDRequest": { "type": "object", "properties": { "account_id": { "type": "string", "format": "int64" }, "id": { "type": "string", "format": "int64" } } }, "qdSubscriptionLine": { "type": "object", "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "int64" }, "plan_id": { "type": "string", "format": "int64" }, "quantity": { "type": "integer" }, "subscription_id": { "type": "string", "format": "int64" }, "updated_at": { "type": "string", "format": "date-time" } } }, "qdSubscriptionPlan": { "type": "object", "properties": { "created_at": { "type": "string", "format": "date-time" }, "description": { "type": "string" }, "id": { "type": "string", "format": "int64" }, "interval": { "$ref": "#/definitions/skSubscriptionPlanInterval" }, "interval_count": { "type": "integer" }, "name": { "type": "string" }, "price": { "type": "integer" }, "product_id": { "type": "string", "format": "int64" }, "status": { "$ref": "#/definitions/blStatus" }, "updated_at": { "type": "string", "format": "date-time" } } }, "qdSubscriptionProduct": { "type": "object", "properties": { "created_at": { "type": "string", "format": "date-time" }, "description": { "type": "string" }, "id": { "type": "string", "format": "int64" }, "image_url": { "type": "string" }, "name": { "type": "string" }, "status": { "$ref": "#/definitions/blStatus" }, "type": { "$ref": "#/definitions/hbProductSubscriptionType" }, "updated_at": { "type": "string", "format": "date-time" } } }, "qdTransaction": { "type": "object", "properties": { "account_id": { "type": "string", "format": "int64" }, "amount": { "type": "integer" }, "classify": { "$ref": "#/definitions/bdServiceClassify" }, "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "int64" }, "name": { "type": "string" }, "note": { "type": "string" }, "referral_ids": { "type": "array", "items": { "type": "string", "format": "int64" } }, "referral_type": { "$ref": "#/definitions/bqSubjectReferral" }, "status": { "$ref": "#/definitions/blStatus" }, "type": { "$ref": "#/definitions/cjTransactionType" }, "updated_at": { "type": "string", "format": "date-time" } } }, "qdUpdateDirectShipmentSettingRequest": { "type": "object", "properties": { "allow_connect_direct_shipment": { "type": "boolean" }, "shop_id": { "type": "string", "format": "int64" } } }, "qdUpdateDirectShipmentSettingResponse": { "type": "object", "properties": { "allow_connect_direct_shipment": { "type": "boolean" }, "shop_id": { "type": "string", "format": "int64" } } }, "qdUpdateShopConnectionRequest": { "type": "object", "properties": { "connection_id": { "type": "string", "format": "int64" }, "external_data": { "$ref": "#/definitions/qdShopConnectionExternalData" }, "owner_id": { "type": "string", "format": "int64" }, "shop_id": { "type": "string", "format": "int64" }, "telecom_data": { "$ref": "#/definitions/qdShopConnectionTelecomData" }, "token": { "type": "string" }, "token_expires_at": { "type": "string", "format": "date-time" } } }, "qdUpdateSubrPlanRequest": { "type": "object", "properties": { "description": { "type": "string" }, "id": { "type": "string", "format": "int64" }, "interval": { "$ref": "#/definitions/skSubscriptionPlanInterval" }, "interval_count": { "type": "integer" }, "name": { "type": "string" }, "price": { "type": "integer" }, "product_id": { "type": "string", "format": "int64" } } }, "qdUpdateSubscriptionInfoRequest": { "type": "object", "properties": { "account_id": { "type": "string", "format": "int64" }, "billing_cycle_anchor_at": { "description": "thời điểm phát sinh hóa đơn (trường hợp tự động gia hạn)\n", "type": "string", "format": "date-time" }, "cancel_at_period_end": { "description": "Hủy subscription khi hết hạn\n", "type": "boolean" }, "customer": { "$ref": "#/definitions/qdSubrCustomer" }, "id": { "type": "string", "format": "int64" }, "lines": { "type": "array", "items": { "$ref": "#/definitions/qdSubscriptionLine" } } } }, "qdValueInfo": { "type": "object", "properties": { "basket_value": { "type": "integer" }, "cod_amount": { "type": "integer" }, "include_insurance": { "type": "boolean" } } }, "qdWeightInfo": { "type": "object", "properties": { "chargeable_weight": { "type": "integer" }, "gross_weight": { "type": "integer" }, "height": { "type": "integer" }, "length": { "type": "integer" }, "width": { "type": "integer" } } }, "qdXFulfillment": { "type": "object", "properties": { "actual_compensation_amount": { "type": "integer" }, "address_from": { "allOf": [ { "description": "**Deprecated:** use pickup_address instead\n" }, { "$ref": "#/definitions/baAddress" } ] }, "address_to": { "allOf": [ { "description": "**Deprecated:** use shipping_address instead\n" }, { "$ref": "#/definitions/baAddress" } ] }, "basket_value": { "type": "integer" }, "cancel_reason": { "type": "string" }, "cancelled_at": { "type": "string", "format": "date-time" }, "carrier": { "$ref": "#/definitions/bwShippingProvider" }, "chargeable_weight": { "type": "integer" }, "closed_at": { "type": "string", "format": "date-time" }, "cod_amount": { "type": "integer" }, "cod_etop_transfered_at": { "type": "string", "format": "date-time" }, "code": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "estimated_delivery_at": { "type": "string", "format": "date-time" }, "estimated_pickup_at": { "type": "string", "format": "date-time" }, "etop_discount": { "type": "integer" }, "etop_payment_status": { "$ref": "#/definitions/bmStatus" }, "expected_delivery_at": { "description": "**Deprecated:** use estimated_delivery_at\n", "type": "string", "format": "date-time" }, "expected_pick_at": { "description": "**Deprecated:** use estimated_pickup_at\n", "type": "string", "format": "date-time" }, "id": { "description": "backward-compatible fields from shipment\n", "type": "string", "format": "int64" }, "include_insurance": { "type": "boolean" }, "lines": { "type": "array", "items": { "$ref": "#/definitions/qdOrderLine" } }, "money_transaction_shipping_external_id": { "type": "string", "format": "int64" }, "money_transaction_shipping_id": { "type": "string", "format": "int64" }, "order": { "$ref": "#/definitions/qdOrder" }, "order_id": { "type": "string", "format": "int64" }, "partner_id": { "type": "string", "format": "int64" }, "pickup_address": { "$ref": "#/definitions/qdOrderAddress" }, "provider_shipping_fee_lines": { "type": "array", "items": { "$ref": "#/definitions/qdShippingFeeLine" } }, "return_address": { "$ref": "#/definitions/qdOrderAddress" }, "self_url": { "type": "string" }, "sh_confirm": { "$ref": "#/definitions/blStatus" }, "shipment": { "$ref": "#/definitions/qdFulfillment" }, "shipnow": { "$ref": "#/definitions/qdShipnowFulfillment" }, "shipping_address": { "$ref": "#/definitions/qdOrderAddress" }, "shipping_code": { "type": "string" }, "shipping_fee_customer": { "type": "integer" }, "shipping_fee_shop": { "type": "integer" }, "shipping_fee_shop_lines": { "type": "array", "items": { "$ref": "#/definitions/qdShippingFeeLine" } }, "shipping_fee_shop_transfered_at": { "type": "string", "format": "date-time" }, "shipping_note": { "type": "string" }, "shipping_provider": { "allOf": [ { "description": "**Deprecated:** use carrier instead\n" }, { "$ref": "#/definitions/bwShippingProvider" } ] }, "shipping_service_code": { "type": "string" }, "shipping_service_fee": { "type": "integer" }, "shipping_service_name": { "type": "string" }, "shipping_state": { "$ref": "#/definitions/sfState" }, "shipping_status": { "$ref": "#/definitions/bnStatus" }, "shop": { "$ref": "#/definitions/baShop" }, "shop_id": { "type": "string", "format": "int64" }, "status": { "$ref": "#/definitions/bnStatus" }, "total_amount": { "description": "**Deprecated:**\n", "type": "integer" }, "total_cod_amount": { "description": "**Deprecated:** use cod_amount\n", "type": "integer" }, "total_items": { "type": "integer" }, "total_weight": { "description": "**Deprecated:** use chargeable_weight\n", "type": "integer" }, "try_on": { "$ref": "#/definitions/csTryOnCode" }, "updated_at": { "type": "string", "format": "date-time" }, "x_shipping_cancelled_at": { "type": "string", "format": "date-time" }, "x_shipping_code": { "type": "string" }, "x_shipping_created_at": { "type": "string", "format": "date-time" }, "x_shipping_delivered_at": { "type": "string", "format": "date-time" }, "x_shipping_fee": { "type": "integer" }, "x_shipping_id": { "type": "string" }, "x_shipping_logs": { "type": "array", "items": { "$ref": "#/definitions/qdExternalShippingLog" } }, "x_shipping_note": { "type": "string" }, "x_shipping_returned_at": { "type": "string", "format": "date-time" }, "x_shipping_state": { "type": "string" }, "x_shipping_status": { "$ref": "#/definitions/bnStatus" }, "x_shipping_sub_state": { "type": "string" }, "x_shipping_updated_at": { "type": "string", "format": "date-time" }, "x_sync_states": { "$ref": "#/definitions/qdFulfillmentSyncStates" }, "x_sync_status": { "$ref": "#/definitions/bmStatus" } } }, "qeUserRole": { "type": "string", "enum": [ "unknown", "owner", "staff_management", "telecom_customerservice", "inventory_management", "purchasing_management", "accountant", "analyst", "salesman", "telecom_customerservice_management", "m_admin" ] }, "riActivateTenantRequest": { "type": "object", "required": [ "hotline_id" ], "properties": { "connection_id": { "description": "Portsip direct connection (defautl value)\n", "type": "string", "format": "int64" }, "hotline_id": { "type": "string", "format": "int64" }, "owner_id": { "type": "string", "format": "int64" }, "tenant_id": { "type": "string", "format": "int64" } } }, "riAddHotlineToTenantRequest": { "type": "object", "properties": { "hotline_id": { "type": "string", "format": "int64" }, "tenant_id": { "type": "string", "format": "int64" } } }, "riAdminCreateTenantRequest": { "type": "object", "properties": { "account_id": { "type": "string", "format": "int64" }, "connection_id": { "description": "Support connection portsip direct\n", "type": "string", "format": "int64" }, "owner_id": { "type": "string", "format": "int64" } } }, "riCreateHotlineRequest": { "type": "object", "properties": { "description": { "type": "string" }, "hotline": { "type": "string" }, "is_free_charge": { "type": "boolean" }, "name": { "type": "string" }, "network": { "$ref": "#/definitions/tcMobileNetwork" }, "owner_id": { "type": "string", "format": "int64" } } }, "riEtelecomUserSetting": { "type": "object", "properties": { "created_at": { "type": "string", "format": "date-time" }, "extension_charge_type": { "$ref": "#/definitions/fmChargeType" }, "id": { "description": "User ID\n", "type": "string", "format": "int64" }, "updated_at": { "type": "string", "format": "date-time" } } }, "riGetHotLinesRequest": { "type": "object", "properties": { "filter": { "$ref": "#/definitions/riHotlinesFilter" }, "paging": { "$ref": "#/definitions/ktCursorPaging" } } }, "riGetHotLinesResponse": { "type": "object", "properties": { "hotlines": { "type": "array", "items": { "$ref": "#/definitions/riHotline" } }, "paging": { "$ref": "#/definitions/ktCursorPageInfo" } } }, "riGetTenantsRequest": { "type": "object", "properties": { "filter": { "$ref": "#/definitions/riTenantsFilter" }, "paging": { "$ref": "#/definitions/ktCursorPaging" } } }, "riGetTenantsResponse": { "type": "object", "properties": { "paging": { "$ref": "#/definitions/ktCursorPageInfo" }, "tenants": { "type": "array", "items": { "$ref": "#/definitions/riTenant" } } } }, "riGetUserSettingsRequest": { "type": "object", "properties": { "paging": { "$ref": "#/definitions/ktCursorPaging" }, "user_ids": { "type": "array", "items": { "type": "string", "format": "int64" } } } }, "riHotline": { "type": "object", "properties": { "connection_id": { "type": "string", "format": "int64" }, "connection_method": { "$ref": "#/definitions/cdConnectionMethod" }, "created_at": { "type": "string", "format": "date-time" }, "description": { "type": "string" }, "hotline": { "type": "string" }, "id": { "type": "string", "format": "int64" }, "is_free_charge": { "type": "boolean" }, "name": { "type": "string" }, "network": { "$ref": "#/definitions/tcMobileNetwork" }, "owner_id": { "type": "string", "format": "int64" }, "status": { "$ref": "#/definitions/blStatus" }, "updated_at": { "type": "string", "format": "date-time" } } }, "riHotlinesFilter": { "type": "object", "properties": { "owner_id": { "type": "string", "format": "int64" }, "tenant_id": { "type": "string", "format": "int64" } } }, "riRemoveHotlineOutOfTenantRequest": { "type": "object", "properties": { "hotline_id": { "type": "string", "format": "int64" }, "owner_id": { "type": "string", "format": "int64" } } }, "riTenant": { "type": "object", "properties": { "connection_id": { "type": "string", "format": "int64" }, "connection_method": { "$ref": "#/definitions/cdConnectionMethod" }, "created_at": { "type": "string", "format": "date-time" }, "domain": { "type": "string" }, "id": { "type": "string", "format": "int64" }, "name": { "type": "string" }, "owner_id": { "type": "string", "format": "int64" }, "status": { "$ref": "#/definitions/blStatus" }, "updated_at": { "type": "string", "format": "date-time" } } }, "riTenantsFilter": { "type": "object", "properties": { "owner_id": { "type": "string", "format": "int64" } } }, "riUpdateHotlineRequest": { "type": "object", "properties": { "description": { "type": "string" }, "id": { "type": "string", "format": "int64" }, "is_free_charge": { "type": "boolean" }, "name": { "type": "string" }, "network": { "$ref": "#/definitions/tcMobileNetwork" }, "status": { "$ref": "#/definitions/blStatus" } } }, "riUpdateUserSettingRequest": { "type": "object", "properties": { "extension_charge_type": { "$ref": "#/definitions/fmChargeType" }, "user_id": { "type": "string", "format": "int64" } } }, "riUserSettingsResponse": { "type": "object", "properties": { "paging": { "$ref": "#/definitions/ktCursorPageInfo" }, "user_settings": { "type": "array", "items": { "$ref": "#/definitions/riEtelecomUserSetting" } } } }, "rjInvoiceType": { "type": "string", "enum": [ "default", "in", "out" ] }, "sdShippingFeeType": { "type": "string", "enum": [ "unknown", "main", "return", "adjustment", "insurance", "tax", "other", "cods", "address_change", "discount", "redelivery" ] }, "sfState": { "type": "string", "enum": [ "unknown", "default", "created", "confirmed", "processing", "picking", "holding", "returning", "returned", "delivering", "delivered", "cancelled", "undeliverable" ] }, "skSubscriptionPlanInterval": { "type": "string", "enum": [ "unknown", "day", "week", "month", "year" ] }, "tcMobileNetwork": { "type": "string", "enum": [ "unknown", "mobifone", "vinaphone", "viettel", "other" ] }, "ujRegionType": { "type": "string", "enum": [ "north", "middle", "south" ] }, "ujShippingLocationType": { "type": "string", "enum": [ "pick", "deliver" ] }, "vmShippingPaymentType": { "type": "string", "enum": [ "none", "seller", "buyer" ] }, "wdNotifierEntity": { "type": "string", "enum": [ "unknown", "fulfillment", "money_transaction_shipping", "fb_external_comment", "fb_external_message" ] }, "xjSource": { "type": "string", "enum": [ "unknown", "self", "import", "api", "etop_pos", "etop_pxs", "etop_cmx", "ts_app", "etop_app", "haravan", "ecomify" ] }, "xuActiveShipmentPriceListRequest": { "type": "object", "properties": { "connection_id": { "type": "string", "format": "int64" }, "id": { "type": "string", "format": "int64" } } }, "xuAddShippingFeeRequest": { "type": "object", "properties": { "id": { "type": "string", "format": "int64" }, "shipping_code": { "type": "string" }, "shipping_fee_type": { "$ref": "#/definitions/sdShippingFeeType" } } }, "xuAdditionalFee": { "type": "object", "properties": { "base_value_type": { "$ref": "#/definitions/yeBaseValueType" }, "calculation_method": { "$ref": "#/definitions/liCalculationMethodType" }, "fee_type": { "$ref": "#/definitions/sdShippingFeeType" }, "rules": { "type": "array", "items": { "$ref": "#/definitions/xuAdditionalFeeRule" } } } }, "xuAdditionalFeeRule": { "type": "object", "properties": { "amount": { "type": "integer", "format": "float32" }, "max_value": { "type": "integer" }, "min_price": { "type": "integer" }, "min_value": { "type": "integer" }, "price_modifier_type": { "$ref": "#/definitions/yjPriceModifierType" }, "start_value": { "type": "integer" } } }, "xuAdminAccountResponse": { "type": "object", "properties": { "created_at": { "type": "string", "format": "date-time" }, "email": { "type": "string" }, "full_name": { "type": "string" }, "phone": { "type": "string" }, "roles": { "type": "array", "items": { "type": "string" } }, "updated_at": { "type": "string", "format": "date-time" }, "user_id": { "type": "string", "format": "int64" } } }, "xuAdminUserFilter": { "type": "object", "properties": { "roles": { "$ref": "#/definitions/kfStrings" } } }, "xuAssignTicketRequest": { "type": "object", "properties": { "assigned_user_ids": { "type": "array", "items": { "type": "string", "format": "int64" } }, "ticket_id": { "type": "string", "format": "int64" } } }, "xuAvailableLocation": { "type": "object", "properties": { "custom_region_ids": { "type": "array", "items": { "type": "string", "format": "int64" } }, "filter_type": { "$ref": "#/definitions/fdFilterType" }, "province_codes": { "type": "array", "items": { "type": "string" } }, "regions": { "type": "array", "items": { "$ref": "#/definitions/ujRegionType" } }, "shipping_location_type": { "$ref": "#/definitions/ujShippingLocationType" } } }, "xuBlacklistLocation": { "type": "object", "properties": { "district_codes": { "type": "array", "items": { "type": "string" } }, "province_codes": { "type": "array", "items": { "type": "string" } }, "reason": { "type": "string" }, "shipping_location_type": { "$ref": "#/definitions/ujShippingLocationType" }, "ward_codes": { "type": "array", "items": { "type": "string" } } } }, "xuBlockUserRequest": { "type": "object", "properties": { "block_reason": { "type": "string" }, "user_id": { "type": "string", "format": "int64" } } }, "xuChangeUserCredentialRequest": { "type": "object", "properties": { "email": { "type": "string" }, "password": { "type": "string" }, "phone": { "type": "string" }, "user_id": { "type": "string", "format": "int64" } } }, "xuCloseTicketRequest": { "type": "object", "required": [ "state" ], "properties": { "note": { "type": "string" }, "state": { "$ref": "#/definitions/dqTicketState" }, "ticket_id": { "type": "string", "format": "int64" } } }, "xuConfirmCreditRequest": { "type": "object", "properties": { "id": { "type": "string", "format": "int64" }, "shop_id": { "type": "string", "format": "int64" } } }, "xuConfirmMoneyTransactionRequest": { "type": "object", "properties": { "money_transaction_id": { "type": "string", "format": "int64" }, "shop_id": { "type": "string", "format": "int64" }, "total_amount": { "type": "integer" }, "total_cod": { "type": "integer" }, "total_orders": { "type": "integer" } } }, "xuConfirmMoneyTransactionShippingEtopRequest": { "type": "object", "properties": { "id": { "type": "string", "format": "int64" }, "total_amount": { "type": "integer" }, "total_cod": { "type": "integer" }, "total_orders": { "type": "integer" } } }, "xuConfirmTicketRequest": { "type": "object", "properties": { "note": { "type": "string" }, "ticket_id": { "type": "string", "format": "int64" } } }, "xuCreateAdminUserRequest": { "type": "object", "properties": { "email": { "type": "string" }, "roles": { "type": "array", "items": { "type": "string" } } } }, "xuCreateAdminUserResponse": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string" } }, "status": { "$ref": "#/definitions/blStatus" }, "user_id": { "type": "string", "format": "int64" } } }, "xuCreateCreditRequest": { "type": "object", "properties": { "amount": { "type": "integer" }, "classify": { "$ref": "#/definitions/aeCreditClassify" }, "paid_at": { "type": "string", "format": "date-time" }, "shop_id": { "type": "string", "format": "int64" }, "type": { "$ref": "#/definitions/aeCreditType" } } }, "xuCreateCustomRegionRequest": { "type": "object", "properties": { "description": { "type": "string" }, "name": { "type": "string" }, "province_codes": { "type": "array", "items": { "type": "string" } } } }, "xuCreateMoneyTransactionRequest": { "type": "object", "properties": { "fulfillment_ids": { "type": "array", "items": { "type": "string", "format": "int64" } }, "shop_id": { "type": "string", "format": "int64" }, "total_amount": { "type": "integer" }, "total_cod": { "type": "integer" }, "total_orders": { "type": "integer" } } }, "xuCreateNotificationsRequest": { "type": "object", "properties": { "account_ids": { "type": "array", "items": { "type": "string", "format": "int64" } }, "entity": { "$ref": "#/definitions/wdNotifierEntity" }, "entity_id": { "type": "string", "format": "int64" }, "message": { "type": "string" }, "send_all": { "description": "Send to all subscribers\n", "type": "boolean" }, "title": { "type": "string" } } }, "xuCreateNotificationsResponse": { "type": "object", "properties": { "created": { "type": "integer" }, "errored": { "type": "integer" } } }, "xuCreatePartnerRequest": { "type": "object", "properties": { "partner": { "$ref": "#/definitions/baPartner" } } }, "xuCreateShipmentPriceListPromotionRequest": { "type": "object", "properties": { "applied_rules": { "$ref": "#/definitions/xuPriceListPromotionAppliedRules" }, "connection_id": { "type": "string", "format": "int64" }, "date_from": { "type": "string", "format": "date-time" }, "date_to": { "type": "string", "format": "date-time" }, "description": { "type": "string" }, "name": { "type": "string" }, "priority_point": { "type": "integer" }, "shipment_price_list_id": { "type": "string", "format": "int64" } } }, "xuCreateShipmentPriceListRequest": { "type": "object", "properties": { "connection_id": { "type": "string", "format": "int64" }, "description": { "type": "string" }, "is_default": { "type": "boolean" }, "name": { "type": "string" } } }, "xuCreateShipmentPriceRequest": { "type": "object", "properties": { "additional_fees": { "type": "array", "items": { "$ref": "#/definitions/xuAdditionalFee" } }, "custom_region_ids": { "type": "array", "items": { "type": "string", "format": "int64" } }, "custom_region_types": { "type": "array", "items": { "$ref": "#/definitions/ajCustomRegionRouteType" } }, "details": { "type": "array", "items": { "$ref": "#/definitions/xuPricingDetail" } }, "name": { "type": "string" }, "priority_point": { "type": "integer" }, "province_types": { "type": "array", "items": { "$ref": "#/definitions/ajProvinceRouteType" } }, "region_types": { "type": "array", "items": { "$ref": "#/definitions/ajRegionRouteType" } }, "shipment_price_list_id": { "type": "string", "format": "int64" }, "shipment_service_id": { "type": "string", "format": "int64" }, "urban_types": { "type": "array", "items": { "$ref": "#/definitions/ajUrbanType" } } } }, "xuCreateShipmentServiceRequest": { "type": "object", "properties": { "available_locations": { "type": "array", "items": { "$ref": "#/definitions/xuAvailableLocation" } }, "blacklist_locations": { "type": "array", "items": { "$ref": "#/definitions/xuBlacklistLocation" } }, "connection_id": { "type": "string", "format": "int64" }, "description": { "type": "string" }, "ed_code": { "type": "string" }, "image_url": { "type": "string" }, "name": { "type": "string" }, "other_condition": { "$ref": "#/definitions/xuOtherCondition" }, "service_ids": { "type": "array", "items": { "type": "string" } } } }, "xuCreateShopShipmentPriceList": { "type": "object", "properties": { "connection_id": { "type": "string", "format": "int64" }, "note": { "type": "string" }, "shipment_price_list_id": { "type": "string", "format": "int64" }, "shop_id": { "type": "string", "format": "int64" } } }, "xuCreateTicketCommentRequest": { "type": "object", "properties": { "account_id": { "type": "string", "format": "int64" }, "image_url": { "description": "**Deprecated:**\n", "type": "string" }, "image_urls": { "type": "array", "items": { "type": "string" } }, "message": { "type": "string" }, "parent_id": { "type": "string", "format": "int64" }, "ticket_id": { "type": "string", "format": "int64" } } }, "xuCreateTicketLabelRequest": { "type": "object", "properties": { "code": { "type": "string" }, "color": { "type": "string" }, "name": { "type": "string" }, "parent_id": { "type": "string", "format": "int64" } } }, "xuCreateTicketRequest": { "type": "object", "properties": { "account_id": { "type": "string", "format": "int64" }, "description": { "type": "string" }, "label_ids": { "type": "array", "items": { "type": "string", "format": "int64" } }, "note": { "description": "user note\n", "type": "string" }, "ref_code": { "type": "string" }, "ref_id": { "type": "string", "format": "int64" }, "ref_ticket_id": { "description": "Ticket ID liên quan\n", "type": "string", "format": "int64" }, "ref_type": { "$ref": "#/definitions/ovTicketRefType" }, "source": { "$ref": "#/definitions/fpTicketSource" }, "title": { "type": "string" } } }, "xuCreditsFilter": { "type": "object", "properties": { "classify": { "$ref": "#/definitions/aeCreditClassify" }, "date_from": { "type": "string", "format": "date-time" }, "date_to": { "type": "string", "format": "date-time" }, "shop_id": { "type": "string", "format": "int64" } } }, "xuCustomRegion": { "type": "object", "properties": { "created_at": { "type": "string", "format": "date-time" }, "description": { "type": "string" }, "id": { "type": "string", "format": "int64" }, "name": { "type": "string" }, "province_codes": { "type": "array", "items": { "type": "string" } }, "updated_at": { "type": "string", "format": "date-time" } } }, "xuDeleteAdminUserRequest": { "type": "object", "properties": { "user_id": { "type": "string", "format": "int64" } } }, "xuDeleteAdminUserResponse": { "type": "object", "properties": { "updated": { "type": "integer" } } }, "xuDeleteTicketCommentRequest": { "type": "object", "properties": { "id": { "type": "string", "format": "int64" } } }, "xuDeleteTicketCommentResponse": { "type": "object", "properties": { "count": { "type": "integer" } } }, "xuDeleteTicketLabelRequest": { "type": "object", "properties": { "delete_child": { "type": "boolean" }, "id": { "type": "string", "format": "int64" } } }, "xuDeleteTicketLabelResponse": { "type": "object", "properties": { "deleted": { "type": "integer" } } }, "xuFilterGetAccountUsersRequest": { "type": "object", "properties": { "account_id": { "type": "string", "format": "int64" }, "exact_roles": { "type": "array", "items": { "$ref": "#/definitions/qeUserRole" } }, "name": { "$ref": "#/definitions/kfFullTextSearch" }, "phone": { "$ref": "#/definitions/kfFullTextSearch" }, "roles": { "type": "array", "items": { "$ref": "#/definitions/qeUserRole" } } } }, "xuFilterGetTicketComment": { "type": "object", "properties": { "account_id": { "type": "string", "format": "int64" }, "created_by": { "type": "string", "format": "int64" }, "ids": { "type": "array", "items": { "type": "string", "format": "int64" } }, "parent_id": { "type": "string", "format": "int64" }, "ticket_id": { "type": "string", "format": "int64" }, "title": { "type": "string" } } }, "xuFilterShopGetTicket": { "type": "object", "properties": { "account_id": { "type": "string", "format": "int64" }, "assigned_user_id": { "type": "array", "items": { "type": "string", "format": "int64" } }, "closed_by": { "type": "string", "format": "int64" }, "code": { "type": "string" }, "created_by": { "type": "string", "format": "int64" }, "ids": { "type": "array", "items": { "type": "string", "format": "int64" } }, "label_ids": { "type": "array", "items": { "type": "string", "format": "int64" } }, "ref_code": { "type": "string" }, "ref_id": { "type": "string", "format": "int64" }, "ref_type": { "$ref": "#/definitions/ovTicketRefType" }, "state": { "$ref": "#/definitions/dqTicketState" }, "title": { "$ref": "#/definitions/kfFullTextSearch" } } }, "xuFilterShopRequest": { "type": "object", "properties": { "date_from": { "type": "string", "format": "date-time" }, "date_to": { "type": "string", "format": "date-time" }, "name": { "$ref": "#/definitions/kfFullTextSearch" }, "owner_id": { "type": "string", "format": "int64" }, "shop_codes": { "type": "array", "items": { "type": "string" } }, "shop_ids": { "type": "array", "items": { "type": "string", "format": "int64" } } } }, "xuGenerateAPIKeyRequest": { "type": "object", "properties": { "account_id": { "type": "string", "format": "int64" } } }, "xuGenerateAPIKeyResponse": { "type": "object", "properties": { "account_id": { "type": "string", "format": "int64" }, "api_key": { "type": "string" } } }, "xuGetAPIKeyRequest": { "type": "object", "properties": { "account_id": { "type": "string", "format": "int64" } } }, "xuGetAPIKeyResponse": { "type": "object", "properties": { "api_key": { "type": "string" } } }, "xuGetAccountUsersRequest": { "type": "object", "properties": { "filter": { "$ref": "#/definitions/xuFilterGetAccountUsersRequest" }, "paging": { "$ref": "#/definitions/ktCursorPaging" } } }, "xuGetAccountUsersResponse": { "type": "object", "properties": { "account_users": { "type": "array", "items": { "$ref": "#/definitions/flAccountUserExtended" } }, "paging": { "$ref": "#/definitions/ktCursorPageInfo" } } }, "xuGetAdminUserResponse": { "type": "object", "properties": { "admins": { "type": "array", "items": { "$ref": "#/definitions/xuAdminAccountResponse" } } } }, "xuGetAdminUsersRequest": { "type": "object", "properties": { "filter": { "$ref": "#/definitions/xuAdminUserFilter" } } }, "xuGetCreditRequest": { "type": "object", "properties": { "id": { "type": "string", "format": "int64" }, "shop_id": { "type": "string", "format": "int64" } } }, "xuGetCreditsRequest": { "type": "object", "properties": { "filter": { "$ref": "#/definitions/xuCreditsFilter" }, "paging": { "$ref": "#/definitions/ktPaging" }, "shop_id": { "description": "**Deprecated:** use Filter instead\n", "type": "string", "format": "int64" } } }, "xuGetCustomRegionsResponse": { "type": "object", "properties": { "custom_regions": { "type": "array", "items": { "$ref": "#/definitions/xuCustomRegion" } } } }, "xuGetFulfillmentsRequest": { "type": "object", "properties": { "connection_ids": { "type": "array", "items": { "type": "string", "format": "int64" } }, "date_from": { "type": "string", "format": "date-time" }, "date_to": { "type": "string", "format": "date-time" }, "filters": { "type": "array", "items": { "$ref": "#/definitions/ktFilter" } }, "order_id": { "type": "string", "format": "int64" }, "paging": { "$ref": "#/definitions/ktPaging" }, "shop_id": { "type": "string", "format": "int64" }, "status": { "$ref": "#/definitions/blStatus" } } }, "xuGetLatestUserOTPRequest": { "type": "object", "properties": { "phone": { "description": "Chỉ sử dụng phone trường hợp không tìm ra người dùng (vd: đăng ký user mới)\n", "type": "string" }, "user_id": { "type": "string", "format": "int64" } } }, "xuGetLatestUserOTPResponse": { "type": "object", "properties": { "action": { "$ref": "#/definitions/dsUserOTPAction" }, "label": { "type": "string" }, "otp": { "type": "string" } } }, "xuGetMoneyTransactionShippingEtopsRequest": { "type": "object", "properties": { "filters": { "type": "array", "items": { "$ref": "#/definitions/ktFilter" } }, "ids": { "type": "array", "items": { "type": "string", "format": "int64" } }, "paging": { "$ref": "#/definitions/ktPaging" }, "status": { "$ref": "#/definitions/blStatus" } } }, "xuGetMoneyTransactionShippingExternalsRequest": { "type": "object", "properties": { "filters": { "type": "array", "items": { "$ref": "#/definitions/ktFilter" } }, "ids": { "type": "array", "items": { "type": "string", "format": "int64" } }, "paging": { "$ref": "#/definitions/ktPaging" } } }, "xuGetMoneyTransactionsRequest": { "type": "object", "properties": { "filters": { "type": "array", "items": { "$ref": "#/definitions/ktFilter" } }, "ids": { "type": "array", "items": { "type": "string", "format": "int64" } }, "paging": { "$ref": "#/definitions/ktPaging" }, "shop_id": { "type": "string", "format": "int64" } } }, "xuGetOrdersRequest": { "type": "object", "properties": { "filters": { "type": "array", "items": { "$ref": "#/definitions/ktFilter" } }, "paging": { "$ref": "#/definitions/ktPaging" } } }, "xuGetShipmentPriceListPromotionsRequest": { "type": "object", "properties": { "connection_id": { "type": "string", "format": "int64" }, "paging": { "$ref": "#/definitions/ktPaging" }, "shipment_price_list_id": { "type": "string", "format": "int64" } } }, "xuGetShipmentPriceListPromotionsResponse": { "type": "object", "properties": { "shipment_price_list_promotions": { "type": "array", "items": { "$ref": "#/definitions/xuShipmentPriceListPromotion" } } } }, "xuGetShipmentPriceListsRequest": { "type": "object", "properties": { "connection_id": { "type": "string", "format": "int64" }, "is_default": { "type": "boolean" } } }, "xuGetShipmentPriceListsResponse": { "type": "object", "properties": { "shipment_price_lists": { "type": "array", "items": { "$ref": "#/definitions/xuShipmentPriceList" } } } }, "xuGetShipmentPricesRequest": { "type": "object", "properties": { "shipment_price_list_id": { "type": "string", "format": "int64" }, "shipment_service_id": { "type": "string", "format": "int64" } } }, "xuGetShipmentPricesResponse": { "type": "object", "properties": { "shipment_prices": { "type": "array", "items": { "$ref": "#/definitions/xuShipmentPrice" } } } }, "xuGetShipmentServicesRequest": { "type": "object", "properties": { "connection_id": { "type": "string", "format": "int64" } } }, "xuGetShipmentServicesResponse": { "type": "object", "properties": { "shipment_services": { "type": "array", "items": { "$ref": "#/definitions/xuShipmentService" } } } }, "xuGetShippingServicesRequest": { "description": "Use to test shipment prices\n", "type": "object", "properties": { "account_id": { "description": "AccountID\n\ndùng để tính cước phí cho 1 shop (trường hợp gắn bảng giá cho shop)\n", "type": "string", "format": "int64" }, "basket_value": { "type": "integer" }, "connection_ids": { "type": "array", "items": { "type": "string", "format": "int64" } }, "from_district_code": { "type": "string" }, "from_province_code": { "type": "string" }, "gross_weight": { "type": "integer" }, "include_insurance": { "type": "boolean" }, "shipment_price_list_id": { "description": "ShipmentPriceListID\n\ntrường hợp tính cước phí cho 1 bảng giá cụ thể, nếu field này rỗng mới quan tâm tới AccountID để lấy bảng giá\n", "type": "string", "format": "int64" }, "to_district_code": { "type": "string" }, "to_province_code": { "type": "string" }, "total_cod_amount": { "type": "integer" } } }, "xuGetShopShipmentPriceListRequest": { "type": "object", "properties": { "connection_id": { "type": "string", "format": "int64" }, "shipment_price_list_id": { "type": "string", "format": "int64" }, "shop_id": { "type": "string", "format": "int64" } } }, "xuGetShopShipmentPriceListsRequest": { "type": "object", "properties": { "connection_id": { "type": "string", "format": "int64" }, "paging": { "$ref": "#/definitions/ktPaging" }, "shipment_price_list_id": { "type": "string", "format": "int64" }, "shop_id": { "type": "string", "format": "int64" } } }, "xuGetShopShipmentPriceListsResponse": { "type": "object", "properties": { "paging": { "$ref": "#/definitions/ktPageInfo" }, "price_lists": { "type": "array", "items": { "$ref": "#/definitions/xuShopShipmentPriceList" } } } }, "xuGetShopsRequest": { "type": "object", "properties": { "filter": { "$ref": "#/definitions/xuFilterShopRequest" }, "filters": { "type": "array", "items": { "$ref": "#/definitions/ktFilter" } }, "paging": { "$ref": "#/definitions/ktPaging" } } }, "xuGetShopsResponse": { "type": "object", "properties": { "paging": { "$ref": "#/definitions/ktPageInfo" }, "shops": { "type": "array", "items": { "$ref": "#/definitions/baShop" } } } }, "xuGetTicketCommentsRequest": { "type": "object", "properties": { "filter": { "$ref": "#/definitions/xuFilterGetTicketComment" }, "paging": { "$ref": "#/definitions/ktPaging" } } }, "xuGetTicketCommentsResponse": { "type": "object", "properties": { "paging": { "$ref": "#/definitions/ktPageInfo" }, "ticket_comments": { "type": "array", "items": { "$ref": "#/definitions/flTicketComment" } } } }, "xuGetTicketLabelsRequest": { "type": "object", "properties": { "tree": { "type": "boolean" } } }, "xuGetTicketLabelsResponse": { "type": "object", "properties": { "ticket_labels": { "type": "array", "items": { "$ref": "#/definitions/flTicketLabel" } } } }, "xuGetTicketRequest": { "type": "object", "properties": { "account_id": { "type": "string", "format": "int64" }, "id": { "type": "string", "format": "int64" } } }, "xuGetTicketsRequest": { "type": "object", "properties": { "filter": { "$ref": "#/definitions/xuFilterShopGetTicket" }, "paging": { "$ref": "#/definitions/ktPaging" } } }, "xuGetTicketsResponse": { "type": "object", "properties": { "paging": { "$ref": "#/definitions/ktPageInfo" }, "tickets": { "type": "array", "items": { "$ref": "#/definitions/flTicket" } } } }, "xuGetUsersRequest": { "type": "object", "properties": { "filters": { "$ref": "#/definitions/xuUsersFilter" }, "paging": { "$ref": "#/definitions/ktPaging" } } }, "xuLoginAsAccountRequest": { "type": "object", "properties": { "account_id": { "type": "string", "format": "int64" }, "password": { "description": "This is a sensitive API, so admin must provide password before processing!\n", "type": "string" }, "user_id": { "type": "string", "format": "int64" } } }, "xuOtherCondition": { "type": "object", "properties": { "max_weight": { "type": "integer" }, "min_weight": { "type": "integer" } } }, "xuPriceListPromotionAppliedRules": { "type": "object", "properties": { "from_custom_region_ids": { "description": "apply cho những đơn có điểm lấy hàng nằm trong vùng tự định nghĩa này\n", "type": "array", "items": { "type": "string", "format": "int64" } }, "shop_created_date": { "allOf": [ { "description": "apply cho những shop có ngày tạo trong khoảng này\n\nFilter by date value\n\nObject:\n\n - {\"from\":\"2020-01-01T00:00:00Z\",\"to\":\"2020-02-01T00:00:00Z\"}\n\nString:\n\n - \"2020-01-01T00:00:00Z,2010-02-01T00:00:00Z\":\n - \"2020-01-01T00:00:00Z,\":\n - \",2020-01-01T00:00:00Z\":\n" }, { "$ref": "#/definitions/kfDate" } ] }, "user_created_date": { "allOf": [ { "description": "apply cho những user có ngày tạo trong khoảng này\n\nFilter by date value\n\nObject:\n\n - {\"from\":\"2020-01-01T00:00:00Z\",\"to\":\"2020-02-01T00:00:00Z\"}\n\nString:\n\n - \"2020-01-01T00:00:00Z,2010-02-01T00:00:00Z\":\n - \"2020-01-01T00:00:00Z,\":\n - \",2020-01-01T00:00:00Z\":\n" }, { "$ref": "#/definitions/kfDate" } ] }, "using_price_list_ids": { "description": "apply cho những shop đang xài bảng giá này\n", "type": "array", "items": { "type": "string", "format": "int64" } } } }, "xuPricingDetail": { "type": "object", "properties": { "overweight": { "type": "array", "items": { "$ref": "#/definitions/xuPricingDetailOverweight" } }, "price": { "type": "integer" }, "weight": { "type": "integer" } } }, "xuPricingDetailOverweight": { "type": "object", "properties": { "max_weight": { "type": "integer" }, "min_weight": { "type": "integer" }, "price_step": { "type": "integer" }, "weight_step": { "type": "integer" } } }, "xuRemoveMoneyTransactionShippingExternalLinesRequest": { "type": "object", "properties": { "line_ids": { "type": "array", "items": { "type": "string", "format": "int64" } }, "money_transaction_shipping_external_id": { "type": "string", "format": "int64" } } }, "xuReopenTicketRequest": { "type": "object", "properties": { "note": { "type": "string" }, "ticket_id": { "type": "string", "format": "int64" } } }, "xuShipmentPrice": { "type": "object", "properties": { "additional_fees": { "type": "array", "items": { "$ref": "#/definitions/xuAdditionalFee" } }, "created_at": { "type": "string", "format": "date-time" }, "custom_region_ids": { "type": "array", "items": { "type": "string", "format": "int64" } }, "custom_region_types": { "type": "array", "items": { "$ref": "#/definitions/ajCustomRegionRouteType" } }, "details": { "type": "array", "items": { "$ref": "#/definitions/xuPricingDetail" } }, "id": { "type": "string", "format": "int64" }, "name": { "type": "string" }, "priority_point": { "type": "integer" }, "province_types": { "type": "array", "items": { "$ref": "#/definitions/ajProvinceRouteType" } }, "region_types": { "type": "array", "items": { "$ref": "#/definitions/ajRegionRouteType" } }, "shipment_price_list_id": { "type": "string", "format": "int64" }, "shipment_service_id": { "type": "string", "format": "int64" }, "status": { "$ref": "#/definitions/blStatus" }, "updated_at": { "type": "string", "format": "date-time" }, "urban_types": { "type": "array", "items": { "$ref": "#/definitions/ajUrbanType" } } } }, "xuShipmentPriceList": { "type": "object", "properties": { "connection_id": { "type": "string", "format": "int64" }, "created_at": { "type": "string", "format": "date-time" }, "description": { "type": "string" }, "id": { "type": "string", "format": "int64" }, "is_default": { "type": "boolean" }, "name": { "type": "string" }, "updated_at": { "type": "string", "format": "date-time" } } }, "xuShipmentPriceListPromotion": { "type": "object", "properties": { "applied_rules": { "$ref": "#/definitions/xuPriceListPromotionAppliedRules" }, "connection_id": { "type": "string", "format": "int64" }, "created_at": { "type": "string", "format": "date-time" }, "date_from": { "type": "string", "format": "date-time" }, "date_to": { "type": "string", "format": "date-time" }, "description": { "type": "string" }, "id": { "type": "string", "format": "int64" }, "name": { "type": "string" }, "priority_point": { "type": "integer" }, "shipment_price_list_id": { "type": "string", "format": "int64" }, "status": { "$ref": "#/definitions/blStatus" }, "updated_at": { "type": "string", "format": "date-time" } } }, "xuShipmentService": { "type": "object", "properties": { "available_locations": { "type": "array", "items": { "$ref": "#/definitions/xuAvailableLocation" } }, "blacklist_locations": { "type": "array", "items": { "$ref": "#/definitions/xuBlacklistLocation" } }, "connection_id": { "type": "string", "format": "int64" }, "created_at": { "type": "string", "format": "date-time" }, "description": { "type": "string" }, "ed_code": { "type": "string" }, "id": { "type": "string", "format": "int64" }, "image_url": { "type": "string" }, "name": { "type": "string" }, "other_condition": { "$ref": "#/definitions/xuOtherCondition" }, "service_ids": { "type": "array", "items": { "type": "string" } }, "status": { "$ref": "#/definitions/blStatus" }, "updated_at": { "type": "string", "format": "date-time" } } }, "xuShopShipmentPriceList": { "type": "object", "properties": { "connection_id": { "type": "string", "format": "int64" }, "created_at": { "type": "string", "format": "date-time" }, "note": { "type": "string" }, "shipment_price_list_id": { "type": "string", "format": "int64" }, "shop_id": { "type": "string", "format": "int64" }, "updated_at": { "type": "string", "format": "date-time" }, "updated_by": { "type": "string", "format": "int64" } } }, "xuSplitMoneyTxShippingExternalRequest": { "type": "object", "properties": { "id": { "type": "string", "format": "int64" }, "is_split_by_shop_priority": { "description": "Tách phiên dựa theo độ ưu tiên đối soát với shop\n", "type": "boolean" }, "max_money_tx_shipping_count": { "description": "Tách phiên dựa theo shop mới (shop có số lượng phiên \u003c= max_money_tx_shipping_count)\n", "type": "integer" } } }, "xuUnblockUserRequest": { "type": "object", "properties": { "user_id": { "type": "string", "format": "int64" } } }, "xuUpdateAdminUserRequest": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string" } }, "status": { "$ref": "#/definitions/blStatus" }, "user_id": { "type": "string", "format": "int64" } } }, "xuUpdateAdminUserResponse": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string" } }, "status": { "$ref": "#/definitions/blStatus" }, "user_id": { "type": "string", "format": "int64" } } }, "xuUpdateFulfillmentCODAmountRequest": { "type": "object", "properties": { "admin_note": { "type": "string" }, "id": { "type": "string", "format": "int64" }, "is_partial_delivery": { "type": "boolean" }, "shipping_code": { "type": "string" }, "total_cod_amount": { "type": "integer" } } }, "xuUpdateFulfillmentInfoRequest": { "type": "object", "properties": { "admin_note": { "type": "string" }, "full_name": { "type": "string" }, "id": { "type": "string", "format": "int64" }, "phone": { "type": "string" }, "shipping_code": { "type": "string" } } }, "xuUpdateFulfillmentShippingFeesRequest": { "type": "object", "properties": { "admin_note": { "type": "string" }, "id": { "type": "string", "format": "int64" }, "shipping_code": { "type": "string" }, "shipping_fee_lines": { "type": "array", "items": { "$ref": "#/definitions/qdShippingFeeLine" } }, "total_cod_amount": { "description": "**Deprecated:** TotalCODAmount\n", "type": "integer" } } }, "xuUpdateFulfillmentShippingStateRequest": { "type": "object", "properties": { "actual_compensation_amount": { "type": "integer" }, "admin_note": { "type": "string" }, "id": { "type": "string", "format": "int64" }, "shipping_code": { "type": "string" }, "shipping_state": { "$ref": "#/definitions/sfState" } } }, "xuUpdateMoneyTransactionRequest": { "type": "object", "properties": { "bank_account": { "$ref": "#/definitions/baBankAccount" }, "id": { "type": "string", "format": "int64" }, "invoice_number": { "type": "string" }, "note": { "type": "string" } } }, "xuUpdateMoneyTransactionShippingEtopRequest": { "type": "object", "properties": { "adds": { "type": "array", "items": { "type": "string", "format": "int64" } }, "bank_account": { "$ref": "#/definitions/baBankAccount" }, "deletes": { "type": "array", "items": { "type": "string", "format": "int64" } }, "id": { "type": "string", "format": "int64" }, "invoice_number": { "type": "string" }, "note": { "type": "string" }, "replace_all": { "type": "array", "items": { "type": "string", "format": "int64" } } } }, "xuUpdateMoneyTransactionShippingExternalRequest": { "type": "object", "properties": { "bank_account": { "$ref": "#/definitions/baBankAccount" }, "id": { "type": "string", "format": "int64" }, "invoice_number": { "type": "string" }, "note": { "type": "string" } } }, "xuUpdateShipmentPriceListPromotionRequest": { "type": "object", "properties": { "applied_rules": { "$ref": "#/definitions/xuPriceListPromotionAppliedRules" }, "connection_id": { "type": "string", "format": "int64" }, "date_from": { "type": "string", "format": "date-time" }, "date_to": { "type": "string", "format": "date-time" }, "description": { "type": "string" }, "id": { "type": "string", "format": "int64" }, "name": { "type": "string" }, "priority_point": { "type": "integer" }, "shipment_price_list_id": { "type": "string", "format": "int64" }, "status": { "$ref": "#/definitions/blStatus" } } }, "xuUpdateShipmentPriceListRequest": { "type": "object", "properties": { "description": { "type": "string" }, "id": { "type": "string", "format": "int64" }, "name": { "type": "string" } } }, "xuUpdateShipmentPricePriorityPointRequest": { "type": "object", "properties": { "id": { "type": "string", "format": "int64" }, "priority_point": { "type": "integer" } } }, "xuUpdateShipmentPriceRequest": { "type": "object", "properties": { "additional_fees": { "type": "array", "items": { "$ref": "#/definitions/xuAdditionalFee" } }, "custom_region_ids": { "type": "array", "items": { "type": "string", "format": "int64" } }, "custom_region_types": { "type": "array", "items": { "$ref": "#/definitions/ajCustomRegionRouteType" } }, "details": { "type": "array", "items": { "$ref": "#/definitions/xuPricingDetail" } }, "id": { "type": "string", "format": "int64" }, "name": { "type": "string" }, "priority_point": { "type": "integer" }, "province_types": { "type": "array", "items": { "$ref": "#/definitions/ajProvinceRouteType" } }, "region_types": { "type": "array", "items": { "$ref": "#/definitions/ajRegionRouteType" } }, "shipment_price_list_id": { "type": "string", "format": "int64" }, "shipment_service_id": { "type": "string", "format": "int64" }, "status": { "$ref": "#/definitions/blStatus" }, "urban_types": { "type": "array", "items": { "$ref": "#/definitions/ajUrbanType" } } } }, "xuUpdateShipmentPricesPriorityPointRequest": { "type": "object", "properties": { "shipment_prices": { "type": "array", "items": { "$ref": "#/definitions/xuUpdateShipmentPricePriorityPointRequest" } } } }, "xuUpdateShipmentServiceRequest": { "type": "object", "properties": { "connection_id": { "type": "string", "format": "int64" }, "description": { "type": "string" }, "ed_code": { "type": "string" }, "id": { "type": "string", "format": "int64" }, "image_url": { "type": "string" }, "name": { "type": "string" }, "other_condition": { "$ref": "#/definitions/xuOtherCondition" }, "service_ids": { "type": "array", "items": { "type": "string" } }, "status": { "$ref": "#/definitions/blStatus" } } }, "xuUpdateShipmentServicesAvailableLocationsRequest": { "type": "object", "properties": { "available_locations": { "type": "array", "items": { "$ref": "#/definitions/xuAvailableLocation" } }, "ids": { "type": "array", "items": { "type": "string", "format": "int64" } } } }, "xuUpdateShipmentServicesBlacklistLocationsRequest": { "type": "object", "properties": { "blacklist_locations": { "type": "array", "items": { "$ref": "#/definitions/xuBlacklistLocation" } }, "ids": { "type": "array", "items": { "type": "string", "format": "int64" } } } }, "xuUpdateShopInfoRequest": { "type": "object", "properties": { "id": { "type": "string", "format": "int64" }, "is_prior_money_transaction": { "type": "boolean" }, "money_transaction_rrule": { "description": "referrence: https://icalendar.org/rrule-tool.html\n", "type": "string" } } }, "xuUpdateShopShipmentPriceListRequest": { "type": "object", "properties": { "connection_id": { "type": "string", "format": "int64" }, "note": { "type": "string" }, "shipment_price_list_id": { "type": "string", "format": "int64" }, "shop_id": { "type": "string", "format": "int64" } } }, "xuUpdateTicketCommentRequest": { "type": "object", "properties": { "account_id": { "type": "string", "format": "int64" }, "id": { "type": "string", "format": "int64" }, "image_url": { "description": "**Deprecated:**\n", "type": "string" }, "image_urls": { "type": "array", "items": { "type": "string" } }, "message": { "type": "string" } } }, "xuUpdateTicketLabelRequest": { "type": "object", "properties": { "code": { "type": "string" }, "color": { "type": "string" }, "id": { "type": "string", "format": "int64" }, "name": { "type": "string" }, "parent_id": { "type": "string", "format": "int64" } } }, "xuUpdateTicketRefTicketIDRequest": { "type": "object", "properties": { "id": { "type": "string", "format": "int64" }, "ref_ticket_id": { "description": "Truyền lên 0 để xóa ref_ticket_id\n", "type": "string", "format": "int64" } } }, "xuUpdateUserRefRequest": { "type": "object", "properties": { "ref_aff": { "type": "string" }, "ref_sale": { "type": "string" }, "user_id": { "type": "string", "format": "int64" } } }, "xuUserResponse": { "type": "object", "properties": { "paging": { "$ref": "#/definitions/ktCursorPageInfo" }, "users": { "type": "array", "items": { "$ref": "#/definitions/baUser" } } } }, "xuUsersFilter": { "type": "object", "properties": { "created_at": { "$ref": "#/definitions/kfDate" }, "email": { "type": "string" }, "name": { "$ref": "#/definitions/kfFullTextSearch" }, "phone": { "type": "string" }, "ref_aff": { "type": "string" }, "ref_sale": { "type": "string" } } }, "yeBaseValueType": { "type": "string", "enum": [ "unknown", "cod_amount", "main_fee", "basket_value" ] }, "yiPaymentMethod": { "type": "string", "enum": [ "unknown", "cod", "bank", "other", "vtpay", "momo", "bankdeposit", "manual", "balance" ] }, "yjPriceModifierType": { "type": "string", "enum": [ "percentage", "fixed_amount" ] } }, "tags": [ { "name": "Account" }, { "name": "AccountUser" }, { "name": "Connection" }, { "name": "Credit" }, { "name": "Etelecom" }, { "name": "Fulfillment" }, { "name": "Invoice" }, { "name": "Location" }, { "name": "Misc" }, { "name": "MoneyTransaction" }, { "name": "Notification" }, { "name": "Order" }, { "name": "ShipmentPrice" }, { "name": "Shop" }, { "name": "Subscription" }, { "name": "Ticket" }, { "name": "Transaction" }, { "name": "User" } ] }