Module Mua Bán B2B
RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) B2bCenter Product Publics
Primary Key: Page, Product
Page, ProductSchema
Id
numeric
Id
LastSync
string
Last Sync
Page
string
Page
PageName
string
Page Name
Product
string
Product
ProductName
string
Product Name
RefProduct
string
Ref Product
RefUnit
string
Ref Unit
Unit
string
Unit
UnitLabel
string
Unit Label
Groups
serialize
Groups
Categories
serialize
Categories
FeaturePicture
serialize
Feature Picture
Pictures
serialize
Pictures
UnitConversions
serialize
Unit Conversions
GET
Description: Get item or list paging by offset and limit parameters
Endpoint(s):
GET /v4/b2b-center/product/publics/{Page}-{Product}: for get exacly itemGET /v4/b2b-center/product/publics: for get multiple items
Parameters:
token: authentication token (Type:string)offset: get items from offset (Type:int)limit: get number of items (Type:int)id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type:string)filter_<Field>: filter items by like value (Type:string)left_<Field>: filter items by like left of value (Type:string)right_<Field>: filter items by like right of value (Type:string)eq_<Field>: filter items by equal value (Type:string)ne_<Field>: filter items by not equal value (Type:string)lt_<Field>: filter items by less than value (Type:string)le_<Field>: filter items by less than or equal value (Type:string)gt_<Field>: filter items by greater then value (Type:string)ge_<Field>: filter items by greater than or equal value (Type:string)
POST
Description: Create new items
Endpoint: POST /v4/b2b-center/product/publics
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
PUT
Description: Update items by ids
PUT /v4/b2b-center/product/publics/{Page}-{Product}: for put exacly itemPUT /v4/b2b-center/product/publics: for put multiple items
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
DELETE
Description: Delete items by ids
Endpoint(s):
DELETE /v4/b2b-center/product/publics/{Page}-{Product}: for delete exacly itemDELETE /v4/b2b-center/product/publics?id0=123&id1=456&...: for delete multiple items with id0 id1,...
RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) B2bCenter Product Maps
Primary Key: Product, Unit, RefProduct, RefUnit
Product, Unit, RefProduct, RefUnitSchema
AddonPurchaseCommissionRatio
string
Addon Purchase Commission Ratio
AddonSalesCommissionRatio
double
Addon Sales Commission Ratio
AdvancePurchaseCommissionRatio
string
Advance Purchase Commission Ratio
AdvanceSalesCommissionRatio
double
Advance Sales Commission Ratio
B2bProduct
string
B2b Product
B2bProductName
string
B2b Product Name
B2bSku
string
B2b Sku
B2bUnit
string
B2b Unit
B2bUnitLabel
string
B2b Unit Label
BasicPurchaseCommissionRatio
string
Basic Purchase Commission Ratio
BasicSalesCommissionRatio
double
Basic Sales Commission Ratio
Id
numeric
Id
LastPurchaseDiscountPercent
string
Last Purchase Discount Percent
LastPurchaseListedPrice
string
Last Purchase Listed Price
LastPurchasePrice
double
Last Purchase Price
LastPurchasePriceUpdated
string
Last Purchase Price Updated
LastSalesDiscountPercent
string
Last Sales Discount Percent
LastSalesListedPrice
string
Last Sales Listed Price
LastSalesPrice
double
Last Sales Price
LastSalesPriceUpdated
string
Last Sales Price Updated
ListedPurchasePrice
string
Listed Purchase Price
ListedSalesPrice
double
Listed Sales Price
Page
string
Page
PageName
string
Page Name
Product
string
Product
ProductName
string
Product Name
PurchasePrice
string
Purchase Price
RefPage
string
Ref Page
RefPageName
string
Ref Page Name
RefProduct
string
Ref Product
RefProductName
string
Ref Product Name
RefSku
string
Ref Sku
RefUnit
string
Ref Unit
RefUnitLabel
string
Ref Unit Label
SalesPrice
double
Sales Price
Sku
string
Sku
Unit
string
Unit
UnitLabel
string
Unit Label
Groups
serialize
Groups
Categories
serialize
Categories
FeaturePicture
serialize
Feature Picture
Pictures
serialize
Pictures
Units
serialize
Units
GET
Description: Get item or list paging by offset and limit parameters
Endpoint(s):
GET /v4/b2b-center/product/maps/{Product}-{Unit}-{RefProduct}-{RefUnit}: for get exacly itemGET /v4/b2b-center/product/maps: for get multiple items
Parameters:
token: authentication token (Type:string)offset: get items from offset (Type:int)limit: get number of items (Type:int)id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type:string)filter_<Field>: filter items by like value (Type:string)left_<Field>: filter items by like left of value (Type:string)right_<Field>: filter items by like right of value (Type:string)eq_<Field>: filter items by equal value (Type:string)ne_<Field>: filter items by not equal value (Type:string)lt_<Field>: filter items by less than value (Type:string)le_<Field>: filter items by less than or equal value (Type:string)gt_<Field>: filter items by greater then value (Type:string)ge_<Field>: filter items by greater than or equal value (Type:string)
POST
Description: Create new items
Endpoint: POST /v4/b2b-center/product/maps
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
PUT
Description: Update items by ids
PUT /v4/b2b-center/product/maps/{Product}-{Unit}-{RefProduct}-{RefUnit}: for put exacly itemPUT /v4/b2b-center/product/maps: for put multiple items
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
DELETE
Description: Delete items by ids
Endpoint(s):
DELETE /v4/b2b-center/product/maps/{Product}-{Unit}-{RefProduct}-{RefUnit}: for delete exacly itemDELETE /v4/b2b-center/product/maps?id0=123&id1=456&...: for delete multiple items with id0 id1,...
RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) B2bCenter Servers
Primary Key: Code
CodeSchema
AccMasterBook
string
Acc Master Book
Banner
serialize
Banner
Code
string
Code
CoreConnection
string
Core Connection
Created
datetime
Created
Description
string
Description
EndOfTheMonth
numeric
End Of The Month
EndOfTheQuarter
numeric
End Of The Quarter
EndOfTheYear
string
End Of The Year
EventUrl
string
Event Url
Id
numeric
Id
Logo
serialize
Logo
Name
string
Name
Permission
string
Permission
PlatformApiAccessToken
string
Platform Api Access Token
PlatformApiToken
string
Platform Api Token
PlatformApiUrl
string
Platform Api Url
PriceTable
string
Price Table
State
string
State
Summary
string
Summary
TagName
string
Tag Name
Type
string
Type
Weekend
numeric
Weekend
IsSubscribed
boolean
Is Subscribed
GET
Description: Get item or list paging by offset and limit parameters
Endpoint(s):
GET /v4/b2b-center/server/product/categories/{Code}: for get exacly itemGET /v4/b2b-center/server/product/categories: for get multiple items
Parameters:
token: authentication token (Type:string)offset: get items from offset (Type:int)limit: get number of items (Type:int)id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type:string)filter_<Field>: filter items by like value (Type:string)left_<Field>: filter items by like left of value (Type:string)right_<Field>: filter items by like right of value (Type:string)eq_<Field>: filter items by equal value (Type:string)ne_<Field>: filter items by not equal value (Type:string)lt_<Field>: filter items by less than value (Type:string)le_<Field>: filter items by less than or equal value (Type:string)gt_<Field>: filter items by greater then value (Type:string)ge_<Field>: filter items by greater than or equal value (Type:string)
POST
Description: Create new items
Endpoint: POST /v4/b2b-center/server/product/categories
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
PUT
Description: Update items by ids
PUT /v4/b2b-center/server/product/categories/{Code}: for put exacly itemPUT /v4/b2b-center/server/product/categories: for put multiple items
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
DELETE
Description: Delete items by ids
Endpoint(s):
DELETE /v4/b2b-center/server/product/categories/{Code}: for delete exacly itemDELETE /v4/b2b-center/server/product/categories?id0=123&id1=456&...: for delete multiple items with id0 id1,...
RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) B2bCenter Servers
Primary Key: Code
CodeSchema
AccMasterBook
string
Acc Master Book
Banner
serialize
Banner
Code
string
Code
CoreConnection
string
Core Connection
Created
datetime
Created
Description
string
Description
EndOfTheMonth
numeric
End Of The Month
EndOfTheQuarter
numeric
End Of The Quarter
EndOfTheYear
string
End Of The Year
EventUrl
string
Event Url
Id
numeric
Id
Logo
serialize
Logo
Name
string
Name
Permission
string
Permission
PlatformApiAccessToken
string
Platform Api Access Token
PlatformApiToken
string
Platform Api Token
PlatformApiUrl
string
Platform Api Url
PriceTable
string
Price Table
State
string
State
Summary
string
Summary
TagName
string
Tag Name
Type
string
Type
Weekend
numeric
Weekend
IsSubscribed
boolean
Is Subscribed
GET
Description: Get item or list paging by offset and limit parameters
Endpoint(s):
GET /v4/b2b-center/server/product/groups/{Code}: for get exacly itemGET /v4/b2b-center/server/product/groups: for get multiple items
Parameters:
token: authentication token (Type:string)offset: get items from offset (Type:int)limit: get number of items (Type:int)id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type:string)filter_<Field>: filter items by like value (Type:string)left_<Field>: filter items by like left of value (Type:string)right_<Field>: filter items by like right of value (Type:string)eq_<Field>: filter items by equal value (Type:string)ne_<Field>: filter items by not equal value (Type:string)lt_<Field>: filter items by less than value (Type:string)le_<Field>: filter items by less than or equal value (Type:string)gt_<Field>: filter items by greater then value (Type:string)ge_<Field>: filter items by greater than or equal value (Type:string)
POST
Description: Create new items
Endpoint: POST /v4/b2b-center/server/product/groups
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
PUT
Description: Update items by ids
PUT /v4/b2b-center/server/product/groups/{Code}: for put exacly itemPUT /v4/b2b-center/server/product/groups: for put multiple items
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
DELETE
Description: Delete items by ids
Endpoint(s):
DELETE /v4/b2b-center/server/product/groups/{Code}: for delete exacly itemDELETE /v4/b2b-center/server/product/groups?id0=123&id1=456&...: for delete multiple items with id0 id1,...
RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) B2bCenter Servers
Primary Key: Code
CodeSchema
AccMasterBook
string
Acc Master Book
Banner
serialize
Banner
Code
string
Code
CoreConnection
string
Core Connection
Created
datetime
Created
Description
string
Description
EndOfTheMonth
numeric
End Of The Month
EndOfTheQuarter
numeric
End Of The Quarter
EndOfTheYear
string
End Of The Year
EventUrl
string
Event Url
Id
numeric
Id
Logo
serialize
Logo
Name
string
Name
Permission
string
Permission
PlatformApiAccessToken
string
Platform Api Access Token
PlatformApiToken
string
Platform Api Token
PlatformApiUrl
string
Platform Api Url
PriceTable
string
Price Table
State
string
State
Summary
string
Summary
TagName
string
Tag Name
Type
string
Type
Weekend
numeric
Weekend
IsSubscribed
boolean
Is Subscribed
GET
Description: Get item or list paging by offset and limit parameters
Endpoint(s):
GET /v4/b2b-center/server/product/units/{Code}: for get exacly itemGET /v4/b2b-center/server/product/units: for get multiple items
Parameters:
token: authentication token (Type:string)offset: get items from offset (Type:int)limit: get number of items (Type:int)id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type:string)filter_<Field>: filter items by like value (Type:string)left_<Field>: filter items by like left of value (Type:string)right_<Field>: filter items by like right of value (Type:string)eq_<Field>: filter items by equal value (Type:string)ne_<Field>: filter items by not equal value (Type:string)lt_<Field>: filter items by less than value (Type:string)le_<Field>: filter items by less than or equal value (Type:string)gt_<Field>: filter items by greater then value (Type:string)ge_<Field>: filter items by greater than or equal value (Type:string)
POST
Description: Create new items
Endpoint: POST /v4/b2b-center/server/product/units
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
PUT
Description: Update items by ids
PUT /v4/b2b-center/server/product/units/{Code}: for put exacly itemPUT /v4/b2b-center/server/product/units: for put multiple items
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
DELETE
Description: Delete items by ids
Endpoint(s):
DELETE /v4/b2b-center/server/product/units/{Code}: for delete exacly itemDELETE /v4/b2b-center/server/product/units?id0=123&id1=456&...: for delete multiple items with id0 id1,...
RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) B2bCenter Servers
Primary Key: Code
CodeSchema
AccMasterBook
string
Acc Master Book
Banner
serialize
Banner
Code
string
Code
CoreConnection
string
Core Connection
Created
datetime
Created
Description
string
Description
EndOfTheMonth
numeric
End Of The Month
EndOfTheQuarter
numeric
End Of The Quarter
EndOfTheYear
string
End Of The Year
EventUrl
string
Event Url
Id
numeric
Id
Logo
serialize
Logo
Name
string
Name
Permission
string
Permission
PlatformApiAccessToken
string
Platform Api Access Token
PlatformApiToken
string
Platform Api Token
PlatformApiUrl
string
Platform Api Url
PriceTable
string
Price Table
State
string
State
Summary
string
Summary
TagName
string
Tag Name
Type
string
Type
Weekend
numeric
Weekend
IsSubscribed
boolean
Is Subscribed
GET
Description: Get item or list paging by offset and limit parameters
Endpoint(s):
GET /v4/b2b-center/server/products/{Code}: for get exacly itemGET /v4/b2b-center/server/products: for get multiple items
Parameters:
token: authentication token (Type:string)offset: get items from offset (Type:int)limit: get number of items (Type:int)id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type:string)filter_<Field>: filter items by like value (Type:string)left_<Field>: filter items by like left of value (Type:string)right_<Field>: filter items by like right of value (Type:string)eq_<Field>: filter items by equal value (Type:string)ne_<Field>: filter items by not equal value (Type:string)lt_<Field>: filter items by less than value (Type:string)le_<Field>: filter items by less than or equal value (Type:string)gt_<Field>: filter items by greater then value (Type:string)ge_<Field>: filter items by greater than or equal value (Type:string)
POST
Description: Create new items
Endpoint: POST /v4/b2b-center/server/products
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
PUT
Description: Update items by ids
PUT /v4/b2b-center/server/products/{Code}: for put exacly itemPUT /v4/b2b-center/server/products: for put multiple items
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
DELETE
Description: Delete items by ids
Endpoint(s):
DELETE /v4/b2b-center/server/products/{Code}: for delete exacly itemDELETE /v4/b2b-center/server/products?id0=123&id1=456&...: for delete multiple items with id0 id1,...
RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) B2bCenter Servers
Primary Key: Code
CodeSchema
AccMasterBook
string
Acc Master Book
Banner
serialize
Banner
Code
string
Code
CoreConnection
string
Core Connection
Created
datetime
Created
Description
string
Description
EndOfTheMonth
numeric
End Of The Month
EndOfTheQuarter
numeric
End Of The Quarter
EndOfTheYear
string
End Of The Year
EventUrl
string
Event Url
Id
numeric
Id
Logo
serialize
Logo
Name
string
Name
Permission
string
Permission
PlatformApiAccessToken
string
Platform Api Access Token
PlatformApiToken
string
Platform Api Token
PlatformApiUrl
string
Platform Api Url
PriceTable
string
Price Table
State
string
State
Summary
string
Summary
TagName
string
Tag Name
Type
string
Type
Weekend
numeric
Weekend
IsSubscribed
boolean
Is Subscribed
GET
Description: Get item or list paging by offset and limit parameters
Endpoint(s):
GET /v4/b2b-center/server/pages/{Code}: for get exacly itemGET /v4/b2b-center/server/pages: for get multiple items
Parameters:
token: authentication token (Type:string)offset: get items from offset (Type:int)limit: get number of items (Type:int)id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type:string)filter_<Field>: filter items by like value (Type:string)left_<Field>: filter items by like left of value (Type:string)right_<Field>: filter items by like right of value (Type:string)eq_<Field>: filter items by equal value (Type:string)ne_<Field>: filter items by not equal value (Type:string)lt_<Field>: filter items by less than value (Type:string)le_<Field>: filter items by less than or equal value (Type:string)gt_<Field>: filter items by greater then value (Type:string)ge_<Field>: filter items by greater than or equal value (Type:string)
POST
Description: Create new items
Endpoint: POST /v4/b2b-center/server/pages
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
PUT
Description: Update items by ids
PUT /v4/b2b-center/server/pages/{Code}: for put exacly itemPUT /v4/b2b-center/server/pages: for put multiple items
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
DELETE
Description: Delete items by ids
Endpoint(s):
DELETE /v4/b2b-center/server/pages/{Code}: for delete exacly itemDELETE /v4/b2b-center/server/pages?id0=123&id1=456&...: for delete multiple items with id0 id1,...
RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) B2bCenter Orders
Primary Key: Code
CodeSchema
Amount
string
Amount
Attachments
string
Attachments
B2bOrderCode
string
B2b Order Code
B2bType
string
B2b Type
Branch
string
Branch
Code
string
Code
Creator
string
Creator
DateOfCreated
string
Date Of Created
DateOfOrder
string
Date Of Order
DateOfReceived
string
Date Of Received
DeliveryAddress
string
Delivery Address
DirectReceiver
string
Direct Receiver
Id
numeric
Id
LastUpdated
string
Last Updated
LastUpdatedBy
string
Last Updated By
LastUpdatedByName
string
Last Updated By Name
Note
string
Note
Permission
string
Permission
PriceTable
string
Price Table
PurchaseContact
string
Purchase Contact
PurchaseContactAddress
string
Purchase Contact Address
PurchaseContactEmail
string
Purchase Contact Email
PurchaseContactIdentifiedNumber
string
Purchase Contact Identified Number
PurchaseContactName
string
Purchase Contact Name
PurchaseContactPhone
string
Purchase Contact Phone
PurchaseObject
string
Purchase Object
PurchaseObjectAddress
string
Purchase Object Address
PurchaseObjectBankCode
string
Purchase Object Bank Code
PurchaseObjectBankName
string
Purchase Object Bank Name
PurchaseObjectEmail
string
Purchase Object Email
PurchaseObjectIdentifiedNumber
string
Purchase Object Identified Number
PurchaseObjectName
string
Purchase Object Name
PurchaseObjectPhone
string
Purchase Object Phone
PurchaseObjectTaxCode
string
Purchase Object Tax Code
PurchaseOrderCode
string
Purchase Order Code
PurchaseOrderStaff
string
Purchase Order Staff
PurchasePage
string
Purchase Page
PurchasePageName
string
Purchase Page Name
PurchaseRecipient
string
Purchase Recipient
PurchaseTax
string
Purchase Tax
PurchaseTaxAuthority
string
Purchase Tax Authority
PurchaseTaxAuthorityName
string
Purchase Tax Authority Name
PurchaseTaxNo
numeric
Purchase Tax No
PurchaseTaxPdf
string
Purchase Tax Pdf
PurchaseTaxQueryCode
string
Purchase Tax Query Code
PurchaseTaxQueryLink
string
Purchase Tax Query Link
PurchaseTaxReleaseDate
string
Purchase Tax Release Date
PurchaseTaxSupplier
string
Purchase Tax Supplier
PurchaseTaxSupplierName
string
Purchase Tax Supplier Name
PurchaseTaxSymbol
string
Purchase Tax Symbol
PurchaseTaxXml
string
Purchase Tax Xml
PurchaseType
string
Purchase Type
RequireInvoice
numeric
Require Invoice
SalesContact
string
Sales Contact
SalesContactAddress
string
Sales Contact Address
SalesContactEmail
string
Sales Contact Email
SalesContactIdentifiedNumber
string
Sales Contact Identified Number
SalesContactName
string
Sales Contact Name
SalesContactPhone
string
Sales Contact Phone
SalesObject
string
Sales Object
SalesObjectAddress
string
Sales Object Address
SalesObjectBankCode
string
Sales Object Bank Code
SalesObjectBankName
string
Sales Object Bank Name
SalesObjectEmail
string
Sales Object Email
SalesObjectIdentifiedNumber
string
Sales Object Identified Number
SalesObjectName
string
Sales Object Name
SalesObjectPhone
string
Sales Object Phone
SalesObjectTaxCode
string
Sales Object Tax Code
SalesOrderCode
string
Sales Order Code
SalesOrderStaff
string
Sales Order Staff
SalesPage
string
Sales Page
SalesPageName
string
Sales Page Name
SalesRecipient
string
Sales Recipient
SalesType
string
Sales Type
State
string
State
SubNote
string
Sub Note
Thread
string
Thread
Title
string
Title
TotalMoney
string
Total Money
Type
string
Type
GET
Description: Get item or list paging by offset and limit parameters
Endpoint(s):
GET /v4/b2b-center/orders/{Code}: for get exacly itemGET /v4/b2b-center/orders: for get multiple items
Parameters:
token: authentication token (Type:string)offset: get items from offset (Type:int)limit: get number of items (Type:int)id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type:string)filter_<Field>: filter items by like value (Type:string)left_<Field>: filter items by like left of value (Type:string)right_<Field>: filter items by like right of value (Type:string)eq_<Field>: filter items by equal value (Type:string)ne_<Field>: filter items by not equal value (Type:string)lt_<Field>: filter items by less than value (Type:string)le_<Field>: filter items by less than or equal value (Type:string)gt_<Field>: filter items by greater then value (Type:string)ge_<Field>: filter items by greater than or equal value (Type:string)
POST
Description: Create new items
Endpoint: POST /v4/b2b-center/orders
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
PUT
Description: Update items by ids
PUT /v4/b2b-center/orders/{Code}: for put exacly itemPUT /v4/b2b-center/orders: for put multiple items
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
DELETE
Description: Delete items by ids
Endpoint(s):
DELETE /v4/b2b-center/orders/{Code}: for delete exacly itemDELETE /v4/b2b-center/orders?id0=123&id1=456&...: for delete multiple items with id0 id1,...
RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) B2bCenter PurchaseOrders
Primary Key: Code
CodeSchema
Amount
string
Amount
Attachments
serialize
Attachments
B2bOrderCode
string
B2b Order Code
B2bType
string
B2b Type
Branch
string
Branch
Code
string
Code
Creator
string
Creator
DateOfCreated
datetime
Date Of Created
DateOfOrder
datetime
Date Of Order
DateOfReceived
datetime
Date Of Received
DeliveryAddress
string
Delivery Address
DirectReceiver
string
Direct Receiver
Id
numeric
Id
LastUpdated
string
Last Updated
LastUpdatedBy
string
Last Updated By
LastUpdatedByName
string
Last Updated By Name
Note
string
Note
Permission
string
Permission
PriceTable
string
Price Table
PurchaseContact
string
Purchase Contact
PurchaseContactAddress
string
Purchase Contact Address
PurchaseContactEmail
string
Purchase Contact Email
PurchaseContactIdentifiedNumber
string
Purchase Contact Identified Number
PurchaseContactName
string
Purchase Contact Name
PurchaseContactPhone
string
Purchase Contact Phone
PurchaseObject
string
Purchase Object
PurchaseObjectAddress
string
Purchase Object Address
PurchaseObjectBankCode
string
Purchase Object Bank Code
PurchaseObjectBankName
string
Purchase Object Bank Name
PurchaseObjectEmail
string
Purchase Object Email
PurchaseObjectIdentifiedNumber
string
Purchase Object Identified Number
PurchaseObjectName
string
Purchase Object Name
PurchaseObjectPhone
string
Purchase Object Phone
PurchaseObjectTaxCode
string
Purchase Object Tax Code
PurchaseOrderCode
string
Purchase Order Code
PurchaseOrderStaff
string
Purchase Order Staff
PurchasePage
string
Purchase Page
PurchasePageName
string
Purchase Page Name
PurchaseRecipient
string
Purchase Recipient
PurchaseTax
string
Purchase Tax
PurchaseTaxAuthority
string
Purchase Tax Authority
PurchaseTaxAuthorityName
string
Purchase Tax Authority Name
PurchaseTaxNo
numeric
Purchase Tax No
PurchaseTaxPdf
serialize
Purchase Tax Pdf
PurchaseTaxQueryCode
string
Purchase Tax Query Code
PurchaseTaxQueryLink
string
Purchase Tax Query Link
PurchaseTaxReleaseDate
datetime
Purchase Tax Release Date
PurchaseTaxSupplier
string
Purchase Tax Supplier
PurchaseTaxSupplierName
string
Purchase Tax Supplier Name
PurchaseTaxSymbol
string
Purchase Tax Symbol
PurchaseTaxXml
serialize
Purchase Tax Xml
PurchaseType
string
Purchase Type
RequireInvoice
boolean
Require Invoice
SalesContact
string
Sales Contact
SalesContactAddress
string
Sales Contact Address
SalesContactEmail
string
Sales Contact Email
SalesContactIdentifiedNumber
string
Sales Contact Identified Number
SalesContactName
string
Sales Contact Name
SalesContactPhone
string
Sales Contact Phone
SalesObject
string
Sales Object
SalesObjectAddress
string
Sales Object Address
SalesObjectBankCode
string
Sales Object Bank Code
SalesObjectBankName
string
Sales Object Bank Name
SalesObjectEmail
string
Sales Object Email
SalesObjectIdentifiedNumber
string
Sales Object Identified Number
SalesObjectName
string
Sales Object Name
SalesObjectPhone
string
Sales Object Phone
SalesObjectTaxCode
string
Sales Object Tax Code
SalesOrderCode
string
Sales Order Code
SalesOrderStaff
string
Sales Order Staff
SalesPage
string
Sales Page
SalesPageName
string
Sales Page Name
SalesRecipient
string
Sales Recipient
SalesType
string
Sales Type
State
string
State
SubNote
string
Sub Note
Thread
string
Thread
Title
string
Title
TotalMoney
string
Total Money
Type
string
Type
GET
Description: Get item or list paging by offset and limit parameters
Endpoint(s):
GET /v4/b2b-center/purchase/orders/{Code}: for get exacly itemGET /v4/b2b-center/purchase/orders: for get multiple items
Parameters:
token: authentication token (Type:string)offset: get items from offset (Type:int)limit: get number of items (Type:int)id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type:string)filter_<Field>: filter items by like value (Type:string)left_<Field>: filter items by like left of value (Type:string)right_<Field>: filter items by like right of value (Type:string)eq_<Field>: filter items by equal value (Type:string)ne_<Field>: filter items by not equal value (Type:string)lt_<Field>: filter items by less than value (Type:string)le_<Field>: filter items by less than or equal value (Type:string)gt_<Field>: filter items by greater then value (Type:string)ge_<Field>: filter items by greater than or equal value (Type:string)
POST
Description: Create new items
Endpoint: POST /v4/b2b-center/purchase/orders
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
PUT
Description: Update items by ids
PUT /v4/b2b-center/purchase/orders/{Code}: for put exacly itemPUT /v4/b2b-center/purchase/orders: for put multiple items
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
DELETE
Description: Delete items by ids
Endpoint(s):
DELETE /v4/b2b-center/purchase/orders/{Code}: for delete exacly itemDELETE /v4/b2b-center/purchase/orders?id0=123&id1=456&...: for delete multiple items with id0 id1,...
RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) B2bCenter SalesOrders
Primary Key: Code
CodeSchema
Amount
string
Amount
Attachments
serialize
Attachments
B2bOrderCode
string
B2b Order Code
B2bType
string
B2b Type
Branch
string
Branch
Code
string
Code
Creator
string
Creator
DateOfCreated
datetime
Date Of Created
DateOfOrder
datetime
Date Of Order
DateOfReceived
datetime
Date Of Received
DeliveryAddress
string
Delivery Address
DirectReceiver
string
Direct Receiver
Id
numeric
Id
LastUpdated
string
Last Updated
LastUpdatedBy
string
Last Updated By
LastUpdatedByName
string
Last Updated By Name
Note
string
Note
Permission
string
Permission
PriceTable
string
Price Table
PurchaseContact
string
Purchase Contact
PurchaseContactAddress
string
Purchase Contact Address
PurchaseContactEmail
string
Purchase Contact Email
PurchaseContactIdentifiedNumber
string
Purchase Contact Identified Number
PurchaseContactName
string
Purchase Contact Name
PurchaseContactPhone
string
Purchase Contact Phone
PurchaseObject
string
Purchase Object
PurchaseObjectAddress
string
Purchase Object Address
PurchaseObjectBankCode
string
Purchase Object Bank Code
PurchaseObjectBankName
string
Purchase Object Bank Name
PurchaseObjectEmail
string
Purchase Object Email
PurchaseObjectIdentifiedNumber
string
Purchase Object Identified Number
PurchaseObjectName
string
Purchase Object Name
PurchaseObjectPhone
string
Purchase Object Phone
PurchaseObjectTaxCode
string
Purchase Object Tax Code
PurchaseOrderCode
string
Purchase Order Code
PurchaseOrderStaff
string
Purchase Order Staff
PurchasePage
string
Purchase Page
PurchasePageName
string
Purchase Page Name
PurchaseRecipient
string
Purchase Recipient
PurchaseTax
string
Purchase Tax
PurchaseTaxAuthority
string
Purchase Tax Authority
PurchaseTaxAuthorityName
string
Purchase Tax Authority Name
PurchaseTaxNo
numeric
Purchase Tax No
PurchaseTaxPdf
string
Purchase Tax Pdf
PurchaseTaxQueryCode
string
Purchase Tax Query Code
PurchaseTaxQueryLink
string
Purchase Tax Query Link
PurchaseTaxReleaseDate
string
Purchase Tax Release Date
PurchaseTaxSupplier
string
Purchase Tax Supplier
PurchaseTaxSupplierName
string
Purchase Tax Supplier Name
PurchaseTaxSymbol
string
Purchase Tax Symbol
PurchaseTaxXml
string
Purchase Tax Xml
PurchaseType
string
Purchase Type
RequireInvoice
boolean
Require Invoice
SalesContact
string
Sales Contact
SalesContactAddress
string
Sales Contact Address
SalesContactEmail
string
Sales Contact Email
SalesContactIdentifiedNumber
string
Sales Contact Identified Number
SalesContactName
string
Sales Contact Name
SalesContactPhone
string
Sales Contact Phone
SalesObject
string
Sales Object
SalesObjectAddress
string
Sales Object Address
SalesObjectBankCode
string
Sales Object Bank Code
SalesObjectBankName
string
Sales Object Bank Name
SalesObjectEmail
string
Sales Object Email
SalesObjectIdentifiedNumber
string
Sales Object Identified Number
SalesObjectName
string
Sales Object Name
SalesObjectPhone
string
Sales Object Phone
SalesObjectTaxCode
string
Sales Object Tax Code
SalesOrderCode
string
Sales Order Code
SalesOrderStaff
string
Sales Order Staff
SalesPage
string
Sales Page
SalesPageName
string
Sales Page Name
SalesRecipient
string
Sales Recipient
SalesType
string
Sales Type
State
string
State
SubNote
string
Sub Note
Thread
string
Thread
Title
string
Title
TotalMoney
string
Total Money
Type
string
Type
GET
Description: Get item or list paging by offset and limit parameters
Endpoint(s):
GET /v4/b2b-center/sales/orders/{Code}: for get exacly itemGET /v4/b2b-center/sales/orders: for get multiple items
Parameters:
token: authentication token (Type:string)offset: get items from offset (Type:int)limit: get number of items (Type:int)id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type:string)filter_<Field>: filter items by like value (Type:string)left_<Field>: filter items by like left of value (Type:string)right_<Field>: filter items by like right of value (Type:string)eq_<Field>: filter items by equal value (Type:string)ne_<Field>: filter items by not equal value (Type:string)lt_<Field>: filter items by less than value (Type:string)le_<Field>: filter items by less than or equal value (Type:string)gt_<Field>: filter items by greater then value (Type:string)ge_<Field>: filter items by greater than or equal value (Type:string)
POST
Description: Create new items
Endpoint: POST /v4/b2b-center/sales/orders
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
PUT
Description: Update items by ids
PUT /v4/b2b-center/sales/orders/{Code}: for put exacly itemPUT /v4/b2b-center/sales/orders: for put multiple items
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
DELETE
Description: Delete items by ids
Endpoint(s):
DELETE /v4/b2b-center/sales/orders/{Code}: for delete exacly itemDELETE /v4/b2b-center/sales/orders?id0=123&id1=456&...: for delete multiple items with id0 id1,...
RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) B2bCenter Sales Commission Config Basics
Primary Key: Code
CodeSchema
Code
string
Code
Cycle
string
Cycle
DateOfEnd
datetime
Date Of End
DateOfStart
datetime
Date Of Start
Description
string
Description
Id
numeric
Id
Page
string
Page
PageName
string
Page Name
Signature
string
Signature
State
string
State
Title
string
Title
GET
Description: Get item or list paging by offset and limit parameters
Endpoint(s):
GET /v4/b2b-center/sales/commission/config/basics/{Code}: for get exacly itemGET /v4/b2b-center/sales/commission/config/basics: for get multiple items
Parameters:
token: authentication token (Type:string)offset: get items from offset (Type:int)limit: get number of items (Type:int)id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type:string)filter_<Field>: filter items by like value (Type:string)left_<Field>: filter items by like left of value (Type:string)right_<Field>: filter items by like right of value (Type:string)eq_<Field>: filter items by equal value (Type:string)ne_<Field>: filter items by not equal value (Type:string)lt_<Field>: filter items by less than value (Type:string)le_<Field>: filter items by less than or equal value (Type:string)gt_<Field>: filter items by greater then value (Type:string)ge_<Field>: filter items by greater than or equal value (Type:string)
POST
Description: Create new items
Endpoint: POST /v4/b2b-center/sales/commission/config/basics
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
PUT
Description: Update items by ids
PUT /v4/b2b-center/sales/commission/config/basics/{Code}: for put exacly itemPUT /v4/b2b-center/sales/commission/config/basics: for put multiple items
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
DELETE
Description: Delete items by ids
Endpoint(s):
DELETE /v4/b2b-center/sales/commission/config/basics/{Code}: for delete exacly itemDELETE /v4/b2b-center/sales/commission/config/basics?id0=123&id1=456&...: for delete multiple items with id0 id1,...
RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) B2bCenter Sales Commission Config Advances
Primary Key: Code
CodeSchema
Code
string
Code
Cycle
string
Cycle
DateOfEnd
datetime
Date Of End
DateOfStart
datetime
Date Of Start
Description
string
Description
Id
numeric
Id
Page
string
Page
PageName
string
Page Name
Signature
string
Signature
State
string
State
Title
string
Title
GET
Description: Get item or list paging by offset and limit parameters
Endpoint(s):
GET /v4/b2b-center/sales/commission/config/advances/{Code}: for get exacly itemGET /v4/b2b-center/sales/commission/config/advances: for get multiple items
Parameters:
token: authentication token (Type:string)offset: get items from offset (Type:int)limit: get number of items (Type:int)id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type:string)filter_<Field>: filter items by like value (Type:string)left_<Field>: filter items by like left of value (Type:string)right_<Field>: filter items by like right of value (Type:string)eq_<Field>: filter items by equal value (Type:string)ne_<Field>: filter items by not equal value (Type:string)lt_<Field>: filter items by less than value (Type:string)le_<Field>: filter items by less than or equal value (Type:string)gt_<Field>: filter items by greater then value (Type:string)ge_<Field>: filter items by greater than or equal value (Type:string)
POST
Description: Create new items
Endpoint: POST /v4/b2b-center/sales/commission/config/advances
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
PUT
Description: Update items by ids
PUT /v4/b2b-center/sales/commission/config/advances/{Code}: for put exacly itemPUT /v4/b2b-center/sales/commission/config/advances: for put multiple items
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
DELETE
Description: Delete items by ids
Endpoint(s):
DELETE /v4/b2b-center/sales/commission/config/advances/{Code}: for delete exacly itemDELETE /v4/b2b-center/sales/commission/config/advances?id0=123&id1=456&...: for delete multiple items with id0 id1,...
RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) B2bCenter Sales Commission Config Addons
Primary Key: Code
CodeSchema
Code
string
Code
Cycle
string
Cycle
DateOfEnd
datetime
Date Of End
DateOfStart
datetime
Date Of Start
Description
string
Description
Id
numeric
Id
Page
string
Page
PageName
string
Page Name
Signature
string
Signature
State
string
State
Title
string
Title
GET
Description: Get item or list paging by offset and limit parameters
Endpoint(s):
GET /v4/b2b-center/sales/commission/config/addons/{Code}: for get exacly itemGET /v4/b2b-center/sales/commission/config/addons: for get multiple items
Parameters:
token: authentication token (Type:string)offset: get items from offset (Type:int)limit: get number of items (Type:int)id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type:string)filter_<Field>: filter items by like value (Type:string)left_<Field>: filter items by like left of value (Type:string)right_<Field>: filter items by like right of value (Type:string)eq_<Field>: filter items by equal value (Type:string)ne_<Field>: filter items by not equal value (Type:string)lt_<Field>: filter items by less than value (Type:string)le_<Field>: filter items by less than or equal value (Type:string)gt_<Field>: filter items by greater then value (Type:string)ge_<Field>: filter items by greater than or equal value (Type:string)
POST
Description: Create new items
Endpoint: POST /v4/b2b-center/sales/commission/config/addons
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
PUT
Description: Update items by ids
PUT /v4/b2b-center/sales/commission/config/addons/{Code}: for put exacly itemPUT /v4/b2b-center/sales/commission/config/addons: for put multiple items
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
DELETE
Description: Delete items by ids
Endpoint(s):
DELETE /v4/b2b-center/sales/commission/config/addons/{Code}: for delete exacly itemDELETE /v4/b2b-center/sales/commission/config/addons?id0=123&id1=456&...: for delete multiple items with id0 id1,...
RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) B2bCenter Sales Partners
Primary Key: Page, RefPage, Contact
Page, RefPage, ContactSchema
Address
string
Address
Contact
string
Contact
string
Id
numeric
Id
Name
string
Name
Page
string
Page
PageName
string
Page Name
Phone
string
Phone
RefPage
string
Ref Page
RefPageName
string
Ref Page Name
Type
string
Type
Avatar
serialize
Avatar
GET
Description: Get item or list paging by offset and limit parameters
Endpoint(s):
GET /v4/b2b-center/sales/partners/{Page}-{RefPage}-{Contact}: for get exacly itemGET /v4/b2b-center/sales/partners: for get multiple items
Parameters:
token: authentication token (Type:string)offset: get items from offset (Type:int)limit: get number of items (Type:int)id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type:string)filter_<Field>: filter items by like value (Type:string)left_<Field>: filter items by like left of value (Type:string)right_<Field>: filter items by like right of value (Type:string)eq_<Field>: filter items by equal value (Type:string)ne_<Field>: filter items by not equal value (Type:string)lt_<Field>: filter items by less than value (Type:string)le_<Field>: filter items by less than or equal value (Type:string)gt_<Field>: filter items by greater then value (Type:string)ge_<Field>: filter items by greater than or equal value (Type:string)
POST
Description: Create new items
Endpoint: POST /v4/b2b-center/sales/partners
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
PUT
Description: Update items by ids
PUT /v4/b2b-center/sales/partners/{Page}-{RefPage}-{Contact}: for put exacly itemPUT /v4/b2b-center/sales/partners: for put multiple items
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
DELETE
Description: Delete items by ids
Endpoint(s):
DELETE /v4/b2b-center/sales/partners/{Page}-{RefPage}-{Contact}: for delete exacly itemDELETE /v4/b2b-center/sales/partners?id0=123&id1=456&...: for delete multiple items with id0 id1,...
RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) B2bCenter Sales Customers
Primary Key: Page, RefPage, Contact, Type
Page, RefPage, Contact, TypeSchema
Address
string
Address
Contact
string
Contact
string
Id
numeric
Id
Name
string
Name
Page
string
Page
PageName
string
Page Name
Phone
string
Phone
RefPage
string
Ref Page
RefPageName
string
Ref Page Name
Type
string
Type
Avatar
serialize
Avatar
GET
Description: Get item or list paging by offset and limit parameters
Endpoint(s):
GET /v4/b2b-center/sales/customers/{Page}-{RefPage}-{Contact}-{Type}: for get exacly itemGET /v4/b2b-center/sales/customers: for get multiple items
Parameters:
token: authentication token (Type:string)offset: get items from offset (Type:int)limit: get number of items (Type:int)id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type:string)filter_<Field>: filter items by like value (Type:string)left_<Field>: filter items by like left of value (Type:string)right_<Field>: filter items by like right of value (Type:string)eq_<Field>: filter items by equal value (Type:string)ne_<Field>: filter items by not equal value (Type:string)lt_<Field>: filter items by less than value (Type:string)le_<Field>: filter items by less than or equal value (Type:string)gt_<Field>: filter items by greater then value (Type:string)ge_<Field>: filter items by greater than or equal value (Type:string)
POST
Description: Create new items
Endpoint: POST /v4/b2b-center/sales/customers
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
PUT
Description: Update items by ids
PUT /v4/b2b-center/sales/customers/{Page}-{RefPage}-{Contact}-{Type}: for put exacly itemPUT /v4/b2b-center/sales/customers: for put multiple items
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
DELETE
Description: Delete items by ids
Endpoint(s):
DELETE /v4/b2b-center/sales/customers/{Page}-{RefPage}-{Contact}-{Type}: for delete exacly itemDELETE /v4/b2b-center/sales/customers?id0=123&id1=456&...: for delete multiple items with id0 id1,...
RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) B2bCenter Purchase Suppliers
Primary Key: Page, RefPage, Contact, Type
Page, RefPage, Contact, TypeSchema
Address
string
Address
Contact
string
Contact
string
Id
numeric
Id
Name
string
Name
Page
string
Page
PageName
string
Page Name
Phone
string
Phone
RefPage
string
Ref Page
RefPageName
string
Ref Page Name
Type
string
Type
Avatar
serialize
Avatar
GET
Description: Get item or list paging by offset and limit parameters
Endpoint(s):
GET /v4/b2b-center/purchase/suppliers/{Page}-{RefPage}-{Contact}-{Type}: for get exacly itemGET /v4/b2b-center/purchase/suppliers: for get multiple items
Parameters:
token: authentication token (Type:string)offset: get items from offset (Type:int)limit: get number of items (Type:int)id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type:string)filter_<Field>: filter items by like value (Type:string)left_<Field>: filter items by like left of value (Type:string)right_<Field>: filter items by like right of value (Type:string)eq_<Field>: filter items by equal value (Type:string)ne_<Field>: filter items by not equal value (Type:string)lt_<Field>: filter items by less than value (Type:string)le_<Field>: filter items by less than or equal value (Type:string)gt_<Field>: filter items by greater then value (Type:string)ge_<Field>: filter items by greater than or equal value (Type:string)
POST
Description: Create new items
Endpoint: POST /v4/b2b-center/purchase/suppliers
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
PUT
Description: Update items by ids
PUT /v4/b2b-center/purchase/suppliers/{Page}-{RefPage}-{Contact}-{Type}: for put exacly itemPUT /v4/b2b-center/purchase/suppliers: for put multiple items
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
DELETE
Description: Delete items by ids
Endpoint(s):
DELETE /v4/b2b-center/purchase/suppliers/{Page}-{RefPage}-{Contact}-{Type}: for delete exacly itemDELETE /v4/b2b-center/purchase/suppliers?id0=123&id1=456&...: for delete multiple items with id0 id1,...
RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) B2bCenter Purchase QueueItems
Primary Key: Id
IdSchema
Container
string
Container
ContainerFindOrder
numeric
Container Find Order
ContainerShelf
string
Container Shelf
ContainerShelfName
string
Container Shelf Name
DateOfPush
string
Date Of Push
Goods
string
Goods
Id
numeric
Id
InCase
string
In Case
Inventory
double
Inventory
Name
string
Name
Pictures
serialize
Pictures
Queue
string
Queue
RequestOrderQuantity
double
Request Order Quantity
Sku
string
Sku
State
string
State
Thumbnail
serialize
Thumbnail
Unit
string
Unit
UnitLabel
string
Unit Label
Categories
serialize
Categories
GET
Description: Get item or list paging by offset and limit parameters
Endpoint(s):
GET /v4/b2b-center/purchase/queue/items/{Id}: for get exacly itemGET /v4/b2b-center/purchase/queue/items: for get multiple items
Parameters:
token: authentication token (Type:string)offset: get items from offset (Type:int)limit: get number of items (Type:int)id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type:string)filter_<Field>: filter items by like value (Type:string)left_<Field>: filter items by like left of value (Type:string)right_<Field>: filter items by like right of value (Type:string)eq_<Field>: filter items by equal value (Type:string)ne_<Field>: filter items by not equal value (Type:string)lt_<Field>: filter items by less than value (Type:string)le_<Field>: filter items by less than or equal value (Type:string)gt_<Field>: filter items by greater then value (Type:string)ge_<Field>: filter items by greater than or equal value (Type:string)
POST
Description: Create new items
Endpoint: POST /v4/b2b-center/purchase/queue/items
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
PUT
Description: Update items by ids
PUT /v4/b2b-center/purchase/queue/items/{Id}: for put exacly itemPUT /v4/b2b-center/purchase/queue/items: for put multiple items
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
DELETE
Description: Delete items by ids
Endpoint(s):
DELETE /v4/b2b-center/purchase/queue/items/{Id}: for delete exacly itemDELETE /v4/b2b-center/purchase/queue/items?id0=123&id1=456&...: for delete multiple items with id0 id1,...
RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) B2bCenter Pages
Primary Key: Code
CodeSchema
AccMasterBook
string
Acc Master Book
Banner
serialize
Banner
Code
string
Code
CoreConnection
string
Core Connection
Created
datetime
Created
Description
string
Description
EndOfTheMonth
numeric
End Of The Month
EndOfTheQuarter
numeric
End Of The Quarter
EndOfTheYear
string
End Of The Year
EventUrl
string
Event Url
Id
numeric
Id
Logo
serialize
Logo
Name
string
Name
Permission
string
Permission
PlatformApiAccessToken
string
Platform Api Access Token
PlatformApiToken
string
Platform Api Token
PlatformApiUrl
string
Platform Api Url
PriceTable
string
Price Table
State
string
State
Summary
string
Summary
TagName
string
Tag Name
Type
string
Type
Weekend
numeric
Weekend
IsSubscribed
boolean
Is Subscribed
GET
Description: Get item or list paging by offset and limit parameters
Endpoint(s):
GET /v4/b2b-center/pages/{Code}: for get exacly itemGET /v4/b2b-center/pages: for get multiple items
Parameters:
token: authentication token (Type:string)offset: get items from offset (Type:int)limit: get number of items (Type:int)id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type:string)filter_<Field>: filter items by like value (Type:string)left_<Field>: filter items by like left of value (Type:string)right_<Field>: filter items by like right of value (Type:string)eq_<Field>: filter items by equal value (Type:string)ne_<Field>: filter items by not equal value (Type:string)lt_<Field>: filter items by less than value (Type:string)le_<Field>: filter items by less than or equal value (Type:string)gt_<Field>: filter items by greater then value (Type:string)ge_<Field>: filter items by greater than or equal value (Type:string)
POST
Description: Create new items
Endpoint: POST /v4/b2b-center/pages
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
PUT
Description: Update items by ids
PUT /v4/b2b-center/pages/{Code}: for put exacly itemPUT /v4/b2b-center/pages: for put multiple items
Payload:
Content-Type:
application/jsonData: JSON Array of objects defined in Schema
DELETE
Description: Delete items by ids
Endpoint(s):
DELETE /v4/b2b-center/pages/{Code}: for delete exacly itemDELETE /v4/b2b-center/pages?id0=123&id1=456&...: for delete multiple items with id0 id1,...