Retail API (retail:v2beta)

2023-06-13

1 new method

Additions

    Methods
  • retail.projects.locations.catalogs.branches.products.purge

      Description: Permanently deletes all selected Products under a branch. This process is asynchronous. If the request is valid, the removal will be enqueued and processed offline. Depending on the number of Products, this operation could take hours to complete. Before the operation completes, some Products may still be returned by ProductService.GetProduct or ProductService.ListProducts. Depending on the number of Products, this operation could take hours to complete. To get a sample of Products that would be deleted, set PurgeProductsRequest.force to false.

      HTTP Method: POST

      Parameter Order: parent

      Flat Path: v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products:purge

      Parameters:

        parent

          Type: string

          Location: path

          Pattern: ^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+$

          Description: Required. The resource name of the branch under which the products are created. The format is `projects/${projectId}/locations/global/catalogs/${catalogId}/branches/${branchId}`

          Required: Yes

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Path: v2beta/{+parent}/products:purge