Rest

Provides RESTful controllers and endpoints for BigCommerce integration.

  • Full name: \BigCommerce\Container\Rest
  • Parent class: Provider

Constants

ConstantVisibilityTypeValue
NAMESPACE_BASEpublicstring’rest.namespace’
VERSIONpublicstring’rest.version’
CART_BASEpublicstring’rest.cart_base’
CARTpublicstring’rest.cart’
PRODUCTS_BASEpublicstring’rest.products_base’
PRODUCTSpublicstring’rest.products’
STOREFRONT_BASEpublicstring’rest.storefront_base’
STOREFRONTpublicstring’rest.storefront’
TERMS_BASEpublicstring’rest.terms_base’
TERMSpublicstring’rest.terms’
SHORTCODE_BASEpublicstring’rest.shortcode_base’
SHORTCODEpublicstring’rest.shortcode’
ORDERS_SHORTCODE_BASEpublicstring’rest.orders_shortcode_base’
ORDERS_SHORTCODEpublicstring’rest.orders_shortcode’
COMPONENT_SHORTCODE_BASEpublicstring’rest.product_component_shortcode_base’
COMPONENT_SHORTCODEpublicstring’rest.product_component_shortcode’
REVIEW_LIST_BASEpublicstring’rest.review_list_base’
REVIEW_LISTpublicstring’rest.review_list’
PRICING_BASEpublicstring’rest.pricing_base’
PRICINGpublicstring’rest.pricing’
SHIPPING_BASEpublicstring’rest.shipping_base’
SHIPPINGpublicstring’rest.shipping’
COUPON_CODE_BASEpublicstring’rest.coupon_code_base’
COUPON_CODEpublicstring’rest.coupon_code’

Methods

register

Registers services and controllers in the container and sets up REST API hooks.

public register(\Pimple\Container $container): void

Parameters:

ParameterTypeDescription
$container\Pimple\ContainerThe dependency injection container instance.


Automatically generated on 2025-01-21