List all product post IDs

get

/swm/rs/v1/spaces/{spaceId}/products

Get the IDs of all product content posts for a space.

The IDs for each product include its space contentId, as well as its catalog productProductId and productSkuId.

The API user must be a member of the space, but not necessarily the creator (owner) of the content.

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

200 Response

product resource found

403 Response

not space member

404 Response

product resource not found
Back to Top

Examples

Sample Request:

       GET swm/rs/v1/spaces/cTthHaOtDAz7u3xS5PLZaGa1/products    

Sample Response:

       {"response":{"code":"200.0","developerMessage":"product resource found" },
        "items":
         [
            {
              "contentId":"2269693",
              "productProductId":"camcorder_1",
              "productSkuId":"camcordersku_1_2"
            },
            {
              "contentId":"2082990",
              "productProductId":"prod10032",
              "productSkuId":"sku10033"
            }
         ]
       }    

Possible Error Codes:

       {
          "code":"403.1","developerMessage":"not space member",
          "code":"404.0","developerMessage":"product resource not found"
       }    
Back to Top