GET
/
offers-imports-jobs
/
{jobId}
curl --request GET \
  --url https://api.fabric.inc/v3/offers-imports-jobs/{jobId} \
  --header 'Authorization: Bearer <token>' \
  --header 'x-fabric-tenant-id: <x-fabric-tenant-id>'
{
  "id": "643eda1bd4c15c0008b4fb67",
  "startAt": "2023-04-18T17:57:07.260Z",
  "endAt": "2023-04-18T17:57:54.445Z",
  "fileName": "coupon/5f689caa4216e7000750d1ef/stg02/1681840413797-coupon.csv",
  "errorFileName": "coupon/5f689caa4216e7000750d1ef/stg02/1681840413797-error-coupon.csv",
  "type": "PRICE",
  "details": [
    {
      "timestamp": "2023-04-18T17:57:07.260Z",
      "isSuccess": true,
      "message": "Import coupon codes job started: Tue Apr 18 2023 17:57:47 GMT+0000 (Coordinated Universal Time)"
    }
  ],
  "errors": [
    {
      "message": "Price should always be >= 0.00",
      "count": 8
    }
  ],
  "totalJob": 10,
  "completedJob": 5,
  "totalRowsCount": 100,
  "insertedRowsCount": 60,
  "failedRowsCount": 40,
  "createdAt": "2019-08-20T14:15:22.000Z",
  "updatedAt": "2019-08-20T14:15:22.000Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-fabric-tenant-id
string
required

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.

Required string length: 24
x-fabric-channel-id
string

The sales channel ID.

Example:

"12"

x-client-id
string

A unique identifier obtained from Copilot for the System app in the fabric ecosystem, essential for OpenID Connect authentication flows.

x-fabric-request-id
string

A unique request ID.

Example:

"263e731c-45c8-11ed-b878-0242ac120002"

Path Parameters

jobId
string
required

Import job ID that's created when the import process starts

Example:

"606469bdf4fb7900085f1761"

Response

200
application/json

OK

The details of the import job.