---
# System prepended metadata

title: Issue 3146

---

# Issue 3146

## payload produtos

curl 'http://localhost:8090/api/v8/product/price-lists/84074e6a-6339-4432-8eb8-831f55f7677b' \
  -X 'PUT' \
  -H 'Accept: application/json, text/plain, */*' \
  -H 'Accept-Language: pt-BR' \
  -H 'Cache-Control: no-cache,no-store,must-revalidate,max-age=-1,private' \
  -H 'Connection: keep-alive' \
  -H 'Content-Type: application/json; charset=UTF-8' \
  -H 'Cookie: language=pt-BR; JSESSIONID=3411503d-743b-445c-8dc9-e08d7ff06ad5' \
  -H 'Expires: -1' \
  -H 'Origin: http://localhost:8090' \
  -H 'Pragma: no-cache' \
  -H 'Referer: http://localhost:8090/product/price-lists/84074e6a-6339-4432-8eb8-831f55f7677b' \
  -H 'Sec-Fetch-Dest: empty' \
  -H 'Sec-Fetch-Mode: cors' \
  -H 'Sec-Fetch-Site: same-origin' \
  -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36' \
  -H 'sec-ch-ua: "Chromium";v="112", "Google Chrome";v="112", "Not:A-Brand";v="99"' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'sec-ch-ua-platform: "Linux"' \
  --data-raw '{"id":"84074e6a-6339-4432-8eb8-831f55f7677b","description":"Tabela de preço padrão","active":true,"startOn":null,"endOn":null,"currencyId":"5ebcc87b-af5d-42ad-85ad-df620844055f","currencyAcronym":"BRL","currencyDescription":"Real Brasileiro","currencySymbol":"R$","paymentTerms":[{"createdAt":"2023-08-30T12:02:51.947Z","updatedAt":"2023-08-30T12:02:51.947Z","paymentTermId":"e2c27e50-a075-4c86-a8a3-2d0ad6483142","paymentTermDescription":"condição de pagamento"}],"paymentMethods":[{"createdAt":"2023-08-30T12:02:51.939Z","updatedAt":"2023-08-30T12:02:51.939Z","paymentMethodId":"0b0ebe9e-7ffb-46b2-bf45-66367284b69f","paymentMethodDescription":"barras de ouro que valem mais do que dinheiro"}],"customerPermissions":[],"companyPermissions":[],"userPermissions":[],"items":[{"id":"0954d71b-72ab-4896-a747-fe4139e9508d","product":{"id":"622c0fec-99a1-402b-ba8c-3172e2c4e705"},"salesPrice":4280.1506707136,"costPrice":1,"pricesRange":[]},{"id":"24140590-47be-4266-bb1f-8fe4dea9ba2f","product":{"id":"4f8af40e-d350-43e4-be4f-13822ef4f52e"},"salesPrice":51,"costPrice":50,"pricesRange":[]},{"id":"e713fafb-8360-44d0-9635-fcc00afa5bc7","product":{"id":"18560423-f766-46c4-855a-83c49610f331"},"salesPrice":1,"costPrice":1,"pricesRange":[]},{"id":"70ffddf4-b2ea-4f64-9591-334d278552dd","product":{"id":"ed04843f-75fb-4c55-b0ad-d96057f7b5b0"},"salesPrice":1,"costPrice":1,"pricesRange":[]},{"id":"0dae95b4-e7a8-4bb5-af29-04964fdfb1ba","product":{"id":"75dc1aa4-536c-4a1b-a1f2-5d09a798bfcd"},"salesPrice":1,"costPrice":1,"pricesRange":[]},{"id":"f0aa2894-e468-4e7a-87a1-36fc32ea2a46","product":{"id":"099b7b92-db9f-491c-b5dd-85054ac40acc"},"salesPrice":20,"costPrice":20,"pricesRange":[]},{"id":"3b86b8b6-b4ee-4bf6-a43b-a0a558e2d531","product":{"id":"7f7a66c7-67f2-4966-a5d2-36183ebcbd87"},"salesPrice":1,"costPrice":1,"pricesRange":[]},{"id":"319af949-0ea7-486f-a39d-bbda499368f0","product":{"id":"e61c1d7d-c4bb-4b5d-9c97-47dfefa50410"},"salesPrice":1,"costPrice":1,"pricesRange":[]},{"id":"dad5c1f3-af2a-477f-bb44-495931b665e8","product":{"id":"9a29f00a-3512-4665-a3a5-2fd2f73e5f50"},"salesPrice":1,"costPrice":1,"pricesRange":[]},{"id":"ff89800f-8951-4cdd-8e66-6f5330496047","product":{"id":"a8993bc1-b2c1-4c6f-80db-e864b97be792"},"salesPrice":1,"costPrice":1,"pricesRange":[]},{"id":"e7d3281d-3303-45a2-afca-2b3636266ad6","product":{"id":"e4d7be7e-a261-459a-88ae-742f33309d08"},"salesPrice":1,"costPrice":1,"pricesRange":[]},{"id":"638ae599-0133-4f99-bbaf-38f7eaac70fa","product":{"id":"08f2003a-7028-47eb-b01d-17d417b7c0b2"},"salesPrice":1,"costPrice":1,"pricesRange":[]},{"id":"d50337df-60d5-4354-9d9d-0f87febfc71d","product":{"id":"23646ff6-0faf-4d0a-9bd7-bb6cd7b6cf2b"},"salesPrice":1,"costPrice":1,"pricesRange":[]},{"id":"01bc9e89-3905-4eab-b840-fdaf9d3641bd","product":{"id":"b1224bd5-b0dd-4042-887d-0b6781fa6453"},"salesPrice":1,"minimumPrice":0,"costPrice":1,"pricesRange":[{"minimumQuantity":1,"maximumQuantity":2,"quantityPrice":1}]}],"services":[{"id":"b854cdac-1a1c-4244-9ef8-f63ca5e64c46","service":{"id":"f15994ee-eb44-4789-9a59-c6a5a983dc0c","description":"Service 5031671105449"},"salesPrice":3794.123456,"minimumPrice":1,"maximumPrice":12111212121,"costPrice":1,"prices":[]},{"id":"347b5972-3c08-48b4-94a3-d480f020a258","service":{"id":"02acfa26-d245-4713-8185-a6262101f39e","description":"teste de serviço"},"salesPrice":1,"minimumPrice":1,"maximumPrice":1,"costPrice":1,"prices":[]}],"enableMinimumSalesPriceValidation":false,"enableMaximumSalesPriceValidation":false}' \
  --compressed
  
  ## payload servicos
  
  curl 'http://localhost:8090/api/v8/product/price-lists/84074e6a-6339-4432-8eb8-831f55f7677b' \
  -X 'PUT' \
  -H 'Accept: application/json, text/plain, */*' \
  -H 'Accept-Language: pt-BR' \
  -H 'Cache-Control: no-cache,no-store,must-revalidate,max-age=-1,private' \
  -H 'Connection: keep-alive' \
  -H 'Content-Type: application/json; charset=UTF-8' \
  -H 'Cookie: language=pt-BR; JSESSIONID=3411503d-743b-445c-8dc9-e08d7ff06ad5' \
  -H 'Expires: -1' \
  -H 'Origin: http://localhost:8090' \
  -H 'Pragma: no-cache' \
  -H 'Referer: http://localhost:8090/product/price-lists/84074e6a-6339-4432-8eb8-831f55f7677b' \
  -H 'Sec-Fetch-Dest: empty' \
  -H 'Sec-Fetch-Mode: cors' \
  -H 'Sec-Fetch-Site: same-origin' \
  -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36' \
  -H 'sec-ch-ua: "Chromium";v="112", "Google Chrome";v="112", "Not:A-Brand";v="99"' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'sec-ch-ua-platform: "Linux"' \
  --data-raw '{"id":"84074e6a-6339-4432-8eb8-831f55f7677b","description":"Tabela de preço padrão","active":true,"startOn":null,"endOn":null,"currencyId":"5ebcc87b-af5d-42ad-85ad-df620844055f","currencyAcronym":"BRL","currencyDescription":"Real Brasileiro","currencySymbol":"R$","paymentTerms":[{"createdAt":"2023-08-30T12:08:53.665Z","updatedAt":"2023-08-30T12:08:53.665Z","paymentTermId":"e2c27e50-a075-4c86-a8a3-2d0ad6483142","paymentTermDescription":"condição de pagamento"}],"paymentMethods":[{"createdAt":"2023-08-30T12:08:53.656Z","updatedAt":"2023-08-30T12:08:53.656Z","paymentMethodId":"0b0ebe9e-7ffb-46b2-bf45-66367284b69f","paymentMethodDescription":"barras de ouro que valem mais do que dinheiro"}],"customerPermissions":[],"companyPermissions":[],"userPermissions":[],"items":[{"id":"0954d71b-72ab-4896-a747-fe4139e9508d","product":{"id":"622c0fec-99a1-402b-ba8c-3172e2c4e705"},"salesPrice":4280.150671,"costPrice":1,"pricesRange":[]},{"id":"24140590-47be-4266-bb1f-8fe4dea9ba2f","product":{"id":"4f8af40e-d350-43e4-be4f-13822ef4f52e"},"salesPrice":51,"costPrice":50,"pricesRange":[]},{"id":"e713fafb-8360-44d0-9635-fcc00afa5bc7","product":{"id":"18560423-f766-46c4-855a-83c49610f331"},"salesPrice":1,"costPrice":1,"pricesRange":[]},{"id":"70ffddf4-b2ea-4f64-9591-334d278552dd","product":{"id":"ed04843f-75fb-4c55-b0ad-d96057f7b5b0"},"salesPrice":1,"costPrice":1,"pricesRange":[]},{"id":"0dae95b4-e7a8-4bb5-af29-04964fdfb1ba","product":{"id":"75dc1aa4-536c-4a1b-a1f2-5d09a798bfcd"},"salesPrice":1,"costPrice":1,"pricesRange":[]},{"id":"f0aa2894-e468-4e7a-87a1-36fc32ea2a46","product":{"id":"099b7b92-db9f-491c-b5dd-85054ac40acc"},"salesPrice":20,"costPrice":20,"pricesRange":[]},{"id":"3b86b8b6-b4ee-4bf6-a43b-a0a558e2d531","product":{"id":"7f7a66c7-67f2-4966-a5d2-36183ebcbd87"},"salesPrice":1,"costPrice":1,"pricesRange":[]},{"id":"319af949-0ea7-486f-a39d-bbda499368f0","product":{"id":"e61c1d7d-c4bb-4b5d-9c97-47dfefa50410"},"salesPrice":1,"costPrice":1,"pricesRange":[]},{"id":"dad5c1f3-af2a-477f-bb44-495931b665e8","product":{"id":"9a29f00a-3512-4665-a3a5-2fd2f73e5f50"},"salesPrice":1,"costPrice":1,"pricesRange":[]},{"id":"ff89800f-8951-4cdd-8e66-6f5330496047","product":{"id":"a8993bc1-b2c1-4c6f-80db-e864b97be792"},"salesPrice":1,"costPrice":1,"pricesRange":[]},{"id":"e7d3281d-3303-45a2-afca-2b3636266ad6","product":{"id":"e4d7be7e-a261-459a-88ae-742f33309d08"},"salesPrice":1,"costPrice":1,"pricesRange":[]},{"id":"638ae599-0133-4f99-bbaf-38f7eaac70fa","product":{"id":"08f2003a-7028-47eb-b01d-17d417b7c0b2"},"salesPrice":1,"costPrice":1,"pricesRange":[]},{"id":"d50337df-60d5-4354-9d9d-0f87febfc71d","product":{"id":"23646ff6-0faf-4d0a-9bd7-bb6cd7b6cf2b"},"salesPrice":1,"costPrice":1,"pricesRange":[]},{"id":"01bc9e89-3905-4eab-b840-fdaf9d3641bd","product":{"id":"b1224bd5-b0dd-4042-887d-0b6781fa6453"},"salesPrice":1,"minimumPrice":0,"costPrice":1,"pricesRange":[{"minimumQuantity":1,"maximumQuantity":2,"quantityPrice":1}]}],"services":[{"id":"b854cdac-1a1c-4244-9ef8-f63ca5e64c46","service":{"id":"f15994ee-eb44-4789-9a59-c6a5a983dc0c","description":"Service 5031671105449"},"salesPrice":4280.1506707136,"minimumPrice":1,"maximumPrice":12111212121,"costPrice":1,"prices":[]},{"id":"347b5972-3c08-48b4-94a3-d480f020a258","service":{"id":"02acfa26-d245-4713-8185-a6262101f39e","description":"teste de serviço"},"salesPrice":1,"minimumPrice":1,"maximumPrice":1,"costPrice":1,"prices":[]}],"enableMinimumSalesPriceValidation":false,"enableMaximumSalesPriceValidation":false}' \
  --compressed