| error_code | message en | message vi |
|---|---|---|
| BAD_REQUEST | Bad request | - |
| UNAUTHORIZED | Invalid access token | - |
| FORBIDDEN | User does not have access permission | - |
| NOT_FOUND | Resource not found | Không tìm thấy tài nguyên |
| METHOD_NOT_ALLOWED | Method not allowed | Phương thức không được hỗ trợ |
| REQUEST_TIMEOUT | Request timeout | - |
| INVALID_PAYLOAD | Invalid request payload | - |
| INTERNAL_SERVER_ERROR | Internal server error | - |
| PRODUCTS_BY_OASIN_NOT_FOUND | The OASIN codes {oasin_list} do not exist | - |
| PRODUCTS_NOT_MAPPED_IN_WAREHOUSE | The OASIN codes {oasin_list} are not mapped to this warehouse code | Mã sản phẩm {oasin_list} chưa được gắn với mã kho yêu cầu |
| PRODUCTS_INACTIVE | The OASIN codes {oasin_list} must be in ACTIVE status to perform this action | Mã sản phẩm {oasin_list} phải ở trạng thái ACTIVE để thực hiện thao tác này |
| UNAUTHORIZED | Invalid token header. No credentials provided. | Token không hợp lệ. Bạn chưa cung cấp thông tin xác thực. |
| UNAUTHORIZED | Invalid token. User key not found. | Token không hợp lệ. Mã xác thực không được tìm thấy. |
| error_code | message en | message vi |
|---|---|---|
| DUPLICATE_BARCODE | Barcode already exists within the same business | Mã vạch đã tồn tại trong cùng doanh nghiệp |
| ALREADY_EXISTS | SKU already exists within the same business | SKU đã tồn tại trong cùng doanh nghiệp |
| NOT_FOUND | Brand not found | Không tìm thấy thương hiệu |
| PRODUCT_NOT_FOUND | Product not found | Không tìm thấy sản phẩm |
| PRODUCT_STATUS_NOT_NEW | Product must be in NEW status to perform this action | Sản phẩm phải ở trạng thái NEW để thực hiện thao tác này |
| PRODUCT_WAREHOUSE_CONFLICT | Product is already mapped with this warehouse | Sản phẩm đã được gán với kho này |
| PRODUCT_CANNOT_ASSIGN_TO_WAREHOUSE | Product cannot be assigned to warehouse because its status is not allowed | Không thể gán sản phẩm vào kho vì trạng thái không được phép |
| PRODUCT_NOT_IN_WAREHOUSE | Product does not exist in the specified warehouse | Sản phẩm không tồn tại trong kho được chỉ định |
| error_code | message en | message vi |
|---|---|---|
| DUPLICATE_PACKAGE_CODE | Duplicate package code values are not allowed within the same PO | Không được trùng giá trị mã kiện trong cùng một PO |
| DUPLICATE_OASIN_IN_ITEMS | Duplicate product values are not allowed within the same package | Không được trùng giá trị sản phẩm trong cùng một kiện hàng |
| PURCHASE_ORDER_ALREADY_EXISTS | merchant_po_reference already exists within the same business | merchant_po_reference đã tồn tại |
| PURCHASE_ORDER_NOT_FOUND | Purchase order not found | Không tìm thấy PO |
| PURCHASE_ORDER_STATUS_NOT_TRANSIT | Purchase order must be in TRANSIT status to perform this action | Purchase order phải ở trạng thái TRANSIT để thực hiện thao tác này |
| PURCHASE_ORDER_STATUS_NOT_COMPLETED | Purchase order must be in COMPLETED status to perform this action | Purchase order phải ở trạng thái COMPLETED để thực hiện thao tác này |
| PURCHASE_ORDER_ALREADY_EXISTS | Purchase order already exists | Purchase order đã tồn tại |
| error_code | message vi | message en |
|---|---|---|
| DUPLICATE_TRACKING_CODE | - | Tracking code already exists |
| INVALID_WAREHOUSE | - | Invalid warehouse code |
| PRODUCT_NOT_FOUND | Không tìm thấy sản phẩm | Product not found |
| SHIPMENT_NOT_FOUND | Mã đơn hàng không hợp lệ | Invalid tracking_code value |
| INVALID_PLATFORM | Nền tảng không hợp lệ, chỉ chấp nhận TIKI, LAZADA, SHOPEE, TIKTOK | Platform must be one of TIKI, LAZADA, SHOPEE, TIKTOK |
| INVALID_FULFILL_TYPE | Loại Fulfill không hợp lệ | Invalid fulfill type value |
| INVALID_CARRIER_CODE | Mã hãng vận chuyển không hợp lệ | Invalid carrier code value |
| DUPLICATE_PARTNER_TRACKING_CODE | Mã đơn nền tảng đã tồn tại trên hệ thống | Partner tracking code already exist |
| INVALID_ORDER_TYPE | Đơn hàng ưu tiên chỉ áp dụng cho nền tảng Lazada | PRIOR fulfill type is only supported for Lazada |
| DUPLICATE_OASIN | Không được trùng giá trị sản phẩm trong cùng một kiện hàng | Duplicate product values are not allowed within the same package |
| SHIPMENT_CANNOT_BE_CANCELLED | Đơn hàng không thể huỷ do đã ở trạng thái đã huỷ hoặc đang xử lý hoàn | Tracking code cannot be cancelled in its current status |
| DUPLICATE_COURIER_TRACKING_CODE | courier_tracking_code đã tồn tại trên hệ thống | courier_tracking_code already exist |
| INSUFFICIENT_STOCK | Mã sản phẩm {oasin_list} số lượng tồn kho không đủ | The OASIN codes {oasin_list} out of stock |
| PRODUCT_INVENTORIES_BY_OASIN_NOT_FOUND | - | The OASIN codes {oasin_list} product inventories do not exist |
| DUPLICATE_MERCHANT_TRACKING_CODE_REFERENCE | merchant_tracking_code_reference đã tồn tại trên hệ thống | merchant_tracking_code_reference already exist |
| BATCH_NOT_FOUND | - | Batch/Lot does not exist |
| EXPIRY_DATE_NOT_FOUND | - | Expiry date does not exist |
| EXPIRY_DATE_PERCENT_NOT_FOUND | - | Expiry date percent does not exist |
| INVALID_PAYLOAD | Chỉ được phép dùng một trong hai trường carrier_service_code hoặc courier_tracking_code | Only one of carrier_service_code or courier_tracking_code is allowed |
| BOX_DIMENSION_NOT_FOUND | Không tìm thấy cấu hình box. vui lòng vào OMS để cấu hình | Box dimension not found, please configure on OMS |
| BUSINESS_PHONE_NOT_FOUND | Không tìm thấy số điện thoại, vui lòng vào OMS để cấu hình | Business phone not found, please configure on OMS |
| error_code | message vi | message en |
|---|---|---|
| RETURN_SHIPMENT_NOT_FOUND | Không tìm thấy đơn hoàn trả | Return shipment not found |
| DUPLICATE_OASIN_IN_ITEMS | Không được trùng giá trị sản phẩm trong cùng một kiện hàng | Duplicate product values are not allowed within the same package |
| SHIPMENT_STATUS_NOT_ELIGIBLE_FOR_RETURN | Vận đơn phải ở Trạng thái vận đơn không đủ điều kiện để hoàn trả | Shipment status is not eligible for return. |
| RETURN_SHIPMENT_STATUS_NOT_WAITING_FOR_RECEIVE | Return tracking code phải ở trạng thái WAITING FOR RECEIVE để thực hiện thao tác này | Return shipment must be in WAITING_FOR_RECEIVE status to perform this action |
| SHIPMENT_NOT_FOUND | Vận đơn không tồn tại trong hệ thống | Tracking code does not exist |
| MERCHANT_RETURN_TRACKING_CODE_ALREADY_EXISTS | merchant_return_tracking_code_reference đã tồn tại | merchant_return_tracking_code_reference already exists within the same business |
| RETURN_COURIER_TRACKING_CODE_ALREADY_EXISTS | return_courier_tracking_code đã tồn tại | return_courier_tracking_code already exists in this warehouse |