http://manage.agneshome.com/api/v2/shop/customers

Sylius\Component\Core\Model\Customer Resource class

Resource Metadata

Short name: "Customer"

Item operations Attributes
admin_get
[
  "method" => "GET"
  "path" => "/admin/customers/{id}"
  "normalization_context" => [
    "groups" => "admin:customer:read"
  ]
  "input" => null
  "output" => null
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
vendor_get
[
  "method" => "GET"
  "path" => "/shop/account/vendor/customers/{id}"
  "openapi_context" => [
    "summary" => "Retrieves a Customer who bought Vendor's products."
  ]
  "normalization_context" => [
    "groups" => "shop:account:vendor:customer:read"
  ]
  "input" => null
  "output" => null
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
shop_get
[
  "method" => "GET"
  "path" => "/shop/customers/{id}"
  "normalization_context" => [
    "groups" => [
      "shop:customer:read"
    ]
  ]
  "input" => null
  "output" => null
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
shop_password_update
[
  "method" => "PUT"
  "path" => "/shop/customers/{id}/password"
  "messenger" => "input"
  "input" => [
    "class" => "Sylius\Bundle\ApiBundle\Command\Account\ChangeShopUserPassword"
    "name" => "ChangeShopUserPassword"
  ]
  "output" => [
    "class" => null
  ]
  "denormalization_context" => [
    "groups" => "shop:customer:password:update"
  ]
  "openapi_context" => [
    "summary" => "Change password for logged in customer"
  ]
  "status" => 204
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
shop_put
[
  "method" => "PUT"
  "path" => "/shop/customers/{id}"
  "denormalization_context" => [
    "groups" => "shop:customer:update"
  ]
  "normalization_context" => [
    "groups" => "shop:customer:read"
  ]
  "input" => null
  "output" => null
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
Collection operations Attributes
shop_post
[
  "method" => "POST"
  "path" => "/shop/customers"
  "openapi_context" => [
    "summary" => "Registers a new customer"
  ]
  "denormalization_context" => [
    "groups" => "shop:customer:create"
  ]
  "messenger" => "input"
  "input" => [
    "class" => "Sylius\Bundle\ApiBundle\Command\Account\RegisterShopUser"
    "name" => "RegisterShopUser"
  ]
  "output" => [
    "class" => null
  ]
  "status" => 204
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
vendor_get
[
  "method" => "GET"
  "path" => "/shop/account/vendor/customers"
  "openapi_context" => [
    "summary" => "Retrieves the collection of Customers who bought Vendor's products."
  ]
  "normalization_context" => [
    "groups" => "shop:account:vendor:customer:read"
  ]
  "filters" => [
    "bitbag.open_marketplace.component.core.api.filter.search_customer"
    "bitbag.open_marketplace.component.core.api.filter.boolean_customer"
  ]
  "input" => null
  "output" => null
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
Filters
No available filter declared for this resource.
Attributes
validation_groups
"sylius"
input
null
output
null

Data Providers

No calls to collection data provider have been recorded.

No calls to item data provider have been recorded.

No calls to subresource data provider have been recorded.

Data Persisters

No calls to data persister have been recorded.