{"section":"known-issues","requestedLocale":"en","requestedSlug":"place-order-apis-dont-respect-the-maximum-quantity-of-the-same-sku-in-the-cart-configuration","locale":"en","slug":"place-order-apis-dont-respect-the-maximum-quantity-of-the-same-sku-in-the-cart-configuration","path":"docs/en/known-issues/Checkout/place-order-apis-dont-respect-the-maximum-quantity-of-the-same-sku-in-the-cart-configuration.md","branch":"main","content":"## Summary\n\nWhen the store configures the field “maximum quantity of the same SKU in the cart” and one of the following APIs is used to place the order:\n\n`https://..com.br/api/fulfillment/pub/orders?sc=&affiliateId=`\n`https://..com.br/api/fulfillment/pvt/orders?sc=&affiliateId=`\n\nIf the quantity of one of the items in the order is greater than the one configured in this configuration, Checkout is allowing the orders to be created, not respecting the limit set.\n\n## Simulation\n\nTry to create an order with the quantity above the value configured in the maximum quantity of same SKU per cart configuration using one of the APIs mentioned above.\n\n## Workaround\n\nUse one of the following APIs to place an order:\n\nIn case of Fulfillment Orders (External Marketplaces):\n\n`https://..com.br/api/fulfillment/pvt/orders?sc=&affiliateId=`\n\nIn case of Marketplace Orders (Headless Checkout):\n\n`https://..com.br/api/checkout/pub/orderForm//transaction`"}