Composable Commerce PHP SDKPHP SDK
  • Namespace
  • Class
  • Tree

Namespaces

  • Commercetools
    • Commons
      • Helper
    • Core
      • Builder
        • Request
        • Update
      • Cache
      • Client
        • Adapter
        • OAuth
      • Error
      • Helper
        • Annotate
        • State
          • Renderer
        • Subscriber
          • Log
      • Model
        • ApiClient
        • Cart
        • CartDiscount
        • Category
        • Channel
        • Common
        • Customer
        • CustomerGroup
        • CustomField
        • CustomObject
        • DiscountCode
        • Extension
        • Inventory
        • Message
        • Order
        • OrderEdit
        • Payment
        • Product
          • Search
        • ProductDiscount
        • ProductSelection
        • ProductType
        • Project
        • Review
        • ShippingMethod
        • ShoppingList
        • State
        • Store
        • Subscription
        • TaxCategory
        • Type
        • Zone
      • Request
        • ApiClients
        • CartDiscounts
          • Command
        • Carts
          • Command
        • Categories
          • Command
        • Channels
          • Command
        • CustomerGroups
          • Command
        • Customers
          • Command
        • CustomField
          • Command
        • CustomObjects
        • DiscountCodes
          • Command
        • Extensions
          • Command
        • GraphQL
        • InStores
        • Inventory
          • Command
        • Me
          • Command
        • Messages
        • OrderEdits
          • Command
          • StagedOrder
            • Command
        • Orders
          • Command
        • Payments
          • Command
        • ProductDiscounts
          • Command
        • Products
          • Command
        • ProductSelections
          • Command
        • ProductTypes
          • Command
        • Project
          • Command
        • Query
        • Reviews
          • Command
        • ShippingMethods
          • Command
        • ShoppingLists
          • Command
        • States
          • Command
        • Stores
          • Command
        • Subscriptions
          • Command
        • TaxCategories
          • Command
        • Types
          • Command
        • Zones
          • Command
      • Response

Classes

  • AccessDeniedError
  • ApiError
  • ConcurrentModificationError
  • DiscountCodeNonApplicableError
  • DuplicateAttributeValueError
  • DuplicateAttributeValuesError
  • DuplicateFieldError
  • DuplicateFieldWithConflictingResourceError
  • DuplicatePriceScopeError
  • DuplicateVariantValuesError
  • EnumValueIsUsedError
  • ErrorContainer
  • InsufficientScopeError
  • InvalidCredentialsError
  • InvalidCurrentPasswordError
  • InvalidFieldError
  • InvalidItemShippingDetailsError
  • InvalidOperationError
  • InvalidSubjectError
  • InvalidTokenError
  • LanguageUsedInStoresError
  • MatchingPriceNotFoundError
  • Message
  • MissingRoleOnChannelError
  • MissingTaxRateForCountryError
  • NoMatchingProductDiscountFoundError
  • OutOfStockError
  • PriceChangedError
  • ProjectNotConfiguredForLanguagesError
  • QueryTimedOutError
  • RequiredFieldError
  • ResourceNotFoundError
  • ShippingMethodDoesNotMatchCartError

Exceptions

  • ApiException
  • ApiServiceException
  • BadGatewayException
  • BadRequestException
  • ClientErrorException
  • ConcurrentModificationException
  • DeprecatedException
  • ErrorResponseException
  • ForbiddenException
  • GatewayTimeoutException
  • InternalServerErrorException
  • InvalidArgumentException
  • InvalidClientCredentialsException
  • InvalidTokenException
  • NotFoundException
  • ServerErrorException
  • ServiceUnavailableException
  • UnauthorizedException
  • UpdateActionLimitException

Class BadRequestException

Base exception for all responses with status code 400

Exception implements Throwable
Extended by Commercetools\Core\Error\ApiException
Extended by Commercetools\Core\Error\ApiServiceException
Extended by Commercetools\Core\Error\ClientErrorException
Extended by Commercetools\Core\Error\BadRequestException

Direct known subclasses

Commercetools\Core\Error\ErrorResponseException

Namespace: Commercetools\Core\Error
Located at Core/Error/BadRequestException.php

Methods summary

Methods inherited from Commercetools\Core\Error\ClientErrorException

getErrorContainer()

Methods inherited from Commercetools\Core\Error\ApiException

__construct(), create(), getErrors(), getRequest(), getResponse(), getResponseMessage(), getResponseStatusCode()

Methods inherited from Exception

__toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()

PHP SDK API documentation generated by ApiGen