@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Pricing Hub (DEPRECATED)
@base https://prchub.vtexcommercestable.com.br
@version 1.0
@auth ApiKey X-VTEX-API-AppKey in header | ApiKey X-VTEX-API-AppToken in header | ApiKey VtexIdclientAutCookie in header
@endpoints 2
@toc api(2)

@endpoint POST /api/pricing-hub/prices
@required {an: str, Accept: str=application/json, Content-Type: str=application/json, items: [map{index!: int, skuId!: str, quantity!: int, brandId!: str, sellerId!: str, priceTableIds!: [str], categoriesIds!: [str]}], salesChannel: str, email: str}
@optional {UtmSource: str, UtmMedium: str, UtmCampaign: str, UtmInternalCampaign: str}
@returns(200) {items: [map]}

@endpoint PUT /api/pricing-hub/prices/config
@required {Accept: str=application/json, Content-Type: str=application/json, appName: str}
@optional {an: str, active: bool}
@returns(200)

@end
