sale_offer¶
sale_offer.duplicate_customer_category¶
-
exception
lsserver.sale.sale_offer.
DuplicateCustomerCategoryInSaleOffer
(**kwargs) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.sale.sale_offer.SaleOfferError
HTTP code: 400 Bad RequestLocalized Key: sale_offer.duplicate_customer_categoryExample: The customer categories with ids None are already included in the sale offer.-
type
= 'sale_offer.duplicate_customer_category'
-
localizable_message
= <LocalizableMessage key='sale_offer.duplicate_customer_category' ...>
-
sale_offer.duplicate_product¶
-
exception
lsserver.sale.sale_offer.
DuplicateProductInSaleOffer
(**kwargs) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.sale.sale_offer.SaleOfferError
HTTP code: 400 Bad RequestLocalized Key: sale_offer.duplicate_productExample: The products with ids None are already included in the sale offer.-
type
= 'sale_offer.duplicate_product'
-
localizable_message
= <LocalizableMessage key='sale_offer.duplicate_product' ...>
-
sale_offer.gift_card_product_error¶
-
exception
lsserver.sale.sale_offer.
GiftCardProductError
(code) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.sale.sale_offer.SaleOfferError
HTTP code: 400 Bad RequestLocalized Key: sale_offer.gift_card_product_errorExample: Gift Card Product [None] cannot be added to sale offer.-
type
= 'sale_offer.gift_card_product_error'
-
localizable_message
= <LocalizableMessage key='sale_offer.gift_card_product_error' ...>
-
sale_offer.invoice_line_item_attached_error¶
-
exception
lsserver.sale.sale_offer.
InvoiceLineItemAttachedError
Bases:
lscore.errors.server_errors.BadRequest
,lsserver.sale.sale_offer.SaleOfferError
HTTP code: 400 Bad RequestLocalized Key: sale_offer.invoice_line_item_attached_errorExample: Cannot delete sale offer since it is attached to a invoice line-
type
= 'sale_offer.invoice_line_item_attached_error'
-
localizable_message
= <LocalizableMessage key='sale_offer.invoice_line_item_attached_error' ...>
-