Retail API (retail:v2)

2023-06-13

1 new method

Additions

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

      Parameters:

        parent

          Required: Yes

          Location: path

          Type: string

          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}`

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

      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.

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

      HTTP Method: POST

      Parameter Order: parent

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

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