Endpoints
Post items for ingestion
This endpoint takes a JSON body and updates your inventory for the store. We post the JSON body containing the inventory items and the store gets updated with the items.
POST
/
inventory
/
ingestion
/
All items will be validated using our validation rules. Only items that pass all rules will be inserted.
Body
store_id
string
requiredResponse
id
number
The id of the job which ingests the JSON file.
store_id
string
The store id for which the JSON file has been uploaded.
original_file_path
string
The S3 url where the JSON file has been uploaded.
status
string
The status of the job.
- importing: The job's CSV is filed is being imported (only applies to CSV ingestion)
- pending: The job is in the queue and will start being processed soon
- processing: The job is being processed
- validation_failed: The job finished but at least one item failed validation
- success: The job finished and all items were successfully created, updated or removed
- error: An unexpected error occurred when processing the job. Please contact us
created_by
string
The user by which the job was created.
updated_by
string
The user by which the job was updated.
updated_at
datetime
The timestamp at which the job is updated.
created_at
datetime
The timestamp at which job was created.
validate_file_path
string
The updated JSON file, after applying validations.
oneschema_embed_id
number
Not applicable