16 lines
359 B
Go
16 lines
359 B
Go
|
package kiotviet
|
||
|
|
||
|
const (
|
||
|
apiPathListBranches = "/branches"
|
||
|
apiPathListProductOnHands = "/productOnHands"
|
||
|
apiPathRegisterWebhook = "/webhooks"
|
||
|
apiPathUnregisterWebhook = "/webhooks/%d" // %s -> webhook id
|
||
|
|
||
|
apiPathAuth = "/connect/token"
|
||
|
)
|
||
|
|
||
|
const (
|
||
|
baseURLProd = "https://public.kiotapi.com"
|
||
|
baseURLTokenProd = "https://id.kiotviet.vn"
|
||
|
)
|