POST
/
product-jobs
/
actions
/
filter-export
curl --request POST \
  --url https://api.fabric.inc/v3/product-jobs/actions/filter-export \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "ATTRIBUTE",
  "match": {
    "name": {
      "locale": [
        "en-US"
      ],
      "op": "CONTAINS",
      "value": "size"
    },
    "target": {
      "op": "EQUALS",
      "value": "CATEGORY"
    },
    "isMandatory": {
      "op": "EQUALS",
      "value": true
    }
  }
}'

Authorizations

Authorization
string
header
required

S2S access token (JWT) from fabric Identity service (during login)

Headers

x-fabric-tenant-id
string

A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.

x-fabric-request-id
string

Unique request ID

Body

application/json

Export job request based on the filter conditions applied for attributes, category, collections, items or bundles.

match
object
required

Filter conditions to export attributes

type
enum<string>
required

Type of entity to be exported.

Available options:
ATTRIBUTE

Response

200 - application/json

Job ID for the exported job

jobId
string

24-character system-generated job ID