> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# productCustomsUpdateJob

> Fetch a job started by `productCustomsUpdate`. Null when no job of this store has the id.

**Required scopes:** [`products_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-products_read)

## Arguments

**id** `ID!` *required*

The `jobId` `productCustomsUpdate` returned.

## Returns

**productCustomsUpdateJob** `[ProductCustomsUpdateJob](/docs/api-reference/v3/reference/catalog/product-customs-update-job)`

The background job `productCustomsUpdate` starts to save the ready rows.

**fields**

**errorCount** `Int`

Rows that failed to save. Null until COMPLETED.

**failureMessage** `String`

Why the job stopped. Null unless it FAILED.

**id** `ID!` *required*

The id of the job.

**notFoundCount** `Int`

Rows that matched no variant. Null until COMPLETED.

**results** `[\[ProductCustomsUpdateRowResult!\]!](/docs/api-reference/v3/reference/catalog/product-customs-update-row-result)` *required*

What became of each row. Empty until COMPLETED.

**fields**

**identifier** `String!` *required*

The row's `sourceId` or `sku`.

**message** `String`

Why the row was not saved, or a note on how it was.

**outcome** `[ProductCustomsUpdateRowOutcome!](/docs/api-reference/v3/reference/catalog/product-customs-update-row-outcome)` *required*

What became of the row.

**rowNumber** `Int!` *required*

The row's 1-based position among the rows saved.

**skippedCount** `Int`

Rows with no customs data. Null until COMPLETED.

**state** `[ProductCustomsUpdateJobState!](/docs/api-reference/v3/reference/catalog/product-customs-update-job-state)` *required*

Where the job is.

**totalCount** `Int`

Rows the job saved or tried to. Null until COMPLETED.

**updatedCount** `Int`

Rows saved. Null until COMPLETED.

## Example

```graphql theme={null}
query {
  productCustomsUpdateJob(id: "...") {
    errorCount
    failureMessage
    id
    notFoundCount
    skippedCount
    state
    totalCount
    updatedCount
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.