Check publication status
When importing a catalog, it is important to ensure that the process is completed successfully. To do this, make a GET request to the endpoint /proximity/integration/v1/catalog/{publication_id} with the following values:
publication_id
: This information is obtained from the response of the catalog import endpoint.access_token
: This information should be included in the header. It corresponds to the user who received the publication. The access_token can be generated through the OAuth authentication process. Refer to the OAuth documentation for more information.
This endpoint can return the following states in the response:
State | Description |
processing | The catalog is being processed. |
error | The publication process was canceled due to an unrecoverable error. |
success | The catalog has been published. |