3pl/partnerapi/onpoint/const.go

25 lines
570 B
Go
Raw Normal View History

2022-09-16 10:43:13 +00:00
package onpoint
const (
baseURLStaging = "https://dev-api.onpoint.vn"
apiPathCreateOrder = "/v1/orders"
apiPathUpdateDelivery = "/v1/orders/delivery/update"
apiPathCancelOrder = "/v1/orders/cancel"
apiPathGetChannels = "/v1/channels"
headerXAPIKey = "x-api-key"
headerXTimestamp = "x-timestamp"
headerXSignature = "x-signature"
2022-09-19 07:34:55 +00:00
webhookEventUpdateOrderStatus = "update_order_status"
webhookEventUpdateInventory = "update_inventory"
2022-09-16 10:43:13 +00:00
)
var (
baseURLENVMapping = map[ENV]string{
// EnvProd: baseURLProd,
EnvStaging: baseURLStaging,
}
)