{"files":{"SKILL.md":"---\nname: pricing-hub-deprecated\ndescription: \"Pricing Hub (DEPRECATED) API skill. Use when working with Pricing Hub (DEPRECATED) for api. Covers 2 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Pricing Hub (DEPRECATED)\nAPI version: 1.0\n\n## Auth\nApiKey X-VTEX-API-AppKey in header | ApiKey X-VTEX-API-AppToken in header | ApiKey VtexIdclientAutCookie in header\n\n## Base URL\nhttps://prchub.vtexcommercestable.com.br\n\n## Setup\n1. Set your API key in the appropriate header\n3. POST /api/pricing-hub/prices -- create first prices\n\n## Endpoints\n\n2 endpoints across 1 groups. See references/api-spec.lap for full details.\n\n### api\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /api/pricing-hub/prices | Retrieve prices |\n| PUT | /api/pricing-hub/prices/config | Configure external price source |\n\n## Common Questions\n\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Create a price?\" -> POST /api/pricing-hub/prices\n- \"How to authenticate?\" -> See Auth section\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints typically return the created/updated object\n\n## CLI\n\n```bash\n# Update this spec to the latest version\nnpx @lap-platform/lapsh get pricing-hub-deprecated -o references/api-spec.lap\n\n# Search for related APIs\nnpx @lap-platform/lapsh search pricing-hub-deprecated\n```\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Pricing Hub (DEPRECATED)\n@base https://prchub.vtexcommercestable.com.br\n@version 1.0\n@auth ApiKey X-VTEX-API-AppKey in header | ApiKey X-VTEX-API-AppToken in header | ApiKey VtexIdclientAutCookie in header\n@endpoints 2\n@toc api(2)\n\n@endpoint POST /api/pricing-hub/prices\n@desc Retrieve prices\n@required {an: str # Name of the VTEX account. Used as part of the URL., Accept: str=application/json # HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand., Content-Type: str=application/json # Describes the type of the content being sent., items: [map{index!: int, skuId!: str, quantity!: int, brandId!: str, sellerId!: str, priceTableIds!: [str], categoriesIds!: [str]}] # List of items to be priced by Pricing Hub., salesChannel: str # Represents Checkout's sales channel., email: str # Customer's email address. If there is no value, use an empty string.}\n@optional {UtmSource: str # Traffic source, which indicates where the traffic originated from according to the `utm_source` value in the URL that led to the order. If there is no value, use `null`., UtmMedium: str # Medium that indicates what type of traffic the customer originated from, represented by the `utm_medium` value in the URL that led to the order. If there is no value, use `null`., UtmCampaign: str # Campaign name, represented by the `utm_campaign` value in the URL that led to the order. If there is no value, use `null`., UtmInternalCampaign: str # Internal campaign name, represented by the `utmi_cp` value in the URL that led to the order. If there is no value, use `null`.}\n@returns(200) {items: [map]} # OK\n@example_request {\"items\":[{\"index\":0,\"skuId\":\"13\",\"quantity\":1,\"brandId\":\"2000000\",\"sellerId\":\"1\",\"priceTableIds\":[],\"categoriesIds\":[\"1\"]}],\"UtmSource\":\"facebook\",\"UtmMedium\":\"social\",\"UtmCampaign\":\"summer\",\"UtmInternalCampaign\":\"sale\",\"salesChannel\":\"1\",\"email\":\"customer@email.com\"}\n\n@endpoint PUT /api/pricing-hub/prices/config\n@desc Configure external price source\n@required {Accept: str=application/json # HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand., Content-Type: str=application/json # Describes the type of the content being sent., appName: str # Name of the app that communicates with the external pricing source.}\n@optional {an: str # Name of the VTEX account., active: bool # Defines if the external price source is active (`true`) or not (`false`). If not set, the default value will be `false`.}\n@returns(200) OK\n@example_request {\"active\":true,\"appName\":\"apiexamples_app_name\"}\n\n@end\n"}}