ops
ops-sellers

Create a seller access

Changed on

Add a new seller access

post/ops/sellers/access

Request

  • Base URL
    https://api.topi-staging.eu
  • URL
    https://api.topi-staging.eu/ops/sellers/access
  • Auth
    OAuth 2
    Authorization code: /oauth2/authorize
    Token URL: /oauth2/token scopes: ops-seller:edit

Request body

seller_catalog_provider_idstring regexp required

The id of the seller whom the accessor can now access

seller_idstring regexp required

The id of the seller who has been granted access

Example request

{
  "seller_catalog_provider_id": "739b63c2-9e58-4964-b38d-4ebb424de242",
  "seller_id": "739b63c2-9e58-4964-b38d-4ebb424de242"
}

Response

Created response.

idstring regexp

topi ID for the customer

seller_catalog_provider_idstring regexp required

The id of the seller whom the accessor can now access

seller_idstring regexp required

The id of the seller who has been granted access

Example response

{
  "id": "739b63c2-9e58-4964-b38d-4ebb424de242",
  "seller_catalog_provider_id": "739b63c2-9e58-4964-b38d-4ebb424de242",
  "seller_id": "739b63c2-9e58-4964-b38d-4ebb424de242"
}

Changes

    • info

      api operation id seller.addSellerAccess removed and replaced with seller#addSellerAccess

    • info

      api operation id seller#addSellerAccess removed and replaced with seller.addSellerAccess

    • info

      api tag ops-sellers added