Rest
Provides RESTful controllers and endpoints for BigCommerce integration.
- Full name:
\BigCommerce\Container\Rest
- Parent class:
Provider
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
NAMESPACE_BASE | public | string | ’rest.namespace’ |
VERSION | public | string | ’rest.version’ |
CART_BASE | public | string | ’rest.cart_base’ |
CART | public | string | ’rest.cart’ |
PRODUCTS_BASE | public | string | ’rest.products_base’ |
PRODUCTS | public | string | ’rest.products’ |
STOREFRONT_BASE | public | string | ’rest.storefront_base’ |
STOREFRONT | public | string | ’rest.storefront’ |
TERMS_BASE | public | string | ’rest.terms_base’ |
TERMS | public | string | ’rest.terms’ |
SHORTCODE_BASE | public | string | ’rest.shortcode_base’ |
SHORTCODE | public | string | ’rest.shortcode’ |
ORDERS_SHORTCODE_BASE | public | string | ’rest.orders_shortcode_base’ |
ORDERS_SHORTCODE | public | string | ’rest.orders_shortcode’ |
COMPONENT_SHORTCODE_BASE | public | string | ’rest.product_component_shortcode_base’ |
COMPONENT_SHORTCODE | public | string | ’rest.product_component_shortcode’ |
REVIEW_LIST_BASE | public | string | ’rest.review_list_base’ |
REVIEW_LIST | public | string | ’rest.review_list’ |
PRICING_BASE | public | string | ’rest.pricing_base’ |
PRICING | public | string | ’rest.pricing’ |
SHIPPING_BASE | public | string | ’rest.shipping_base’ |
SHIPPING | public | string | ’rest.shipping’ |
COUPON_CODE_BASE | public | string | ’rest.coupon_code_base’ |
COUPON_CODE | public | string | ’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:
Parameter | Type | Description |
---|---|---|
$container | \Pimple\Container | The dependency injection container instance. |
Automatically generated on 2025-01-21