The Stock Reposting Settings object
Attributes
Unique identifier for the object.
ISO 8601 timestamp of when the object was created.
ISO 8601 timestamp of when the object was last updated.
Default: false
Default: true
Default: false
Default: 4
Default: false
{
"id": "stock-reposting-settings_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"start_time": "start_time_example",
"end_time": "end_time_example",
"limits_dont_apply_on": "limits_dont_apply_on_example",
"limit_reposting_timeslot": false,
"item_based_reposting": true,
"notify_reposting_error_to_role": "notify_reposting_error_to_role_example",
"enable_parallel_reposting": false,
"no_of_parallel_reposting": 4,
"enable_separate_reposting_for_gl": false
} /api/stock/stock-reposting-settings Retrieve stock reposting settings
Retrieves the current stock reposting settings. This is a singleton resource.
Returns
Returns the stock reposting settings object.
curl https://api.overplane.dev/api/stock/stock-reposting-settings \
-H "Authorization: Bearer sk_test_..." {
"id": "stock-reposting-settings_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"start_time": "start_time_example",
"end_time": "end_time_example",
"limits_dont_apply_on": "limits_dont_apply_on_example",
"limit_reposting_timeslot": false,
"item_based_reposting": true,
"notify_reposting_error_to_role": "notify_reposting_error_to_role_example",
"enable_parallel_reposting": false,
"no_of_parallel_reposting": 4,
"enable_separate_reposting_for_gl": false
} /api/stock/stock-reposting-settings/{id} Update a stock reposting settings
Updates the specified stock reposting settings by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Path parameters
The identifier of the stock reposting settings to update.
Body parameters
Default: false
Default: true
Default: false
Default: 4
Default: false
Returns
Returns the updated stock reposting settings object.
curl https://api.overplane.dev/api/stock/stock-reposting-settings/stock-reposting-settings_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X PATCH \
-H "Content-Type: application/json" \
-d '{"start_time":"start_time_example","end_time":"end_time_example"}' {
"id": "stock-reposting-settings_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"start_time": "start_time_example",
"end_time": "end_time_example",
"limits_dont_apply_on": "limits_dont_apply_on_example",
"limit_reposting_timeslot": false,
"item_based_reposting": true,
"notify_reposting_error_to_role": "notify_reposting_error_to_role_example",
"enable_parallel_reposting": false,
"no_of_parallel_reposting": 4,
"enable_separate_reposting_for_gl": false
}